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

meituan modelsimage generation api

meituan/longcat-image

Longcat Image is meituan's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.

Input
The prompt to generate an image from.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
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 text-to-image generation. It turns a visual brief covering subject, composition, light, and style into a finished still image matching the requested art direction, 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. ); aspect_ratio choices (21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16); output_format choices (jpeg, png); guidance_scale (The guidance scale to use for the image generation). 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 Text-to-image generation. The route accepts a visual brief covering subject, composition, light, and style and produces a finished still image matching the requested art direction; 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. ); aspect_ratio choices (21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16); output_format choices (jpeg, png); guidance_scale (The guidance scale to use for the image generation), 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.130000

When to Use

ScenarioWhy this model fits
Create the exact route outputChoose it when you need text-to-image generation and already have a visual brief covering subject, composition, light, and style.
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 finished still image matching the requested art direction.
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 text-to-image generation, 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": "A lioness crouching in the tall dry grass of the Serengeti during golden hour, intense gaze, telephoto lens with shallow depth of field",
  "seed": 1,
  "aspect_ratio": "21:9",
  "output_format": "png",
  "guidance_scale": 4.5
}

Technical Specs

SpecificationValue
Model IDmeituan/longcat-image
WorkflowText-to-image generation
Required inputsprompt
seedinteger
promptstring
aspect_ratiostring; options: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16
output_formatstring; options: jpeg, png
guidance_scalenumber; minimum: 1; maximum: 20
num_inference_stepsinteger; minimum: 1; maximum: 50

Related Models

Related Models