One API key for image & video generation
GPT Image 2 / 2.5 for images, MiniMax H3 and Seedance for videos with sound. Asynchronous tasks: submit and get a task_id right away, then poll or receive a webhook. Pay as you go with the same credits as the web app.
curl https://api.jiufeng.ai/v1/images/generations \
-H "Authorization: Bearer $JF_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "A minimalist coffee shop poster that says OPEN AT 7",
"size": "2:3",
"resolution": "2K"
}'{ "code": 200,
"data": [{ "status": "submitted", "task_id": "task_01K…" }] }Up and running in three steps
Images and videos share the same asynchronous flow.
Create an API key in the console
Sign in to Jiufeng → Console → API keys. The full key is shown once and starts with sk-.
Submit a generation task
Images go to /v1/images/generations, videos to /v1/videos/generations. You get a task_id immediately.
Poll, or wait for the webhook
Call GET /v1/tasks/{task_id} until completed. Result files are kept for 30 days.
Endpoints
Base URL: https://api.jiufeng.ai
Models
Same prices as the web app. The actual charge of each task is its credits_cost.
GPT Image 2
Posters, infographics, comics; crisp multilingual text. Cheapest per image.
GPT Image 2.5
Photoreal products and portraits; edits from reference photos.
MiniMax H3
5–15 s, 768P / 2K; reference images, video and audio.
Seedance
4–15 s, 480P–1080P; first/last frame and reference modes.
Before going to production
These pages save you the usual surprises.