wan2.7-image API
Generate and edit images up to 2K with Alibaba’s wan2.7-image on APISea.
wan2.7-imageتسعير API لنموذج wan2.7-image
جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.
| الخيار | APISea | رسمي | وفّر |
|---|---|---|---|
| افتراضيافتراضي | $0.02376 | $0.028 | −15% |
الأسعار لكل صورة.
ما هو wan2.7-image؟
wan2.7-image is Alibaba’s standard Wan Image model for text-to-image generation, image editing, and thematically coherent image sequences. It is described as the faster-generation edition of the series and supports output up to 2K across all scenarios. Developers can use it to build image creation tools, reference-based editing workflows, or storyboard generators without switching models between generation and editing.
Supply a text prompt or up to nine reference images, then control output with aspect ratio, resolution, negative prompts, and a seed. Bounding boxes support region-specific interactive edits, while sequential mode generates up to 12 related images per request. Tasks run asynchronously: submit a request, then poll using the returned task_id. APISea charges $0.02376 per successfully generated image, about 15% below the provider list price of $0.028 per image. Input is not billed, resolution and aspect ratio do not change pricing, and failed requests are not charged.
أبرز مزايا wan2.7-image
Generation and Reference Editing
Create images from text or supply image_urls for editing and multi-image reference workflows. Bounding boxes let you specify regions to edit or insert content.
Coherent Image Sequences
Enable sequential generation to produce up to 12 thematically coherent images in one request. This mode supports storyboard and image-series workflows.
Output and Style Controls
Choose 1K or 2K output and set an aspect ratio, negative prompt, or seed. Custom color palettes are available in standard mode.
Successful Image Billing
APISea charges $0.02376 per successfully generated image, regardless of resolution or aspect ratio. Input is not billed, and failed requests are not charged.
كيفية استدعاء API الخاص بـ wan2.7-image في 4 خطوات
- 01
احصل على API key
سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.
- 02
اضبط عنوان URL الأساسي
استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.
- 03
أرسل الطلب
استدعِ POST /v1/images/generations مع "model": "wan2.7-image" والمعلمات أدناه.
- 04
تعامل مع الاستجابة
تتضمن الاستجابة task_id. أرسل طلبات GET /v1/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.
أمثلة على الطلبات
الوثائق: wan2.7 Image Generation & Editingcurl --request POST \
--url https://api.apisea.ai/v1/images/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan2.7-image",
"prompt": "A flower shop with exquisite windows, beautiful wooden door, flowers on display"
}'المعلمات
| المعلمة | النوع | مطلوب | افتراضي | الوصف |
|---|---|---|---|---|
model | string | مطلوب | — | Image generation model name. |
nsfw_check | boolean | اختياري | false | Whether to run content moderation before submitting the image task. |
prompt | string | اختياري | — | Text description for image generation, up to 5000 characters. |
image_urls | array\<string\> | اختياري | — | Input image URL array for editing and multi-image reference scenarios. |
n | integer | اختياري | 1 | Number of images to generate. |
size | string | اختياري | — | Output resolution or aspect ratio. Supports three formats: |
resolution | string | اختياري | — | Resolution tier keyword: `1K` / `2K` / `4K`. Can be combined with `size` (aspect ratio). |
negative_prompt | string | اختياري | — | Negative prompt describing elements to avoid. Example: `"blurry, distorted, low quality"` |
watermark | boolean | اختياري | false | Whether to add an "AI Generated" watermark to the bottom-right corner. |
seed | integer | اختياري | — | Random seed, range 0–2147483647. Same seed with identical parameters produces visually consistent results. |
thinking_mode | boolean | اختياري | true | Enable enhanced reasoning mode to improve image quality at the cost of longer generation time. |
enable_sequential | boolean | اختياري | false | Enable **sequential image generation** mode — generates multiple thematically coherent images in one request. Ideal for storyboards and series. |
bbox_list | array | اختياري | — | Bounding boxes for interactive editing — specifies exact regions to edit or insert content. |
Structure: | [[[x1, y1, x2, y2], ...], ...] | اختياري | — | |
color_palette | array\<object\> | اختياري | — | Custom color theme. **Standard mode only** (not sequential mode). |
ما الذي يمكنك إنشاؤه باستخدام wan2.7-image
Creative Asset Drafting
Build a text-to-image tool for teams drafting campaign visuals or design concepts, with aspect-ratio controls for different layouts.
Reference-Based Image Editors
Let users upload reference images and describe desired changes, with bounding boxes for targeted edits.
Storyboard Creation
Generate thematically coherent image sequences from a prompt to help teams plan stories or visual series.
Brand Color Exploration
Use custom color palettes in standard mode to explore visual concepts around a team’s chosen color theme.
نصائح للحصول على نتائج أفضل
- 01
Choose the Right Mode
Omit image_urls for text-to-image generation; supplying it switches the request to editing mode. A prompt is required for text-to-image and recommended for editing.
- 02
Plan for Async Results
Submit tasks to POST /v1/images/generations and poll for results using the returned task_id. Design your interface to show a pending state while generation runs.
- 03
Control Batch Costs
Set n deliberately: standard mode allows 1–4 images, while sequential mode allows 1–12. Requests are pre-charged based on n, with final billing based on successfully generated images.
- 04
Use Reasoning Selectively
thinking_mode defaults to true and can improve image quality at the cost of longer generation time. It only takes effect for non-sequential text-to-image requests.
القيود ومعلومات مهمة
wan2.7-image supports up to 2K output; 4K is unavailable.
Editing accepts up to nine input images, each no larger than 20MB, and matches the last input image’s aspect ratio.
Sequential mode ignores thinking_mode and color_palette.
الأسئلة الشائعة حول API الخاص بـ wan2.7-image
How much does wan2.7-image cost on APISea?
APISea Default costs $0.02376 per successfully generated image, about 15% below the provider list price of $0.028 per image. Resolution and aspect ratio do not affect pricing; input is not billed, and failed requests are not charged.
How do I call wan2.7-image through APISea?
Send a Bearer-authenticated POST request to https://api.apisea.ai/v1/images/generations with model set to wan2.7-image. Processing is asynchronous, so poll for results using the returned task_id.
Which generation parameters does wan2.7-image support?
Controls include prompt, image_urls, n, size, resolution, negative_prompt, seed, watermark, and bbox_list. thinking_mode applies only to non-sequential text-to-image requests, while color_palette is available only in standard mode.
What are the resolution and batch limits?
wan2.7-image supports 1K and 2K output in all scenarios. Standard mode generates 1–4 images per request, and sequential mode generates 1–12; editing accepts up to nine input images.
Can I use wan2.7-image outputs commercially?
Commercial use is subject to the provider’s terms. Review those terms for your intended use; the supplied documentation does not specify commercial-use permissions.
How does wan2.7-image compare with wan2.7-image-pro?
wan2.7-image is the standard edition, described as offering faster generation with output up to 2K. The Pro edition is described as offering better details and supports up to 4K for non-sequential text-to-image generation, while its editing and sequential output remain limited to 2K.
نماذج ذات صلة
wan2.7-image-pro
qwen-image-2.0
qwen-image-2.0-pro
qwen-image-3.0
qwen-image-3.0-pro
z-image-turbo
flux-2-flex
flux-2-max
ابدأ التطوير باستخدام wan2.7-image
مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.