v1
latestOpenAPI 3.1.02026-07-2634132204.7 KBImage
图片生成接口
基于文本提示生成AI图片的接口,支持多种图片生成模型和参数配置
post/images/generations
Request body
Example request
{
"model": "gpt-image-1",
"prompt": "画一只可爱的小猫",
"style_preset": "3d-model"
}Response
成功响应
Example response
{
"task_status": "running"
}