zhenzhen-image-nb-2.1 API

Use zhenzhen-image-nb-2.1 for Image generation through one OpenAI-compatible API.

Try online · Get an API key · Read the docs

Capabilities

Model
Image
API model
zhenzhen-image-nb-2.1
Endpoints
openai
Parameters
resolution, aspect ratio, reference image, output format

Current pricing

Pricing varies by request parameters.

Quick start

curl https://api.seedance.nz/v1/chat/completions \
  -H "Authorization: Bearer $SEEDANCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"zhenzhen-image-nb-2.1","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="zhenzhen-image-nb-2.1", 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: 'zhenzhen-image-nb-2.1', 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.