$ man image-generate-localize
/image-generate-localize
PRICE / CALL
$0.04
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
composeCATEGORY
uncategorized
STATUS
● live
NAME
image-generate-localize — generate an image and localize its accompanying caption for a social creative or product announcement
SYNOPSIS
POST https://x402.agentutility.ai/image-generate-localize
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Generate an image and localize its accompanying caption for a social creative or product announcement. Composite: one call runs image-generate + translate in parallel. Optional tier, seed, negative_prompt, width, and height support repeat creative passes. Returns an image URL, image settings, caption translation status, and component evidence. Caption text is separate from the image. Image failure returns 424. Translation failure preserves the original caption with language null, status original_fallback, and degraded true. One image and one target language per request.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| prompt | string | Text prompt to generate the image from. Max 2000 chars. | required |
| target_language | string | Target language name or ISO code for the localized caption (e.g. 'French', 'fr'). Max 60 chars. | required |
| caption | string | Optional accompanying caption to translate instead of the prompt. Returned as separate text, not rendered into the image. Max 2000 chars. | optional |
| tier | string | Image style tier. Defaults to fast; the image response reports the tier used. enum: fast · creative · anime · sd35 | optional |
| seed | integer | Optional repeat-pass seed. Matching seeds do not guarantee identical images across providers or model updates. | optional |
| negative_prompt | string | Elements to avoid in the generated image. Passed to image-generate. Max 1000 chars. | optional |
| width | integer | Image width in pixels, multiple of 16. Defaults to the image generator's default. | optional |
| height | integer | Image height in pixels, multiple of 16. Defaults to the image generator's default. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| image_url | string | Generated image URL. |
| image | object | — |
| caption | object | — |
| composed_of | array | — |
| components | array | — |
| degraded | boolean | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/image-generate-localize \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the image-generate-localize tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- composeimagegeneratelocalizeimage-generate-localizeimage generationtranslate
- methods
- POST
- cluster
- compose
- price
- $0.04 USDC per call
ADJACENT — other endpoints in compose
| endpoint | description | price |
|---|---|---|
| agent-input-guard | One guardrail call an agent makes before trusting untrusted inbound text — a scraped webpage, an email, a tool result, or a user message. | $0.04 |
| article-brief | Analyzes a news article from its URL into a summary, named entities, and sentiment in one call. | $0.04 |
| company-verify-pack | Checks that a company exists and its public signals are consistent, in one call: profile, registrar, domain age, and TLS. | $0.04 |
| content-quality-pack | Runs the standard pre-publish content checks on text in one call: AI-detection, PII scan, moderation, and sentiment. | $0.04 |
| contract-trust-pack | Gathers smart-contract due-diligence data in one call: source verification, honeypot simulation, and LP lock check. | $0.04 |
| defi-protocol-dossier | Profiles a DeFi protocol's TVL and yield pools in one call using DeFiLlama data. | $0.04 |
| domain-dossier | Builds a full domain report in one call: WHOIS, DNS, TLS, age, risk, and DMARC. | $0.04 |
| image-caption-localize | Captions an image and translates the caption into any of 100+ languages in one call. | $0.04 |
SEE ALSO