alibaba/wan-2.7/text-to-image-pro

alibaba/wan-2.7/text-to-image-pro

alibaba/wan-2.7/text-to-image-pro. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

Mô hình liên quan

alibaba/wan-2.7/text-to-image-pro Mô hình liên quan 1

Đầy đủ tham số, lược đồ đầu ra và giá hiện tại

Chợ API mô hình AIMột nền tảng cho mọi thứPhổ biến nhấtĐiều khoảnDuyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
prompt *Prompttextarea—≤ 5000 chars
sizeSizetext1024*1024≤ 500 chars
thinking_modeThinking Modebooleantrue—

Đầy đủ tham số, lược đồ đầu ra và giá hiện tại

Tìm hiểu thêmMột nền tảng cho mọi thứDuyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
imagesarray<string>

API

Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.7/text-to-image-pro" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "A premium cinematic portrait in a futuristic botanical garden at dusk, soft rim light, intricate materials, photorealistic, high detail.",
    "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-pro",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "A premium cinematic portrait in a futuristic botanical garden at dusk, soft rim light, intricate materials, photorealistic, high detail.",
            "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-pro", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "A premium cinematic portrait in a futuristic botanical garden at dusk, soft rim light, intricate materials, photorealistic, high detail.",
      "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);

Tài liệu API

alibaba/wan-2.7/text-to-image-pro

Professional-grade 4K text-to-image generation with stronger reasoning, consistent quality, and no cold starts.

alibaba/wan-2.7/text-to-image-pro is a professional-tier text-to-image model designed for high-fidelity image generation from text prompts. It supports output up to 4K(4096×4096), includes a built-in thinking mode for improved prompt understanding, and offers flexible size control for production-ready creative workflows.

🚀 Key Features

  • Up to 4K output: Generate images at up to 4096×4096 resolution for print, large-format displays, and high-DPI use cases.
  • Thinking mode for better quality: Built-in reasoning improves prompt adherence, composition coherence, and overall visual fidelity.
  • Custom size control: Set width and height to match square, landscape, portrait, widescreen, or ultrawide formats.
  • No cold starts: Well suited for production environments that require responsive generation without startup delays.
  • Affordable professional tier: Delivers strong image quality and controllability at a competitive per-image price.

🛠️ Technical Specifications

ItemDetails
Model architectureProfessional text-to-image model
InputPrompt
OutputImage
Default Resolution1024×1024
Maximum effective output Resolution4096×4096(4K-class)
Size rangeWidth and Height each support 512–8192 pixels
Total pixel constraintMust fall between 768×768 and 4096×4096 total pixels
Aspect Ratio constraint1:8 to 8:1
Thinking modeEnabled by default; improves quality and reasoning, but increases latency
LatencyVariable; higher Resolution and thinking mode generally increase generation time
Output FormatSingle generated high-quality image

Sample Prompts

  • A modern tea shop interior, warm afternoon light, minimalist wood design, cinematic photography
  • A luxury skincare product on reflective glass, soft studio lighting, premium commercial photography, ultra detailed
  • A futuristic city skyline at sunrise, atmospheric haze, intricate architecture, highly detailed concept art

💰 Pricing

ItemPrice
Per generated image$0.075

💡 Best Use Cases

  • Print and large-format design: Create high-resolution assets for posters, magazines, signage, and campaign materials.
  • E-commerce and product visualization: Produce polished product imagery and presentation visuals with strong texture and detail.
  • Marketing and advertising: Generate campaign-ready key visuals, social creatives, and branded promotional assets.
  • Concept art and creative development: Explore environments, lighting, materials, and scene composition at high fidelity.

🔗 Related Models

  • Wan 2.7 Text-to-Image: Lower-cost standard version for everyday image generation.
  • Wan 2.6 Text-to-Image: Previous-generation Wan text-to-image model.
  • Seedream V4 Text-to-Image: Better suited for style-consistent posters, campaigns, and brand visuals.
  • FLUX.2 Dev Text-to-Image: Strong prompt adherence and fine detail for creative and production workflows.

Mô hình liên quan

z-image-spicy/text-to-image
Văn bản thành ảnhZ Image Spicy

z-image-spicy/text-to-image

z-image-spicy/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.014 / mỗi lượt chạy
xAI Grok Imagine Image v2.0 Text to Image
Văn bản thành ảnhX Ai

xAI Grok Imagine Image v2.0 Text to Image

x-ai/grok-imagine-image-v2.0/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.080 / mỗi lượt chạy
Qwen Image 3.0 Pro Text to Image
Văn bản thành ảnhQwen Image 3.0 Pro

Qwen Image 3.0 Pro Text to Image

qwen-image-3.0-pro/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.075 / mỗi lượt chạy
ai/prefect-pony-xl
Văn bản thành ảnhPrefect Pony Xl

ai/prefect-pony-xl

prefect-pony-xl/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.015 / mỗi lượt chạy
OpenAI GPT Image 2 Text-to-Image
Văn bản thành ảnhOpenAI

OpenAI GPT Image 2 Text-to-Image

openai/gpt-image-2/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.660 / mỗi lượt chạy
OpenAI GPT Image 2 Edit
Văn bản thành ảnhOpenAI

OpenAI GPT Image 2 Edit

openai/gpt-image-2/edit. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.660 / mỗi lượt chạy
OpenAI GPT Image 2.5 Sunburst Text-to-Image
Văn bản thành ảnhOpenAI

OpenAI GPT Image 2.5 Sunburst Text-to-Image

openai/gpt-image-2.5-sunburst/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.220 / mỗi lượt chạy
OpenAI GPT Image 2.5 Flare Text-to-Image
Văn bản thành ảnhOpenAI

OpenAI GPT Image 2.5 Flare Text-to-Image

openai/gpt-image-2.5-flare/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.220 / mỗi lượt chạy