---
title: "image-to-text"
method: POST
path: "/models/v2/Salesforce/blip-image-captioning-base"
---

# image-to-text

`POST /models/v2/Salesforce/blip-image-captioning-base`

Generate textual descriptions from images for tasks like image captioning, content generation, and accessibility features

## Request body

- object
  - `url` string, required
  - `base64` string

## Response `200`

Successful image-to-text response.

- object
  - `error` string, nullable, required — Null on success; otherwise an error message.
  - `output` string, required — Successful response with a generated caption

## Other responses

- `401` — Auth error - check your api key and how you're sending it.
- `429` — Too Many Requests – You have hit the rate limit.

---

[API](https://skmtc.net/bytez/apis/closed-source-model-api.md) · [All operations](https://skmtc.net/bytez/apis/closed-source-model-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bytez/closed-source-model-api/versions/d64c9c733afe/schema)
