Skip to main content
This page documents the legacy Sora Image editing integration for existing projects that still need troubleshooting, migration, or compatibility maintenance. Legacy-route availability, pricing, and parameter support are subject to the current console configuration.

Model Overview

The legacy Sora Image editing integration submits image URLs and edit instructions through the chat completions interface, then parses the edited image URL from the response content. This page is intended for projects that still maintain the legacy model IDs. New projects should evaluate the currently recommended image-generation and image-editing APIs first.
Integration note
Confirm token group, billing mode, and current model status before calling this route. The legacy route may continue to serve existing projects, but it should not be the default entry point for new integrations.

Interface Capabilities

  • Image inputs: Supports one or more image URLs as input
  • Text instructions: Describe edits in natural language, such as style transfer, element changes, or multi-image fusion
  • Chat completions interface: Submit image and text content through /v1/chat/completions
  • Result parsing: Extract the edited image URL from response text
  • Console-controlled status: Availability, pricing, and parameter support may change with route configuration

Feature Comparison

🚀 Quick Start

Basic Example - Single Image Edit

Advanced Example - Multi-Image Fusion

🎯 Editing Scenarios

1. Style Transformation

2. Smart Background Replacement

3. Object Editing

4. Color and Lighting Adjustment

💡 Best Practices

1. Precise Editing Instructions

2. Multi-Image Fusion Tips

3. Batch Processing

⚠️ Important Notes

  1. Model Selection:
    • gpt-4o-image: Legacy image-generation model ID used by existing integrations
    • sora_image: Legacy Sora Image route
    • Confirm availability, billing mode, and current price in the console
  2. Image Input:
    • Supports online image URLs
    • Ensure images are publicly accessible
    • Recommended max size: 20MB
  3. Multi-Image Processing:
    • Can include multiple images in one request
    • Add all images to content array
    • Describe fusion/editing intent clearly
  4. Result Extraction:
    • Results returned in Markdown format
    • Extract URLs using regex
    • Download edited images promptly

🔍 FAQ

Q: Can I edit local images?

A: Upload local images to a public hosting service first, then use the URL. Or use base64 encoding (may increase costs).

Q: How many images can I process at once?

A: No strict limit, but 2-5 images per request is recommended for best results and performance.

Q: Can I use both Sora and GPT-4o Image?

A: Yes, both use the same underlying technology. Try both to see which works better for your use case.

Q: Are the edits reversible?

A: No, each edit generates a new image. Save originals if you need to revert changes.

Q: What’s the quality of edited images?

A: High quality, comparable to DALL·E 3. Results depend on prompt clarity and original image quality.
🎨 Pro Tip: Combine multiple editing techniques in one prompt for complex transformations. The model excels at understanding natural language instructions!