APIPod Docs
HomeModels
Language
Language
  • 中文
  • English
HomeModels
Language
Language
  • 中文
  • English
  1. GPT Image 2
  • Getting Started with APIPod API
  • Image Models
    • GPT Image 2
      • GPT Image 2 Text to Image
        POST
      • GPT Image 2 Image to Image
        POST
    • Nano Banana
      • Nano Banana 2
      • Nano Banana Pro
    • Seedream 4.5
      • Seedream V4.5 Text to Image
      • Seedream V4.5 Image to Image
    • Seedream 5.0 Lite
      • Seedream 5.0 Lite Text to Image
      • Seedream 5.0 Lite Image to Image
    • WAN 2.7
      • WAN 2.7 Text to Image
      • WAN 2.7 Image to Image
      • WAN 2.7 Text to Image Pro
      • WAN 2.7 Image to Image Pro
    • Query Image Task
      GET
  • Video Models
    • Veo 3.1
      • Veo 3.1 Fast
    • Seedance 2.0
      • Seedance 2.0 Text to Video
      • Seedance 2.0 Image to Video
      • Seedance 2.0 Reference to Video
      • Seedance 2.0 Fast Text to Video
      • Seedance 2.0 Fast Image to Video
      • Seedance 2.0 Fast Reference to Video
    • Query Video Task
      GET
  • Schemas
    • NanoBanana
    • Seedream4.5
    • Seedream5.0
    • SubmitTaskResponse
    • TaskDetailResponse
    • WAN2.7Image
    • WAN2.7ImageEdit
    • WAN2.7ImagePro
    • WAN2.7ImageEditPro
    • Veo3.1Fast
    • Seedance2.0TextToVideo
    • Seedance2.0ImageToVideo
    • Seedance2.0ReferenceToVideo
    • Seedance2.0FastTextToVideo
    • Seedance2.0FastImageToVideo
    • Seedance2.0FastReferenceToVideo
    • GPTImage2
    • GPTImage2Edit
  1. GPT Image 2

GPT Image 2 Image to Image

POST
https://api.apipod.ai/v1/images/generations
gpt image 2image to image
Last modified:2026-04-22 04:38:18
GPT Image 2 is a new-generation image model developed by OpenAI, featuring enhanced realism, more refined image editing capabilities, sharper text rendering, and superior product rendering performance. Built specifically for advanced visual workflows, it not only breaks through the limitations of basic text-to-image generation but also fully meets the demands for high-quality creative, commercial, and professional design-level applications.

Prompt Writing Tips#

1
Describe Subject
Clearly describe the main subject of the image, including people, objects, or scenes.
A young woman wearing a white dress, standing under cherry blossom trees
2
Add Details
Supplement with lighting, colors, style, and other details.
Soft natural light, pink tones, Japanese fresh style
3
Specify Style
Clearly specify the artistic or photography style.
Cinematic, shallow depth of field, medium format shot, 35mm film texture
Complete Prompt Example:
A vibrant close-up editorial portrait, model with intense gaze, wearing a sculptural hat (with an APIPod.ai LOGO on the hat),
rich color blocking, sharp eye focus, shallow depth of field, Vogue magazine cover aesthetic, medium format shot, intense studio lighting.

Query Task Details#

After submitting a task, you can check the task progress and obtain the generated results through the unified query endpoint:
Get Image Task Details
Learn how to query task status and obtain generated results
In a production environment, it is recommended to use the callback_url parameter to receive automatic notifications upon generation completion instead of polling the status endpoint.

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
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.apipod.ai/v1/images/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "gpt-image-2-edit",
    "prompt": "string",
    "image_urls": [
        "string"
    ],
    "aspect_ratio": "auto"
}'
Response Response Example
{
    "code": 200,
    "message": "string",
    "data": {
        "task_id": "string"
    }
}
Modified at 2026-04-22 04:38:18
Previous
GPT Image 2 Text to Image
Next
Nano Banana 2
Built with