Browse ModelsWavespeed AIWan 2.1 Text To Image LoRA

Wan 2.1 Text To Image LoRA

Wan 2.1 Text To Image LoRA

Playground

Try it on WavespeedAI!

Wan 2.1 Text-to-Image LoRA repurposes Wan 2.1 to create ultra-realistic images with exceptional detail and LoRA fine-tuning support. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

Wan 2.1 Text-to-Image LoRA

Generate photorealistic images with custom style control using Wan 2.1 Text-to-Image LoRA. This versatile model supports both pure text-to-image generation and image-to-image transformation with adjustable strength — plus full LoRA support for unique visual styles.

Why It Looks Great

  • Photorealistic output: Optimized for lifelike, natural imagery.
  • LoRA support: Apply custom LoRA adapters for unique styles and characters.
  • Image-to-image mode: Transform existing images with adjustable strength control.
  • Custom dimensions: Precise control over width and height for any aspect ratio.
  • Prompt Enhancer: Built-in tool to refine your descriptions automatically.
  • Reproducible results: Use the seed parameter to recreate exact outputs.

Parameters

ParameterRequiredDescription
promptYesText description of the image you want to generate.
imageNoOptional source image for image-to-image transformation.
strengthNoHow much to transform the source image (0.0-1.0). Default: 0.8.
lorasNoCustom LoRA adapters to apply for style control.
widthNoOutput width in pixels (e.g., 1024).
heightNoOutput height in pixels (e.g., 1024).
seedNoRandom seed for reproducibility. Use -1 for random.
output_formatNoFile format: jpeg or png. Default: jpeg.

How to Use

Text-to-Image

  1. Write your prompt — describe the image in detail.
  2. Use Prompt Enhancer (optional) — click to enrich your description.
  3. Add LoRAs (optional) — click ”+ Add Item” for custom styles.
  4. Set dimensions — adjust width and height as needed.
  5. Run — click the button to generate.
  6. Download — preview and save your image.

Image-to-Image

  1. Upload source image — the image to transform.
  2. Write your prompt — describe the desired transformation.
  3. Adjust strength — lower values preserve more of the original (0.3-0.5), higher values allow more change (0.7-1.0).
  4. Run — click the button to generate.

Pricing

Flat rate per image.

OutputCost
Per image$0.025

Strength Guide (Image-to-Image)

StrengthEffectBest For
0.3-0.4Subtle changes, preserves originalMinor style adjustments
0.5-0.6Moderate transformationBalanced edits
0.7-0.8Significant changesStyle transfer, major edits
0.9-1.0Near-complete transformationHeavy stylization

Best Use Cases

  • Photorealistic Portraits — Generate lifelike portraits with natural lighting.
  • Style Transfer — Transform images with custom LoRA styles.
  • Lifestyle Photography — Create authentic everyday scenes.
  • Character Consistency — Use character LoRAs for consistent identity.
  • Custom Aesthetics — Apply trained LoRAs for unique visual styles.

Example Prompts

  • “A young woman hanging laundry on a sunny balcony, soft shadows, fluttering clothes, warm afternoon light, urban neighborhood, photorealistic, 35mm lens”
  • “Professional headshot, soft studio lighting, neutral background, sharp focus”
  • “Cozy kitchen scene, morning light through window, steam rising from coffee”
  • “Street photography, candid moment, natural expressions, urban environment”
  • “Product shot on marble surface, dramatic lighting, clean composition”

How to Use LoRAs

For detailed guides on using and training custom LoRAs:

Pro Tips for Best Results

  • Include camera/lens details for realistic style: “35mm lens”, “f/1.8”, “bokeh”.
  • Describe lighting: “soft shadows”, “warm afternoon light”, “studio lighting”.
  • Use image-to-image with lower strength (0.3-0.5) to preserve composition.
  • LoRAs can dramatically change output style — experiment with different adapters.
  • Square dimensions (1024×1024) work well for portraits; adjust for other compositions.

Notes

  • Supports both text-to-image and image-to-image workflows.
  • If using a URL for the source image, ensure it is publicly accessible.
  • The strength parameter only applies when a source image is provided.
  • LoRA effects are cumulative — start with one and add more as needed.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/wan-2.1/text-to-image-lora" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "strength": 0.6,
    "loras": [],
    "size": "1024*1024",
    "seed": -1,
    "output_format": "jpeg",
    "enable_base64_output": false,
    "enable_sync_mode": false
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
promptstringYes-The positive prompt for the generation.
imagestringNo-The image to generate an image from (optional).
strengthnumberNo0.60.00 ~ 1.00Strength indicates extent to transform the reference image.
lorasarrayNomax 3 itemsList of LoRAs to apply (maximum 3).
loras[].pathstringYes-Path to the LoRA model
loras[].scalefloatYes-0.0 ~ 4.0Scale of the LoRA model
sizestringNo1024*1024256 ~ 1536 per dimensionThe size of the generated media in pixels (width*height).
seedintegerNo-1-1 ~ 2147483647The random seed to use for the generation. -1 means a random seed will be used.
output_formatstringNojpegjpeg, png, webpThe format of the output image.
enable_base64_outputbooleanNofalse-If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.
enable_sync_modebooleanNofalse-If set to true, the function will wait for the result to be generated and uploaded before returning the response. It allows you to get the result directly in the response. This property is only available through the API.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction, the ID of the prediction to get
data.modelstringModel ID used for the prediction
data.outputsstringArray of URLs to the generated content (empty when status is not completed).
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2025 WaveSpeedAI. All rights reserved.