← Back to Model Square
OpenAIImageMultiplier ×5

Midjourney v7

midjourney-v7

顶级文生图模型,艺术风格与细节表现力强。

API call example

Unified endpoint: /v1/midjourney/imagine

curl https://api.tokengather.com.cn/v1/images/generations \
  -H "Authorization: Bearer $AITOKEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "midjourney-v7",
    "prompt": "Cyberpunk city night, neon lights and rain",
    "size": "1024x1024"
  }'

Usage notes

Midjourney v7 is known for its artistic, high-quality images — ideal for illustrations, concept design, and brand visuals.

Through the Ai Token gateway, submit image generation tasks with unified auth and manage and download the results in the console.

Integrating & Billing for Midjourney v7

Calling Midjourney v7 through AiToken's unified gateway means no separate registration or SDK per vendor: point your request base_url at https://api.tokengather.com.cn/v1 with your AiToken API key, and you can immediately send OpenAI-compatible chat completions, streaming (SSE) and tool calls. Exact capabilities (context length, multimodal / tool-call support, etc.) are shown on the model card above.

Pricing & cost

Billing is metered and transparent: prices are CNY credits converted from official USD list prices by a group multiplier, where 1 CNY = 1 credit. Use the card above and the cost calculator for exact unit prices.

Quick integration example

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "YOUR_AITOKEN_KEY",
  baseURL: "https://api.tokengather.com.cn/v1",
});

const res = await client.chat.completions.create({
  model: "midjourney-v7",
  messages: [{ role: "user", content: "Hello" }],
});

FAQ

  • Is AiToken compatible with the OpenAI SDK?
    Yes. Point base_url to AiToken's /v1 and the official OpenAI Python / Node / Go SDKs work out of the box.
  • What if a model provider fails?
    Multi-strategy smart routing fails over at the request level and steers around rate limits or exhausted quota, seamlessly switching to a backup node with no manual intervention.
  • How is API key security ensured?
    Supports multi-key tiers, sub-key model allowlists, rate limits and usage logs—disable any key instantly on anomaly.
  • Can individuals sign up?
    Yes. Get a free API key after registration and pay as you go with a small top-up.
⚡ Ai Token AI Gateway

Ready to get started?

Try Ai Token AI Gateway for free — simplify multi-model integration and unlock low-latency global access.

Midjourney v7 (midjourney-v7) API — Pricing, Context & Integration | AiToken