API ManyНовые модели: Qwen 3.8 Max, Claude Haiku 5.5, Claude Opus 5.5, Claude Sonnet 5.5

Baidu · Image · 1024*1024

Ernie Image · Text to Image Turbo API

Call Ernie Image · Text to Image Turbo with the same key and request shape as every other model in the catalog — from $0.041 per job.

Ernie Image · Text to Image Turbo example

WHY IT FITS

Inside the gateway

Baidu ERNIE Image Turbo is a distilled, 8-step version of ERNIE Image for fast, low-cost generation. Route it through one API Many key: post the model id and your parameters, poll the returned job, and download the finished asset. Inputs are checked before dispatch and the quote is reserved up front from $0.041.

One credential

Ernie Image · Text to Image Turbo shares the same key, wallet and limits as the rest of the catalog.

Uniform contract

The request body, polling loop and result download are identical for every model.

Checked inputs

Declared fields are type- and range-checked before the job leaves the gateway.

text to image

Text to Image is exposed for Ernie Image · Text to Image Turbo without a bespoke client.

ernie image

Ernie Image is exposed for Ernie Image · Text to Image Turbo without a bespoke client.

image

Image is exposed for Ernie Image · Text to Image Turbo without a bespoke client.

OUTPUT

Sample outputs

INTEGRATION

Wire it in four steps

  1. Create a key

    Open the dashboard, mint a server-side API key and top up a small balance.

  2. Discover

    Call GET /v1/models to confirm baidu/ernie-image/text-to-image-turbo, its live specification and the exact per-job rate.

  3. Submit

    POST /v1/jobs with the model id, your parameters and a fresh Idempotency-Key.

  4. Collect

    Poll GET /v1/jobs/{id} until it settles, then download GET /v1/jobs/{id}/content.

CALLING

Make your first call

# API Many quickstart — one key covers every model
curl https://apimany.com/v1/jobs \
  -H "Authorization: Bearer $APIMANY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $REQUEST_ID" \
  -d '{"model":"baidu/ernie-image/text-to-image-turbo","prompt":"A ceramic studio still life, soft north window light, muted greens.","size":"1024*1024"}'

Accepted parameters

FieldKindAcceptedNeeded
promptstring—optional
sizestringdefault 1024*1024optional

ONLINE TEST

Send a real job from this page

The request runs against this site's own /v1/jobs using your signed-in balance, or an API key if you are not signed in. A pasted key stays in this browser tab and is never stored; the result is charged at the quoted USD price.

Or sign in to run with your account balance.

GOOD TO KNOW

Integration questions

Can I reach Ernie Image · Text to Image Turbo with my existing API Many key?
Ernie Image · Text to Image Turbo is one route in the shared gateway, so the same key, balance and limits apply. Enable it per route, then confirm the live id and rate with an authenticated GET /v1/models call.
What request shape does Ernie Image · Text to Image Turbo expect?
Send JSON to POST /v1/jobs with the model id and your parameters, plus a unique Idempotency-Key header. The gateway validates the body, reserves the quoted USD amount and returns a job you poll.
How is Ernie Image · Text to Image Turbo billed?
Each job is quoted for your exact parameters before it runs, from $0.041. A confirmed rejection releases the reservation; a settled job is charged at its quote.
Which fields does Ernie Image · Text to Image Turbo accept?
Recognised fields are prompt, size. Anything else is refused with a 400 instead of being forwarded upstream.
Is Ernie Image · Text to Image Turbo live right now?
Availability is set per route. Read the authenticated model list to see whether baidu/ernie-image/text-to-image-turbo is enabled, with its exact specification and rate.

KEEP EXPLORING

Nearby models