SandBase is live — $1 in free credits on signupStart free ›

meituan modelsimage generation api

meituan/longcat-image/edit

Longcat Image Edit by sandbase-ai - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.

Input
The prompt to edit the image with.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

The URL of the image to edit.
120
The guidance scale to use for the image generation. Range: 1 to 20.
150
The number of inference steps to perform. Range: 1 to 50.
The format of the generated image. Allowed values: jpeg, png.
The same seed and the same prompt given to the same version of the model will output the same image every time.
Idle

Example output — click Run to generate your own

API README

Longcat Image

Longcat Image is a LongCat route built for prompt-guided image editing. It turns one or more source images and a precise change request into a revised image that follows the edit while retaining intended structure, giving creators a focused endpoint instead of forcing one generic workflow across materially different production tasks. The route belongs to a family known for efficient generation, stable visual continuity, and practical media workflows, so it is best evaluated as a creative system for intentional shots and assets rather than as a one-click novelty generator.

Use this endpoint when the input contract and deliverable match that job exactly. Its documented controls include seed ( The same seed and the same prompt given to the same version of the model will output the same image every time. ); output_format choices (jpeg, png); guidance_scale (The guidance scale to use for the image generation); num_inference_steps (The number of inference steps to perform). Together, these controls help teams plan predictable iterations, compare outputs under stable settings, and connect generation to high-volume creative iteration and avatar or video production without hiding the operational choices that shape the result.

Highlights

  • Purpose-built Prompt-guided image editing. The route accepts one or more source images and a precise change request and produces a revised image that follows the edit while retaining intended structure; its interface is scoped to that transformation, keeping source assets and creative intent explicit.
  • Creative direction. Prompts can describe subject behavior, composition, camera intent, lighting, material, atmosphere, and temporal progression so the result is driven by a shot plan rather than isolated keywords.
  • Route-specific control. The request exposes seed ( The same seed and the same prompt given to the same version of the model will output the same image every time. ); output_format choices (jpeg, png); guidance_scale (The guidance scale to use for the image generation); num_inference_steps (The number of inference steps to perform), allowing the same concept to be tested systematically while preserving a repeatable production setup.
  • Pipeline-ready output. The generated media asset is returned through the documented asynchronous output contract, which suits review queues, batch iteration, and downstream automation. Editors can review pacing, continuity, lens language, choreography, transitions, temporal artifacts, soundtrack alignment, color response, delivery framing, and cut compatibility before approval.

Pricing

ConfigurationPrice
Standard request$0.150000

When to Use

ScenarioWhy this model fits
Create the exact route outputChoose it when you need prompt-guided image editing and already have one or more source images and a precise change request.
Develop controlled variationsKeep the main brief fixed while changing one documented setting at a time to compare motion, framing, quality, or asset behavior.
Build repeatable batchesUse a consistent request shape for catalog, campaign, storyboard, game-asset, or social-content production.
Preserve source intentPrefer this route when the supplied reference material must remain the foundation of a revised image that follows the edit while retaining intended structure.
Connect a media pipelineUse asynchronous results in an automated review, approval, post-production, or asset-management workflow.

Prompt Guide

Start with the desired result, then describe the source relationship, subject action, composition or camera behavior, lighting, style, and timing. For prompt-guided image editing, state what must remain stable as clearly as what should change. Use only fields exposed by the schema; the example below is structurally valid for this route.

{
  "prompt": "Add the text \"Fal is fast\" in elegant cursive font with lightning streaks at the top of the image.",
  "image": "https://static.sandbase.ai/examples/alibaba/qwen-image/edit/input_image_0.png",
  "seed": 1,
  "output_format": "png",
  "guidance_scale": 4.5
}

Technical Specs

SpecificationValue
Model IDmeituan/longcat-image/edit
WorkflowPrompt-guided image editing
Required inputsprompt, image
seedinteger
imagestring
promptstring
output_formatstring; options: jpeg, png
guidance_scalenumber; minimum: 1; maximum: 20
num_inference_stepsinteger; minimum: 1; maximum: 50

Related Models

Related Models