Image to Text API
AIMAINTAINED25 tokens / call

Image to Text API

Describe any image, answer questions about it or read its text with an on-platform vision model

Describe an image, answer a question about it or read the prominent text in it with a vision-language model running on the platform. Send an image URL or POST the bytes, JPEG, PNG or WebP up to 2.5 MB. No third-party keys and no data leaves the platform.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 25 tokens per call, so the free plan covers about 20 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "ok": true,
  "prompt": "Describe this image in detail.",
  "text": "The image features a small, cute cat figurine with a brown and white color scheme. The cat is standing on its hind legs, giving the impression of a real cat. The figurine is positioned in the center of the image, and its unique design makes it an appealing and charming decoration."
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform — anime, finance, sports, and more.

Use cases for Image to Text API

  • Generate alt text for uploaded images automatically to meet accessibility requirements.

  • Let users ask questions about a photo, such as what is in it or what a sign says.

  • Extract prominent text from screenshots, labels and signs without a separate OCR service.

  • Tag and caption large image libraries for search and moderation.

Image to Text API endpoints

Every endpoint with its parameters and a real example response.

GETDescribe Image

https://api-image-to-text.dataandapis.com/v1/describe

Query parameters

ParameterExample
promptDescribe this image in detail.Optional
urlhttps://dataandapis.com/images/cats.webpOptional

Example request

curl "https://api-image-to-text.dataandapis.com/v1/describe?prompt=Describe%20this%20image%20in%20detail.&url=https%3A%2F%2Fdataandapis.com%2Fimages%2Fcats.webp" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "prompt": "Describe this image in detail.",
  "text": "The image features a small, cute cat figurine with a brown and white color scheme. The cat is standing on its hind legs, giving the impression of a real cat. The figurine is positioned in the center of the image, and its unique design makes it an appealing and charming decoration."
}

POSTDescribe Image (POST)

https://api-image-to-text.dataandapis.com/v1/describe

Request body

{
  "url": "https://dataandapis.com/images/cats.webp",
  "prompt": "What animal is in this picture? Answer in a few words."
}

Example request

curl -X POST "https://api-image-to-text.dataandapis.com/v1/describe" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://dataandapis.com/images/cats.webp", "prompt": "What animal is in this picture? Answer in a few words." }'
Example response
{
  "ok": true,
  "prompt": "What animal is in this picture? Answer in a few words.",
  "text": "Cat"
}

Where the data comes from

Source
Cloudflare Workers AI vision-language model (LLaVA 1.5 7B). No stored dataset.
Freshness
Inference runs live on every call.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
2endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses — auto-completion in your IDE
  • Tracks the API in lockstep — new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-image-to-text.dataandapis.com/v1/describe',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Image to Text API · X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key

Query Parameters

prompt(Optional)
url(Optional)
import axios from 'axios';

const url = 'https://api-image-to-text.dataandapis.com/v1/describe';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time — we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales →

Questions about Image to Text API

Ship Image to Text API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.