[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112904":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":13,"stars30d":15,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":16,"rankGlobal":10,"rankLanguage":10,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":13,"starSnapshotCount":13,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},112904,"wan2-7-image-api-es","b05qswr9inv\u002Fwan2-7-image-api-es","b05qswr9inv","Wan 2.7 Image API (`wan2.7-image`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.","https:\u002F\u002Fgo.apimart.ai\u002Fk-8e366c",null,"Python",59,0,56,3,40.3,"Other",false,"main",true,[22,23,24,25,26,27,28,29,30],"ai-api-gateway","ai-image-api","apimart","image-api","image-editing","image-generation","text-to-image","wan2-7-image","wan2-7-image-api","2026-10-16 07:02:28","2026-11-14 15:04:25","# Wan 2.7 Image API (`wan2.7-image`)\n\n\u003C!-- conv-kit:v1 -->\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fbadges\u002Fprice.svg\" alt=\"observed unit price\"> \u003Cimg src=\"assets\u002Fbadges\u002Fbilling.svg\" alt=\"billing model\"> \u003Cimg src=\"assets\u002Fbadges\u002Fcompat.svg\" alt=\"OpenAI-compatible endpoint\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002F01-product-hero-perfume.jpg\" width=\"820\" alt=\"Sample render via the APIMart image API\">\n\u003C\u002Fp>\n\n> **from $0.0216 per image** — un único endpoint compatible con OpenAI en `https:\u002F\u002Fapi.apimart.ai\u002Fv1`, sin plan mensual. *(observado el 2026-10-12)*\n\n**[Obtener una clave de API](https:\u002F\u002Fgo.apimart.ai\u002Fk-6f8337)** · **[Precios en vivo](https:\u002F\u002Fgo.apimart.ai\u002Fk-523cb3)** · **[Página del modelo](https:\u002F\u002Fgo.apimart.ai\u002Fk-8e366c)** · [⚡ Inicio rápido en 60 segundos](#quickstart)\n\n**Por qué los equipos usan Wan 2.7 Image (`wan2.7-image`) a través de APIMart**\n\n- **Una clave, todo el catálogo.** La misma base URL `https:\u002F\u002Fapi.apimart.ai\u002Fv1` y la misma cabecera `Authorization` dan acceso a Wan 2.7 Image (`wan2.7-image`) y a más de 300 modelos de imagen, vídeo y lenguaje: cambia el campo `model`, no tu cliente.\n- **Mínimo de $1, pago por uso.** Sin suscripción ni plan prepago que dimensionar por adelantado: recarga desde $1 y úsalo en llamadas.\n- **El cargo vuelve en la respuesta.** Cada tarea completada informa del importe facturado (`cost` \u002F `credits_cost`); una tarea marcada como `failed` se reembolsa.\n- **Asíncrono por diseño.** Envía, toma el `task_id`, consulta `GET \u002Fv1\u002Ftasks\u002F{id}`: el batching y los reintentos son trabajo de cola normal, no una integración a medida.\n\n\u003C!-- \u002Fconv-kit:v1 -->\n\n\n\nWan 2.7 Image is Alibaba's Wan text-to-image model in standard and Pro versions for high-quality images.\n\n## Model id and routes\n\n| Route | `model` value | Billing | Notes |\n| --- | --- | --- | --- |\n| Per-image | `wan2.7-image` | per delivered image, by resolution | see the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-8e366c) for the exact tiers |\n\nEndpoint: `POST https:\u002F\u002Fapi.apimart.ai\u002Fv1\u002Fimages\u002Fgenerations`, then poll `GET \u002Fv1\u002Ftasks\u002F{task_id}`.\n\n## Pricing\n\n\u003C!-- pricing:model:start -->\n| Output | List price | Effective price |\n| --- | --- | --- |\n| default | 0.027 | 0.0216 |\n\n\n\u003C!-- pricing:model:end -->\n\nPrices are a snapshot; the [pricing page](https:\u002F\u002Fgo.apimart.ai\u002Fk-523cb3) and [`data\u002Fmodel.json`](data\u002Fmodel.json) are refreshed by CI, and a completed task reports the exact amount in its `cost` field.\n\n## Request parameters\n\n| Field | Type | Default | Notes |\n| --- | --- | --- | --- |\n| `model` | string | required | the model id shown in the route table above |\n| `prompt` | string | required | what to generate, or what to change when editing |\n| `size` | string | `auto` \u002F `1:1` | aspect ratio, or `auto` where the route supports it |\n| `resolution` | string | `1K` | output resolution tier — cost scales with it |\n| `n` | integer | `1` | number of images per task, where the route allows more than one |\n| `image_urls` | string[] | — | reference images as public HTTP(S) URLs or base64 data URLs |\n| `nsfw_check` | boolean | `false` | runs `omni-moderation-latest` before submitting |\n\nThe table lists the fields accepted by the APIMart `images\u002Fgenerations` endpoint. Check the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-8e366c) for anything this model adds on top.\n\n## Quickstart\n\n```bash\ncurl --request POST --url https:\u002F\u002Fapi.apimart.ai\u002Fv1\u002Fimages\u002Fgenerations \\\n  --header \"Authorization: Bearer $APIMART_API_KEY\" --header 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"wan2.7-image\",\"prompt\":\"A bamboo forest at sunrise, slow push-in\",\"size\":\"1:1\",\"resolution\":\"1K\"}'\n```\n\n```python\nimport os, time, requests\n\nBASE = \"https:\u002F\u002Fapi.apimart.ai\u002Fv1\"\nHEADERS = {\"Authorization\": f\"Bearer {os.environ['APIMART_API_KEY']}\", \"Content-Type\": \"application\u002Fjson\"}\n\ncreated = requests.post(f\"{BASE}\u002Fimages\u002Fgenerations\", headers=HEADERS, timeout=60, json={\n    \"model\": \"wan2.7-image\", \"prompt\": \"A bamboo forest at sunrise, slow push-in\",\n}).json()\ntask_id = created[\"data\"][\"id\"]\n\nwhile True:\n    task = requests.get(f\"{BASE}\u002Ftasks\u002F{task_id}\", headers=HEADERS, timeout=60).json()[\"data\"]\n    if task[\"status\"] in (\"completed\", \"failed\"):\n        break\n    time.sleep(5)\nprint(task.get(\"cost\"), task[\"result\"][\"images\"][0][\"url\"])\n```\n\nRunnable versions: [`examples\u002F`](examples). The task lifecycle is `pending → processing → completed | failed`.\n\n## FAQ\n\n**¿Cuál es el id del modelo Wan 2.7 Image?**\n\n`wan2.7-image`. Consulta la tabla de rutas de arriba.\n\n**¿Cómo se factura?**\n\n**from $0.0216 per image**. La tarea completada informa del importe exacto en su campo `cost`; una tarea fallida se reembolsa.\n\n**How do I get a key?**\n\nUse the [Get an API key](https:\u002F\u002Fgo.apimart.ai\u002Fk-6f8337) link — $1 minimum top-up, no plan required.\n\n\u003C!-- related-repos:auto -->\n## Related repositories\n\n- **Same model, this language** — the other half of this pair: [wan2-7-image-prompts-es](https:\u002F\u002Fgithub.com\u002Fb05qswr9inv\u002Fwan2-7-image-prompts-es)\n- **Same model, other languages** — 9 more language builds: 中文 `wan2-7-image-api-cn` · Deutsch [wan2-7-image-api-de](https:\u002F\u002Fgithub.com\u002Fy4j2y37o\u002Fwan2-7-image-api-de) · Français [wan2-7-image-api-fr](https:\u002F\u002Fgithub.com\u002Ffa8p1u\u002Fwan2-7-image-api-fr) · Relay\u002Fgateway `wan2-7-image-api-gateway` · Bahasa [wan2-7-image-api-id](https:\u002F\u002Fgithub.com\u002Fz0ydfhoij\u002Fwan2-7-image-api-id) · 日本語 `wan2-7-image-api-ja` · 한국어 [wan2-7-image-api-ko](https:\u002F\u002Fgithub.com\u002Fssuvqttn\u002Fwan2-7-image-api-ko) · Português [wan2-7-image-api-pt](https:\u002F\u002Fgithub.com\u002Fwndff7oshfhu\u002Fwan2-7-image-api-pt) · Русский `wan2-7-image-api-ru`\n- **More models in this language** — [midjourney-api-es](https:\u002F\u002Fgithub.com\u002Fxbuu0\u002Fmidjourney-api-es) · [gemini-2-5-flash-image-preview-api-es](https:\u002F\u002Fgithub.com\u002Fekw3w\u002Fgemini-2-5-flash-image-preview-api-es) · [nano-banana-api-es](https:\u002F\u002Fgithub.com\u002Fgbm5mfl1\u002Fnano-banana-api-es) · [gemini-3-1-flash-image-preview-api-es](https:\u002F\u002Fgithub.com\u002Fx3kcczm8l29xn\u002Fgemini-3-1-flash-image-preview-api-es) · [nano-banana-2-api-es](https:\u002F\u002Fgithub.com\u002Fd63hy9t-4pp\u002Fnano-banana-2-api-es) · [gemini-3-pro-image-preview-api-es](https:\u002F\u002Fgithub.com\u002Fuv9d8\u002Fgemini-3-pro-image-preview-api-es)\n- **Topic hubs** — every build of this model, all languages: [wan2-7-image](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fwan2-7-image) · [wan2-7-image-api](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fwan2-7-image-api)\n\nThis repository is one build in a cross-linked set of API guides for the same model family; each language build links back to the others.\n\u003C!-- \u002Frelated-repos:auto -->\n\n## Attributed links (how this repository is measured)\n\n| Purpose | Attributed link | Target |\n| --- | --- | --- |\n| Model page | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-8e366c> | `apimart.ai\u002Fes\u002Fmodel\u002Fwan-2-7-image` |\n| Live pricing | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-523cb3> | `apimart.ai\u002Fes\u002Fpricing` |\n| Get an API key | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-6f8337> | `apimart.ai\u002Fes\u002Fkeys` |\n\nOutbound APIMart links are minted through the promo link API; hand-made tracking parameters are rejected by\n`tools\u002Fcheck_links.py` in CI.\n\n## Disclosure\n\nWan 2.7 Image is a third-party model served through APIMart; this repository documents how to call it and publishes\nmodel ids and prices, and does not claim official status. Model names, prices and documentation belong to their\nrespective owners.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","Wan 2.7 Image API 是一个基于阿里通义万相（Wan）2.7版本的文本生成图像服务，通过 OpenAI 兼容的标准化接口提供调用。核心功能包括按需生成高质量图像、支持分辨率分级计费、异步任务管理（提交后轮询 task_id）、以及与 APIMart 平台其他300+多模态模型共享统一认证和路由。技术特点为单 endpoint、无订阅制、最低1美元起充、实时费用返回、自动重试与批处理支持。适用于需要灵活接入、低成本试用或快速集成文生图能力的中小型应用、MVP 开发、自动化内容生成及轻量级 AI 工具链场景。",2,"2026-11-24 04:44:33","CREATED_QUERY"]