Image-to-text Multipart
POST {{ask-filerobot-server}}/images/image-to-text/upload/?prompt=Is the car moving fast?&length=standard
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
prompt | string | A textual prompt that guides the generation process | |
length | string | Controls the length of the generated response. |
Available values are:
- micro
- short
- standard
- extended |
Request Body
[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Filerobot-Token | string | Filerobot project identifier, aka token | |
Filerobot-Key | string | Filerobot 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"}