docs.emix.ai
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
language
language
  • 🇺🇸 English
  • 🇨🇳 Chinese
Market
File Upload API
Market
File Upload API
  1. GPT Image
  • 开始使用
  • Market
  • Image Models
    • Seedream
      • Seedream4.5 文生图
      • Seedream4.5 图片编辑
      • Seedream5.0 Lite 文生图
      • Seedream5.0 Lite 图片编辑
      • Seedream5.0 Pro 文生图
      • Seedream5.0 Pro 图片编辑
    • Google
      • Google Nano Banana
      • Nano Banana Pro 图生图
      • 使用 nano-banana-2 生成内容
      • Nano Banana 2 Lite
    • Grok Imagine
      • Grok Imagine 文生图
      • Grok Imagine 图生图
    • GPT Image
      • GPT Image1.5 文生图
        POST
      • GPT Image1.5 图生图
        POST
      • GPT Image 2 文生图
        POST
      • GPT Image 2 图生图
        POST
    • Wan
      • Wan 2.7 Image
      • Wan 2.7 Image Pro
  • Video Models
    • Grok Imagine
      • Grok Imagine 文生视频
      • Grok Imagine 图生视频
      • 放大 Grok Imagine 视频
      • 扩展 Grok Imagine 视频
      • Grok Imagine Video 1.5 Preview
    • Kling
      • Kling-2.6 文生视频
      • Kling-2.6 图生视频
      • Kling AI Avatar Standard
      • Kling AI Avatar Pro
      • Kling V2.1 Master 图生视频
      • Kling V2.1 Master 文生视频
      • Kling V2.1 Pro
      • Kling V2.1 Standard
      • Kling-2.6 motion-control
      • Kling-3.0 motion-control
      • Kling 3.0
    • Bytedance
      • Bytedance Seedance 2.0
      • Bytedance Seedance 2.0 Fast
      • Bytedance Seedance 2.0 Mini
    • Wan
      • Wan 2.6 - 图转视频
      • Wan 2.6 - 文转视频
      • Wan 2.6 - 视频转视频
      • Wan 2.7 - 文转视频
      • Wan 2.7 - 图转视频
      • Wan 2.7 - 视频编辑
      • Wan 2.7 - 参考生视频
    • Veo3.1 API
      • VEO 3.1 文生视频
      • VEO 3.1 图生视频
      • VEO 3.1 参考生视频
    • HappyHorse
      • HappyHorse 1.1 图生视频
      • HappyHorse 1.1 文生视频
      • HappyHorse 1.1 参考图生成视频
    • Gemini Omni
      • Gemini Omni 生视频
      • Gemini Omni Audio 生语音
      • Gemini Omni Character 生角色
  • Chat Models
    • Claude
      • Claude Code 对接 emix.ai 使用指南
      • Claude Sonnet 5
    • Gemini
      • Gemini 3.5 Flash (openai)
    • Grok
      • Grok 4.5
      • Grok 4.3
  • 获取任务详情
    GET
  1. GPT Image

GPT Image1.5 图生图

POST
/api/v1/client/tasks

概述#

使用 GPT Image 1.5 图生图模型从输入图像生成图像。此模型允许您使用文本提示编辑或修改现有图像。该过程包含两个步骤:创建生成任务和查询任务状态及结果。

文件上传要求#

在使用此 API 之前,您需要上传图像文件:
1
上传图像
使用文件上传 API 上传您的源图像。
文件上传 API
了解如何上传图像并获取文件 URL
2
获取文件 URL
上传完成后,您将获得可在 input_urls 参数中使用的文件 URL。
支持格式:JPEG、PNG、WebP
最大文件大小:10MB
每个请求最多16个输入 URL
图像内容应适当并遵循使用指南

查询任务状态#

提交任务后,使用统一的查询端点检查进度并检索结果:
获取任务详情
了解如何查询任务状态和检索生成结果
对于生产使用,我们建议使用 callBackUrl 参数接收生成完成时的自动通知,而不是轮询状态端点。

相关资源#

市场概览
探索所有可用模型
通用 API
检查积分和账户使用情况

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
请求成功
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.emix.ai/api/v1/client/tasks' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "model": "gpt-image-1.5-image-to-image",
    "callBackUrl": "https://your-domain.com/api/callback",
    "input": {
        "input_urls": [
            "https://static.aiquickdraw.com/tools/example/1765962794374_GhtqB9oX.webp"
        ],
        "prompt": "Edit the image to dress the woman using the provided clothing images. Preserve her exact likeness, expression, hairstyle, and proportions. Replace only the clothing, fitting the garments naturally to her existing pose and body geometry with realistic fabric behavior. Match lighting, shadows, and color temperature to the original photo so the outfit integrates photorealistically, without looking pasted on.",
        "aspect_ratio": "3:2",
        "quality": "medium"
    }
}'
Response Response Example
{
    "code": 200,
    "msg": "success",
    "data": {
        "taskId": "task_gpt-image_1765968156336"
    }
}
Previous
GPT Image1.5 文生图
Next
GPT Image 2 文生图
Built with