Seedance 2.0 20% DE DESCONTO | Crie no Video Generator →

Image Captioner

wavespeed-ai /

High-accuracy Image Captioner for generating detailed, human-like descriptions from images. Ideal for content understanding, accessibility, dataset labeling, SEO, and multimodal AI workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

image-to-text
Entrada

Arraste e solte ou clique para enviar

preview
If set to true, the function will wait for the result to be generated and uploaded before returning the response. It allows you to get the result directly in the response. This property is only available through the API.

Ocioso

A man with tousled hair sits calmly in a sunlit room, eyes closed as if lost in thought or music. Large windows reveal a vibrant blue ocean, contrasting with the warm, golden interior. White curtains flutter gently, adding a sense of tranquility to the coastal retreat.

$0.001por execução·~1000 / $1

Próximo:

ExemplosVer todos

Modelos relacionados

README

Image Captioner API

Overview

The WaveSpeedAI Image Captioner converts images into rich, human-like textual descriptions. Designed for applications requiring vision understanding, accessibility, content moderation, dataset labeling, and SEO enhancement.

Compatible with all image formats and deployable in high-throughput production pipelines.

Key Features

  • Generates accurate and natural image descriptions
  • Supports detailed object recognition and scene understanding
  • Ideal for labeling, accessibility (alt-text), and visual search
  • Works in automated workflows and REST API pipelines

Why Use It?

The Image Captioner improves any workflow requiring:

  • Content understanding from images
  • Automatic alt-text generation for accessibility
  • Dataset or training data labeling
  • Multimodal pre-processing for LLMs or agents
Acessibilidade:Este site utiliza modelos de IA fornecidos por terceiros.

Image Captioner API — Quick start

Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/wavespeed-ai/image-captioner with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Image Captioner below.

HTTP example
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/image-captioner" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY" \
  -d '{
    "image": "https://example.com/your-input.jpg",
    "detail_level": "medium",
    "enable_sync_mode": false
}'

# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY"

# When status is "completed", read the output from data.outputs[0].
Node.js example
// npm install wavespeed
const WaveSpeed = require('wavespeed');

const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env

const result = await client.run("wavespeed-ai/image-captioner", {
        "image": "https://example.com/your-input.jpg",
        "detail_level": "medium",
        "enable_sync_mode": false
});

console.log(result.outputs[0]); // → URL of the generated output
Python example
# pip install wavespeed
import wavespeed

output = wavespeed.run(
    "wavespeed-ai/image-captioner",
    {
    "image": "https://example.com/your-input.jpg",
    "detail_level": "medium",
    "enable_sync_mode": false
}
)

print(output["outputs"][0])  # → URL of the generated output

Image Captioner API — Frequently asked questions

What is the Image Captioner API?

Image Captioner is a WaveSpeedAI model for AI inference, exposed as a REST API on WaveSpeedAI. High-accuracy Image Captioner for generating detailed, human-like descriptions from images. Ideal for content understanding, accessibility, dataset labeling, SEO, and multimodal AI workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.

How do I call the Image Captioner API?

POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/wavespeed-ai/image-captioner.

How much does Image Captioner cost per run?

Image Captioner starts at $0.001 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.

What inputs does Image Captioner accept?

Key inputs: `image`, `detail_level`, `enable_sync_mode`, `focus`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/wavespeed-ai/image-captioner.

How long does Image Captioner take to generate?

Average end-to-end generation time on WaveSpeedAI is around 7 seconds per request — measured across recent runs. Queue time scales with global demand; live status is visible in the prediction record.

Can I use Image Captioner outputs commercially?

Commercial usage rights depend on the model's license, set by its provider (WaveSpeedAI). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.