z-image API

Use z-image for Image generation through one OpenAI-compatible API.

Try online · Get an API key · Read the docs

Capabilities

Model
Image
API model
z-image-t2i
Endpoints
openai
Parameters
resolution, aspect ratio, reference image, output format

Current pricing

z-image-t2i: Pricing varies by request parameters.

Model variants

API modelUse caseCurrent pricing
z-image-t2iText to imagePricing varies by request parameters.

Gallery examples

  • Golden Hour EmbraceGolden Hour Embrace

    API model: z-image-t2i

    Golden Hour Embrace — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.

  • Garden Wedding CoupleGarden Wedding Couple

    API model: z-image-t2i

    Garden Wedding Couple — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.

  • Joyful Studio EmbraceJoyful Studio Embrace

    API model: z-image-t2i

    Joyful Studio Embrace — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.

  • Women Laughing At DuskWomen Laughing At Dusk

    API model: z-image-t2i

    Women Laughing At Dusk — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.

  • Romantic Wedding PortraitRomantic Wedding Portrait

    API model: z-image-t2i

    Romantic Wedding Portrait — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.

  • Golden Forest EmbraceGolden Forest Embrace

    API model: z-image-t2i

    Golden Forest Embrace — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.

Explore the prompt gallery

Quick start

curl https://api.seedance.nz/v1/chat/completions \
  -H "Authorization: Bearer $SEEDANCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"z-image-t2i","prompt":"A clear description of the scene"}'
from openai import OpenAI
client = OpenAI(base_url="https://api.seedance.nz/v1", api_key="$SEEDANCE_API_KEY")
  result = client.images.generate(model="z-image-t2i", prompt="A clear description of the scene")
const client = new OpenAI({ baseURL: 'https://api.seedance.nz/v1', apiKey: process.env.SEEDANCE_API_KEY });
  const result = await client.images.generate({ model: 'z-image-t2i', prompt: 'A clear description of the scene' });

Frequently asked questions

How do I call this model?

Create an API key, choose the model name below, and send a request to the documented OpenAI-compatible endpoint. Final billing follows the current price and usage parameters.