概览/Creation API/Creation API

Creation API

统一创建、查询和输出资源。

Creation API

POST /creations 是唯一写入入口。每个请求都有 typeprompt、可选 instructions、可选 inputFileIds 以及类型专属选项。

{  "type": "image",  "prompt": "为气候报告制作清晰的封面图",  "image": { "aspectRatio": "16:9" }}

使用 GET /creationsGET /creations/{creation_id}GET /creations/{creation_id}/outputs。ID 是不可猜测的字符串,不能自行拼接资源 URL。