Image-to-text Multipart

POST {{ask-filerobot-server}}/images/image-to-text/upload/?prompt=Is the car moving fast?&length=standard

Request Params

KeyDatatypeRequiredDescription
promptstringA textual prompt that guides the generation process
lengthstringControls the length of the generated response.

Available values are:

  • micro
  • short
  • standard
  • extended |

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Filerobot-TokenstringFilerobot project identifier, aka token
Filerobot-KeystringFilerobot API key

RESPONSES

status: OK

{"status":"success","version":"3.0.2","source":"cache-file","sha1":"cc9a4427c90ba5881e5be8d3521724cfcfc9f5b8","image_to_text":"No, the car is not moving fast. It is parked in a grassy field.","file_downloaded":"it_tesla.jpeg","request_uuid":"5145e03f-78f0-4667-a867-72d955c2d4bd"}