Skip to main content

Convert Image to Text

POST 

/image-2-text-v1

Process an image and generate descriptive text based on its content.

Request

Body

required

    image_url Image URL (string)required

    URL of the image to be processed

    prompt_type Prompt Type (string)required

    Possible values: [Other, Product, Scene]

    Type of analysis to perform

    custom_prompt Custom Prompt (string)

    Custom instructions for text generation

Responses

Successful Response

Schema

    text Text (string)required

    Generated text description of the image