Linsuai平台开发
    • 默认模块
      • 001 快速开始
      • 002 使用ccswitch快速配置Codex
      • 003 安装Node.js
      • 999 更新日志
      • codex
        • 001 安装codex cli
        • 002 安装codex desktop
      • dsh
        • 001 安装DeepSeek Harness Desktop
      • 常见问题
        • Omo 这里并没有什么问题
      • 高级问题
        • Computer Use
          • 报错:window capture timed out: timed out waiting on channel
      • AI模型接口调用文档
        • 获取模型列表
        • 提交生图任务
    • 图片生成与编辑任务 API
      • 图片任务
        • 01 提交生成任务
        • 02 提交编辑任务
        • 查询图片任务
        • 读取/下载生成图片
        • 03 查询任务(轮询)
        • 04 下载图片
        • 05 查询任务(示例:看返回结构)
      • 数据模型
        • ImageGenerationRequest
        • ImageEditRequest
        • ImageTaskResponse
        • ImageTask
        • ImageTaskData
        • ImageAsset
        • ErrorResponse

    ImageGenerationRequest

    {
        "model": "gpt-image-1",
        "prompt": "一只在窗边晒太阳的橘猫",
        "n": 1,
        "size": "1024x1024",
        "quality": "auto",
        "background": "auto",
        "output_format": "png",
        "output_compression": 100,
        "moderation": "auto",
        "user": "string",
        "property1": "string",
        "property2": "string"
    }
    Built with