cURL
curl --request POST \ --url https://dream-gateway.livepeer.cloud/image-to-text \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form image='@example-file' \ --form prompt= \ --form model_id=
{ "text": "<string>" }
Transform image files to text.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Uploaded image to transform with the pipeline.
Text prompt(s) to guide transformation.
Hugging Face model ID used for transformation.
Successful Response
Response model for text generation.
The generated text.
Was this page helpful?