HomeDevelopersTool APIs

Caption Generator API

Write scroll-stopping social captions from a short description.

The Caption Generator API lets you write scroll-stopping social captions from a short description. programmatically — a single call, structured output, no prompt engineering. It's part of the Larz Tools API and runs on the same Larz API key you use everywhere else.

Endpoint

POST https://api.larzos.com/v1/tools/caption

Example request

curl https://api.larzos.com/v1/tools/caption \
  -H "Larz-Api-Key: larz_sk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"input":"a photo of a sunset over the ocean"}'

Example response

{
  "id": "larz_run_…",
  "object": "tool_result",
  "tool": "caption",
  "output": "…generated result…",
  "usage": { "tokens": 180 }
}

What you can build

Pricing

Free on the Free tier (200,000 tokens/month, 60 requests/min). Every call returns your remaining quota in the X-Larz-Tokens-Remaining header.

Get an API keyTry Caption Generator free →