Wan 2.5 Text-To-Image Preview Generation
Generate images from text prompts using the wan2.5-t2i-preview model.
Documentation Index
Fetch the complete documentation index at: https://mulerouter.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Generate high-quality images from text descriptions using the wan2.5-t2i-preview model. This is the latest Wan2.5 text-to-image model with enhanced capabilities.Key Features
- Support for longer prompts (up to 2000 characters)
- Flexible resolution and aspect ratio support
- Higher quality output
Resolution Guidelines
- Default: 1280*1280
- Total pixels: Between 768*768 and 1440*1440
- Aspect ratio: Between 1:4 and 4:1
- Example: 768*2700 is valid (meets pixel and ratio requirements)
Common Aspect Ratios
| Aspect Ratio | Recommended Resolution |
|---|---|
| 1:1 | 1280*1280 or 1024*1024 |
| 2:3 | 800*1200 |
| 3:2 | 1200*800 |
| 3:4 | 960*1280 |
| 4:3 | 1280*960 |
| 9:16 | 720*1280 |
| 16:9 | 1280*720 |
| 21:9 | 1344*576 |
Prompt Tips
For best results:- Be specific and descriptive about what you want to see
- Include details about style, composition, lighting, and mood
- Use the negative prompt to exclude unwanted elements
- For short prompts, consider enabling
prompt_extendfor enhanced results
Example Requests
Basic Text-to-Image
With Negative Prompt
High-Resolution Portrait
With Custom Seed for Reproducibility
Parameters
n (Number of Images)
- Range: 1-4
- Default: 4
- Note: Directly affects cost (cost = unit price × number of images)
- Recommendation: Set to 1 during testing to minimize costs
prompt_extend (Prompt Rewriting)
- Default: false
- Effect: Uses AI to enhance and expand short prompts
- Trade-off: Improves results for short prompts but increases processing time
seed (Random Seed)
- Range: 0 to 2,147,483,647
- Purpose: Improves reproducibility of results
- Note: Due to probabilistic nature, same seed doesn’t guarantee identical results
- Behavior: When n > 1, generates seeds as: seed, seed+1, seed+2, etc.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Text description for the image (max 2000 characters).
2000Negative prompt describing unwanted content (max 500 characters)
500Image resolution in format "width*height" (e.g., "1280*1280")
Default: 1280*1280 Total pixels: [768*768, 1440*1440], aspect ratio: [1:4, 4:1]
Number of images to generate (1-4)
1 <= x <= 4Enable intelligent prompt rewriting (improves short prompts but increases processing time)
Random seed for reproducibility [0, 2147483647]
0 <= x <= 2147483647Enable content safety filter. Defaults to true. Set to false to disable content safety inspection.
Response
Accepted - Task created successfully

