Overview
Jiufeng Open API — one API key for GPT Image 2, GPT Image 2.5, MiniMax H3 and Seedance video, as asynchronous tasks.
Jiufeng Open API gives you the same models as the Jiufeng web app with a single API key: GPT Image 2 and GPT Image 2.5 for images, MiniMax H3 and Seedance 2.5 / 2.0 / 2.0 Fast for video with sound. Requests are plain JSON over HTTPS, and generation is asynchronous:
- Submit a generation task → get a
task_idimmediately - Poll the task (or receive a webhook) → read the result URL once it completes
This site documents the real contract of the api.jiufeng.ai/v1/* gateway. Endpoints, field names, and status enums here are authoritative. It is not a drop-in replacement for the OpenAI SDK — see Agent / MCP integration.
Models
model | Endpoint | Output | Price |
|---|---|---|---|
gpt-image-2 | /v1/images/generations | 1K–4K images, legible text | from 0.08 credits / image |
gpt-image-2.5-ext (GPT Image 2.5; version: flare / sunburst) | /v1/images/generations | 1K–4K photoreal images, edits | from 0.212 credits / image |
MiniMax-H3 | /v1/videos/generations | 5–15 s video with sound, 768P / 2K | from 0.75 credits / second |
seedance-2.5 · seedance-2.0 · seedance-2.0-fast | /v1/videos/generations | 4–15 s video with sound, 480P–1080P (4K on 2.0) | from 0.491 credits / second |
See Pricing & billing for the full list.
How it works
Get a key: sign in to Jiufeng → Console → API keys and create a key starting with sk- (the full key is shown once). See Authentication.
Submit a task: POST /v1/images/generations or POST /v1/videos/generations with Authorization: Bearer sk-YOUR_KEY; you get a task_id immediately.
Get the result: poll GET /v1/tasks/{task_id} until completed / failed, or pass webhook when submitting and the platform pushes once on the final state.
Download: images are at data.result.images[0].url[0], videos at data.result.videos[0].url[0]; result files are kept for 30 days.
Base URL: https://api.jiufeng.ai
Endpoints
| Method | Path | What it does | Docs |
|---|---|---|---|
POST | /v1/images/generations | Submit an image task (async, returns task_id) | Generate images |
POST | /v1/videos/generations | Submit a video task (async, returns task_id) | Generate videos |
GET | /v1/tasks/{task_id} | Status and result of one task (images and videos) | Query tasks |
POST | /v1/tasks/batch | Query several tasks at once | Query tasks |
GET | /v1/models | List the models your key can use | Errors |
POST | <webhook>/callback | Final-state callback (optional, pushed to your URL) | Webhooks |
Next steps
- Quickstart — your first image and video in about ten minutes
- Pricing & billing — what each call costs
- Errors — what each status code means and what to do