Image-to-text URL
GET {{ask-filerobot-server}}/images/image-to-text/:url?prompt=Describe the image&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 |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
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":"b5d07a2d7648df181c94b2e2c8616ff7a91ca8c0","image_to_text":"The image features a beautiful young woman wearing a brown jacket, posing for a picture. She is standing in front of a wooden fence, which adds a rustic touch to the scene. The woman is looking at the camera, giving a sense of engagement and connection with the viewer. The image captures a moment of self-expression and confidence, as the woman showcases her style and personality.","file_downloaded_in":0.23,"request_uuid":"3c2b7484-66b1-4982-9cb9-dd8dc78a53d1"}