[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-113814":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":12,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":13,"stars30d":13,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":14,"rankGlobal":10,"rankLanguage":10,"license":15,"archived":16,"fork":16,"defaultBranch":17,"hasWiki":18,"hasPages":16,"topics":19,"createdAt":10,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":13,"starSnapshotCount":13,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},113814,"midjourney-api-es","xbuu0\u002Fmidjourney-api-es","xbuu0","Midjourney API (`midjourney`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.","https:\u002F\u002Fgo.apimart.ai\u002Fk-1416cd",null,"Python",70,0,40,"Other",false,"main",true,[20,21,22,23,24,25,26,27,28],"ai-api-gateway","ai-image-api","apimart","image-api","image-editing","image-generation","midjourney","midjourney-api","text-to-image","2026-10-16 07:51:22","2026-11-14 08:40:46","# Midjourney API (`midjourney`)\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.045 per image** on the APIMart route — 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-3e40fe)** · **[Precios en vivo](https:\u002F\u002Fgo.apimart.ai\u002Fk-8aecd2)** · **[Página del modelo](https:\u002F\u002Fgo.apimart.ai\u002Fk-1416cd)** · [⚡ Inicio rápido en 60 segundos](#quickstart)\n\n**Por qué los equipos usan Midjourney (`midjourney`) 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 Midjourney (`midjourney`) 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\nMidjourney is the industry-leading text-to-image engine, prized for its painterly aesthetic, strong composition, and signature lighting. APIMart exposes Midjourney as a programmable API — call \u002Fv1\u002Fmidjourney\u002Fgenerations for the default Imagine flow, choose v8.1, v7, v6.1, v5.2, v5.1 or Niji 7 \u002F Niji 6, dial in stylize \u002F chaos \u002F weird, and run on relax, fast, or turbo queues without touching Discord.\n\n## Model id and routes\n\n| Route | `model` value | Billing | Notes |\n| --- | --- | --- | --- |\n| Per-image | `midjourney` | per delivered image, by resolution | see the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-1416cd) 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.0563 | 0.04504 |\n| blend | 0.0688 | 0.05504 |\n| blend-fast | 0.0688 | 0.05504 |\n| blend-turbo | 0.125 | 0.1 |\n| describe | 0.0688 | 0.05504 |\n| describe-fast | 0.0688 | 0.05504 |\n| describe-turbo | 0.125 | 0.1 |\n| edits | 0.0688 | 0.05504 |\n| edits-fast | 0.0688 | 0.05504 |\n| edits-turbo | 0.125 | 0.1 |\n| high_variation | 0.0688 | 0.05504 |\n| high_variation-fast | 0.0688 | 0.05504 |\n| high_variation-turbo | 0.125 | 0.1 |\n| imagine | 0.0563 | 0.04504 |\n| imagine-fast | 0.0688 | 0.05504 |\n| imagine-niji6 | 0.0563 | 0.04504 |\n| imagine-niji6-fast | 0.0688 | 0.05504 |\n| imagine-niji6-turbo | 0.125 | 0.1 |\n| imagine-niji7 | 0.0563 | 0.04504 |\n| imagine-niji7-fast | 0.0688 | 0.05504 |\n| imagine-niji7-turbo | 0.125 | 0.1 |\n| imagine-turbo | 0.125 | 0.1 |\n| imagine-v5.1 | 0.0563 | 0.04504 |\n| imagine-v5.1-fast | 0.0688 | 0.05504 |\n| imagine-v5.1-turbo | 0.125 | 0.1 |\n| imagine-v5.2 | 0.0563 | 0.04504 |\n| imagine-v5.2-fast | 0.0688 | 0.05504 |\n| imagine-v5.2-turbo | 0.125 | 0.1 |\n| imagine-v6.1 | 0.0563 | 0.04504 |\n| imagine-v6.1-fast | 0.0688 | 0.05504 |\n| imagine-v6.1-turbo | 0.125 | 0.1 |\n| imagine-v7 | 0.0563 | 0.04504 |\n| imagine-v7-fast | 0.0688 | 0.05504 |\n| imagine-v7-turbo | 0.125 | 0.1 |\n| imagine-v8.1 | 0.0563 | 0.04504 |\n| imagine-v8.1-fast | 0.0688 | 0.05504 |\n| imagine-v8.1-turbo | 0.125 | 0.1 |\n| imagine-v8.2 | 0.0563 | 0.04504 |\n| imagine-v8.2-fast | 0.0688 | 0.05504 |\n| imagine-v8.2-turbo | 0.125 | 0.1 |\n| inpaint | 0.0688 | 0.05504 |\n| inpaint-fast | 0.0688 | 0.05504 |\n| inpaint-turbo | 0.125 | 0.1 |\n| low_variation | 0.0688 | 0.05504 |\n| low_variation-fast | 0.0688 | 0.05504 |\n| low_variation-turbo | 0.125 | 0.1 |\n| modal | 0.0688 | 0.05504 |\n| modal-fast | 0.0688 | 0.05504 |\n| modal-turbo | 0.125 | 0.1 |\n| pan | 0.0688 | 0.05504 |\n| pan-fast | 0.0688 | 0.05504 |\n| pan-turbo | 0.125 | 0.1 |\n| remix_strong | 0.0688 | 0.05504 |\n| remix_strong-fast | 0.0688 | 0.05504 |\n| remix_strong-turbo | 0.125 | 0.1 |\n| remix_subtle | 0.0688 | 0.05504 |\n| remix_subtle-fast | 0.0688 | 0.05504 |\n| remix_subtle-turbo | 0.125 | 0.1 |\n| reroll | 0.0688 | 0.05504 |\n| reroll-fast | 0.0688 | 0.05504 |\n| reroll-turbo | 0.125 | 0.1 |\n| shorten | 0.0688 | 0.05504 |\n| shorten-fast | 0.0688 | 0.05504 |\n| shorten-turbo | 0.125 | 0.1 |\n| upscale-hd | 0.0688 | 0.05504 |\n| upscale-hd-fast | 0.0688 | 0.05504 |\n| upscale-hd-turbo | 0.125 | 0.1 |\n| variation | 0.0688 | 0.05504 |\n| variation-fast | 0.0688 | 0.05504 |\n| variation-turbo | 0.125 | 0.1 |\n| video | 0.25 | 0.2 |\n| video-720p | 0.5 | 0.4 |\n| zoom | 0.0688 | 0.05504 |\n| zoom-fast | 0.0688 | 0.05504 |\n| zoom-turbo | 0.125 | 0.1 |\n\n\n\u003C!-- pricing:model:end -->\n\nPrices are a snapshot; the [pricing page](https:\u002F\u002Fgo.apimart.ai\u002Fk-8aecd2) 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-1416cd) 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\":\"midjourney\",\"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\": \"midjourney\", \"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 Midjourney?**\n\n`midjourney`. Consulta la tabla de rutas de arriba.\n\n**¿Cómo se factura?**\n\n**from $0.045 per image** on the APIMart route. 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-3e40fe) 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: [midjourney-prompts-es](https:\u002F\u002Fgithub.com\u002Fxbuu0\u002Fmidjourney-prompts-es)\n- **Same model, other languages** — 9 more language builds: 中文 [midjourney-api-cn](https:\u002F\u002Fgithub.com\u002Fapimartycl6k972t\u002Fmidjourney-api-cn) · Deutsch [midjourney-api-de](https:\u002F\u002Fgithub.com\u002Fh5fd0cofy\u002Fmidjourney-api-de) · Français [midjourney-api-fr](https:\u002F\u002Fgithub.com\u002Fapimartt1q\u002Fmidjourney-api-fr) · Relay\u002Fgateway [midjourney-api-gateway](https:\u002F\u002Fgithub.com\u002Fapimartxc3iskw\u002Fmidjourney-api-gateway) · Bahasa [midjourney-api-id](https:\u002F\u002Fgithub.com\u002Fcvrwq0\u002Fmidjourney-api-id) · 日本語 [midjourney-api-ja](https:\u002F\u002Fgithub.com\u002Fapimartt1q\u002Fmidjourney-api-ja) · 한국어 [midjourney-api-ko](https:\u002F\u002Fgithub.com\u002Focvewn2-9ueo\u002Fmidjourney-api-ko) · Português [midjourney-api-pt](https:\u002F\u002Fgithub.com\u002Fl-ca0\u002Fmidjourney-api-pt) · Русский [midjourney-api-ru](https:\u002F\u002Fgithub.com\u002Fsfpxvicw\u002Fmidjourney-api-ru)\n- **More models in this language** — [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) · [nano-banana-pro-api-es](https:\u002F\u002Fgithub.com\u002Fg6-erqods5\u002Fnano-banana-pro-api-es)\n- **Topic hubs** — every build of this model, all languages: [midjourney](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fmidjourney) · [midjourney-api](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fmidjourney-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-1416cd> | `apimart.ai\u002Fes\u002Fmodel\u002Fmidjourney` |\n| Live pricing | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-8aecd2> | `apimart.ai\u002Fes\u002Fpricing` |\n| Get an API key | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-3e40fe> | `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\nMidjourney 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","这是一个为 Midjourney 图像生成服务提供的 OpenAI 兼容 API 封装方案，通过统一的 APIMart 网关（https:\u002F\u002Fapi.apimart.ai\u002Fv1）提供按需调用能力。核心功能包括支持多版本模型（v8.1\u002Fv7\u002FNiji 等）、细粒度参数控制（stylize\u002Fchaos\u002Fqueue 模式）、异步任务管理（task_id 轮询）及透明计费（每张图精确扣费、失败自动退款）。技术特点为零订阅门槛、$1 起充、单 endpoint 多模型复用、兼容 OpenAI 请求格式。适用于需要灵活集成 Midjourney 到自有应用、自动化工作流或批量图像生成场景的开发者与中小团队。",2,"2026-11-24 04:47:05","CREATED_QUERY"]