Media Studio

进入你的生成工作台

管理员会进入管理台,普通用户会进入 Studio。没有账号可以直接注册。

没有账号?

API Reference

完整请求参数速览

图片生成

POST /v1/images/generations
Authorization: Bearer sk-2api-...

{
  "model": "gpt-image-2-high",
  "prompt": "cinematic portrait",
  "n": 1,
  "size": "1536x1024",
  "quality": "high",
  "response_format": "url",
  "wait": true
}

图片参考 / 编辑

POST /v1/images/edits
multipart/form-data:
  model=seedream-5.0-lite
  prompt=keep the pose, change outfit
  image=@reference.png
  size=1024x1536
  n=1

视频生成

POST /v1/videos
{
  "model": "seedance-2.0-nsfw",
  "prompt": "slow dolly shot",
  "size": "1280x720",
  "duration": 8,
  "camerafixed": false,
  "reference_images": []
}

模型与尺寸

公开模型:Seedance 2.0、Seedance 2.0 Fast、Seedance 2.0 NSFW、Seedream 5.0 Lite、GPT Image 2.0 High、Nano Banana Pro。

网页端会把像素尺寸映射到最近比例:1:1、2:3、3:2、3:4、4:3、9:16、16:9、21:9。