属性
系列
集合
参数
| 参数名 | 描述 | 类型 | 必填 | 枚举值 |
|---|---|---|---|---|
| prompt | Description of the desired edits, supports up to 32,000 characters | string | 是 | - |
| images | Input image URL(s) to edit. Direct HTTPS URLs as string array. Supports up to 16 images for GPT Image models | string[] | 是 | - |
| mask | Optional mask URL. Must be PNG with alpha channel; dimensions must match the input image exactly. Transparent areas are edited, opaque areas locked, semi-transparent areas blend with the original. | string | 否 | - |
| quality | Output quality level. ‘low’: fast draft (default), ‘medium’: balanced, ‘high’: best quality | string | 否 | low, medium, high |
| size | Output size as width x height, or ‘auto’ for model-selected size. Presets are valid under OpenAI constraints (total pixels 655360-8294400, edges multiples of 16). Mapping: 1:1 1K/2K; 3:2 1K/2K; 2:3 1K/2K; 4:3 1K/2K; 3:4 1K/2K; 16:9 2K/4K; 9:16 2K/4K. No 1K for 16:9/9:16; no 4K for non-widescreen ratios. | string | 否 | auto, 1024x1024, 2048x2048, 1536x1024, 3072x2048, 1024x1536, 2048x3072, 1024x768, 2048x1536, 768x1024, 1536x2048, 2048x1152, 3840x2160, 1152x2048, 2160x3840 |
价格
输入图片($/img): 0.0315
| 维度 | 价格($/img) |
|---|---|
| quality: low | 0.0054 |
| quality: medium | 0.0477 |
| quality: high | 0.1899 |
相关模型
- openai/gpt-image-2.5-flare-edit: OpenAI’s fast image-editing model for everyday retouching, product changes, and masked local edits. It works from 1 to 16 reference images at 1K, 2K, or 4K, including transparent backgrounds, with lower latency than GPT Image 2 Edit.
- openai/gpt-image-2.5-flare: OpenAI’s fast text-to-image model for social content, product shots, and high-volume drafts, with higher image quality and lower latency than GPT Image 2. It renders at 1K, 2K, or 4K, including vertical 9:16 and ultrawide 21:9 frames, with transparent backgrounds and quality up to max.
- openai/gpt-image-2.5-sunburst-edit: OpenAI’s most capable image-editing model for campaign changes, product retouching, and masked local edits. It works from 1 to 16 reference images at 1K, 2K, or 4K, including transparent backgrounds.
- openai/gpt-image-2.5-sunburst: OpenAI’s most capable text-to-image model for campaign creative, polished product imagery, and detailed illustrations. It renders at 1K, 2K, or 4K, including vertical 9:16 and ultrawide 21:9 frames, with transparent backgrounds and quality up to max.
- openai/gpt-image-2: OpenAI’s text-to-image model for detailed portraits, product shots, and cinematic frames at high resolution. It renders preset sizes up to 4K, including 3840x2160 and vertical 2160x3840, at low, medium, or high quality.
- google/nano-banana-pro-edit: Google’s premium image editor for detailed creative changes, background replacements, and style work. It uses up to 14 reference images and returns a result at 1K, 2K, or 4K.
- google/nano-banana-2-edit: Google’s fast image editor for style changes, quick revisions, and frames taken from a video. It uses up to 14 reference images and returns a result at 512, 1K, 2K, or 4K.
- bytedance/seedream-5.0-lite-edit: ByteDance’s reasoning image editor for instruction-based changes across several references. It uses 1 to 14 images and can return a set of related results at 2K or 3K.
- kling/kling-v3-i2i: Kling’s image-editing model for style changes and prompt-guided edits from one reference image. It returns up to 9 images at 1K or 2K, including vertical 9:16 and ultrawide 21:9 frames.
- xai/grok-imagine-image-quality-edit: xAI’s higher-fidelity image editor for detailed restyles and prompt-guided changes that keep fine texture. It edits one to three source images at 1K or 2K.
- kling/kling-v3-omni-image: Kling’s image model for cinematic stills and a connected series, from a prompt or up to 10 reference images. It renders at 1K, 2K, or 4K, including a set of 2 to 9 related frames.
- alibaba/wan2.7-image-pro-edit: Alibaba’s image editor for multi-reference changes and a connected set of results. It uses 1 to 9 images and returns results at up to 2K, including a set of up to 12 related frames.
- microsoft/mai-image-2.6-edit: Microsoft’s image-editing model for targeted object changes, layout updates, text cleanup, and photorealistic retouching on one image. It keeps the rest of the composition in place.
- microsoft/mai-image-2.6-flash-edit: Microsoft’s faster image-editing model for high-volume retouching, object changes, and text cleanup on one image, with lower latency than MAI Image 2.6 Edit. It keeps the rest of the composition in place.

