alibaba/wan-2.7/text-to-image

alibaba/wan-2.7/text-to-image

alibaba/wan-2.7/text-to-image. इमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।

संबंधित मॉडल

alibaba/wan-2.7/text-to-image संबंधित मॉडल 1

पूरे पैरामीटर, आउटपुट स्कीमा और मौजूदा मूल्य

AI मॉडल API मार्केटप्लेसएक प्लेटफॉर्म, सब कुछसबसे लोकप्रियशर्तेंइमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।
prompt *Prompttextarea—≤ 5000 chars
sizeSizetext1024*1024≤ 500 chars
thinking_modeThinking Modebooleantrue—

पूरे पैरामीटर, आउटपुट स्कीमा और मौजूदा मूल्य

और जानेंएक प्लेटफॉर्म, सब कुछइमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।
imagesarray<string>

API

इमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.7/text-to-image" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "A cinematic portrait in a futuristic botanical garden at dusk, soft rim light, intricate details, photorealistic, shallow depth of field.",
    "size": "1024*1024",
    "thinking_mode": true
  }
}'

# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import time, requests

API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1) Submit
resp = requests.post(
    "https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.7/text-to-image",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "A cinematic portrait in a futuristic botanical garden at dusk, soft rim light, intricate details, photorealistic, shallow depth of field.",
            "size": "1024*1024",
            "thinking_mode": True
        }
    },
)
resp.raise_for_status()  # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()

# 2) Poll until a terminal state (completed / failed / cancelled).
#    This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
    if time.time() > deadline:
        raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
    time.sleep(3)
    poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
    poll.raise_for_status()
    task = poll.json()

print(task["status"], task.get("output"))
JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };

// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.7/text-to-image", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "A cinematic portrait in a futuristic botanical garden at dusk, soft rim light, intricate details, photorealistic, shallow depth of field.",
      "size": "1024*1024",
      "thinking_mode": true
    }
  }),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();

// 2) Poll until a terminal state (completed / failed / cancelled).
//    This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
  if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
  await new Promise((r) => setTimeout(r, 3000));
  const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
  if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
  task = await poll.json();
}

console.log(task.status, task.output);

API दस्तावेज

alibaba/wan-2.7/text-to-image

High-quality text-to-image generation with thinking mode, flexible sizing, and no cold starts.

alibaba/wan-2.7/text-to-image is a production-ready text-to-image model designed to generate detailed, visually coherent images from natural language prompts. It combines strong prompt understanding, flexible output sizing, and affordable per-image pricing, making it well suited for creative, marketing, and commercial workflows.

🚀 Key Features

  • High-quality image generation: Produces detailed, visually consistent images with strong composition, lighting, and texture.
  • Thinking mode for better results: Built-in thinking mode improves prompt reasoning and adherence, helping the model generate more coherent outputs.
  • Flexible size control: Supports custom output dimensions from 512 to 4096 pixels per side for a wide range of delivery formats.
  • Broad aspect ratio support: Handles aspect ratios from 1:8 to 8:1, covering square, portrait, landscape, and widescreen layouts.
  • No cold starts: Suitable for responsive production workflows where predictable availability and fast task startup matter.

🛠️ Technical Specifications

ItemDetails
Model Namealibaba/wan-2.7/text-to-image
Model TypeText-to-image
ArchitectureWan 2.7 text-to-image generation architecture
InputText Prompt
OutputImage
Default Resolution1024×1024
Resolution Range512–4096 pixels per dimension
Total Pixel ConstraintTotal pixels must be between 768×768 and 2048×2048
Aspect Ratio1:8 to 8:1
Thinking ModeSupported, enabled by default; improves quality with higher latency
LatencyStandard generation is faster; thinking mode increases generation time
Output FormatGenerated image

Sample Prompts

  • A modern tea shop interior, warm afternoon light, minimalist wood design, cinematic photography
  • A cinematic ocean wave at sunrise, highly detailed, dramatic lighting, ultra realistic
  • A futuristic fashion portrait, neon city background, editorial style, sharp focus

💰 Pricing

ItemPrice
Per generated image$0.03

💡 Best Use Cases

  • Social media content: Create platform-ready visuals across square, portrait, and landscape formats.
  • Marketing and advertising: Generate campaign concepts, branded visuals, and promotional assets without a photoshoot.
  • Concept art and storyboarding: Rapidly visualize scenes, characters, and environments from text descriptions.
  • E-commerce imagery: Produce product lifestyle visuals and storefront-ready creative assets efficiently.

🔗 Related Models

  • Wan 2.7 Text-to-Image Pro: A higher-end version for more demanding production workflows and higher-resolution output.
  • Wan 2.6 Text-to-Image: Previous-generation Wan text-to-image model.
  • Seedream V4 Text-to-Image: Suitable for style-consistent poster, campaign, and brand-oriented image generation.
  • FLUX.2 Dev Text-to-Image: Strong prompt adherence and fine detail for creative and production use cases.

संबंधित मॉडल

z-image-spicy/text-to-image
टेक्स्ट से इमेजZ Image Spicy

z-image-spicy/text-to-image

z-image-spicy/text-to-image. इमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।

से शुरू $0.014 / प्रति रन
xAI Grok Imagine Image v2.0 Text to Image
टेक्स्ट से इमेजX Ai

xAI Grok Imagine Image v2.0 Text to Image

x-ai/grok-imagine-image-v2.0/text-to-image. इमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।

से शुरू $0.080 / प्रति रन
Qwen Image 3.0 Pro Text to Image
टेक्स्ट से इमेजQwen Image 3.0 Pro

Qwen Image 3.0 Pro Text to Image

qwen-image-3.0-pro/text-to-image. इमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।

से शुरू $0.075 / प्रति रन
ai/prefect-pony-xl
टेक्स्ट से इमेजPrefect Pony Xl

ai/prefect-pony-xl

prefect-pony-xl/text-to-image. इमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।

से शुरू $0.015 / प्रति रन
OpenAI GPT Image 2 Text-to-Image
टेक्स्ट से इमेजOpenAI

OpenAI GPT Image 2 Text-to-Image

openai/gpt-image-2/text-to-image. इमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।

से शुरू $0.660 / प्रति रन
OpenAI GPT Image 2 Edit
टेक्स्ट से इमेजOpenAI

OpenAI GPT Image 2 Edit

openai/gpt-image-2/edit. इमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।

से शुरू $0.660 / प्रति रन
OpenAI GPT Image 2.5 Sunburst Text-to-Image
टेक्स्ट से इमेजOpenAI

OpenAI GPT Image 2.5 Sunburst Text-to-Image

openai/gpt-image-2.5-sunburst/text-to-image. इमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।

से शुरू $0.220 / प्रति रन
OpenAI GPT Image 2.5 Flare Text-to-Image
टेक्स्ट से इमेजOpenAI

OpenAI GPT Image 2.5 Flare Text-to-Image

openai/gpt-image-2.5-flare/text-to-image. इमेज, वीडियो और चेहरा बदलने वाले मॉडल API देखें। किसी मॉडल को आजमाएं और एकीकृत REST API से जोड़ें।

से शुरू $0.220 / प्रति रन