z-image API
Use z-image for Image generation through one OpenAI-compatible API.
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 model | Use case | Current pricing |
|---|---|---|
z-image-t2i | Text to image | Pricing varies by request parameters. |
Gallery examples
Golden Hour EmbraceAPI model:
z-image-t2iGolden Hour Embrace — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.
Garden Wedding CoupleAPI model:
z-image-t2iGarden Wedding Couple — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.
Joyful Studio EmbraceAPI model:
z-image-t2iJoyful Studio Embrace — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.
Women Laughing At DuskAPI model:
z-image-t2iWomen Laughing At Dusk — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.
Romantic Wedding PortraitAPI model:
z-image-t2iRomantic Wedding Portrait — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.
Golden Forest EmbraceAPI model:
z-image-t2iGolden Forest Embrace — explore this z-image-t2i creation on OpenZhenZhen, with its original prompt and a reusable generation example.
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.