YesAPI Docs
English
  • 中文
  • English
English
  • 中文
  • English
Market
GitHub
English
  • 中文
  • English
  1. MiniMax Image
  • Getting Started
  • Market
  • Chat Models
    • Claude
      • Claude Opus 4.8
      • Claude Opus 4.7
      • Claude Haiku 4.5
      • Claude Fable 5
      • Claude Opus 4.6
      • Claude Sonnet 5
      • Claude Mythos 5
      • Claude Opus 4.6
    • ChatGPT
      • GPT-5.6 Sol
      • GPT-5.6 Terra
      • GPT-5.6 Luna
      • GPT-5.5
      • GPT-5.4 Pro
      • GPT-5.4 mini
      • GPT-5.4 nano
      • GPT-5.2 Codex
      • GPT-5.1 Codex
      • GPT Image 2
      • GPT Image 1.5
      • GPT Image 1 Mini
      • GPT-5.5 Pro
    • Gemini
      • Gemini 3 Pro
      • Gemini 2.5 Pro
      • Gemini 2.5 Flash
    • DeepSeek
      • DeepSeek V3.2
      • DeepSeek R1
    • Grok
      • Grok 4
      • Grok 4 Fast
    • Qwen
      • Qwen3 Max
      • Qwen3 Coder
    • Kimi
      • Kimi K2
    • GLM
      • GLM-4.6
    • Llama
      • Llama 4 Maverick
    • Mistral
      • Mistral Large 3
    • Cohere
      • Command A
    • Perplexity
      • Perplexity Sonar
    • MiniMax
      • MiniMax M2
    • Doubao
      • Doubao Seed 1.6
    • ERNIE
      • ERNIE 5.0
    • Hunyuan
      • Hunyuan Turbo
    • Yi
      • Yi-Lightning
  • Image Models
    • Midjourney
      • Midjourney V7
      • Midjourney V6.1
    • Google
      • Nano Banana Pro
      • Nano Banana
      • Gemini Flash Image
    • Seedream
      • Seedream 4.5
      • Seedream 4.0
    • FLUX
      • FLUX.2 Pro
      • FLUX.1 Kontext
    • Imagen
      • Imagen 4
    • Ideogram
      • Ideogram 3.0
    • Recraft
      • Recraft V3
    • Stable Diffusion
      • Stable Diffusion 3.5
    • DALL-E
      • DALL-E 3
    • Qwen Image
      • Qwen Image
    • Hunyuan Image
      • Hunyuan Image
    • MiniMax Image
      • MiniMax Image
    • Kling Image
      • Kling Image
  • Video Models
    • Sora
      • Sora 2
      • Sora Turbo
    • Veo
      • Veo 3.1
      • Veo 3
    • Kling
      • Kling 2.5 Turbo
      • Kling 2.1
    • Runway
      • Runway Gen-4
      • Runway Gen-3 Alpha
    • Pika
      • Pika 2.2
    • Luma
      • Luma Ray 2
    • Hailuo
      • Hailuo 02
    • Seedance
      • Seedance 1.0 Pro
    • Wan
      • Wan 2.2
    • PixVerse
      • PixVerse V5
    • Vidu
      • Vidu Q1
    • Hunyuan Video
      • Hunyuan Video
    • MiniMax Video
      • MiniMax Video-01
    • Stable Video
      • Stable Video Diffusion
  • Music Models
    • Suno
      • Suno v5
      • Suno v4.5
    • Udio
      • Udio 2
      • Udio 1.5
    • Stable Audio
      • Stable Audio 2.0
    • ElevenLabs
      • ElevenLabs Music
    • Mureka
      • Mureka O1
    • ACE Studio
      • ACE-Step
    • Meta
      • MusicGen
      • AudioCraft
    • Google Audio
      • Lyra
    • Qwen Audio
      • Qwen Audio
    • OpenAI Audio
      • GPT-4o Audio
    • MiniMax Speech
      • MiniMax Speech
    • Fish Audio
      • Fish Speech
  1. MiniMax Image

MiniMax Image

As low as 3% of official pricing, Start
Example: at 0.2 model rate, pay 10.00 → usable $50.00. Balance is usable across all models. Actual pricing is subject to the website display.

MiniMax Image API Documentation#

MiniMax Image is suitable for image generation, image editing, product visuals, and creative design. YesAPI.online provides unified authentication, a stable Base URL, and consistent request patterns for production integration.

Base URL#

https://yesapi.online/v1

Authentication#

Model Name#

FieldValue
Modelminimax-image
API typeImage Generation API

Request Endpoint#

POST https://yesapi.online/v1/images/generations

Request Parameters#

ParameterTypeRequiredDefaultDescription
modelstringYes-Fixed value: minimax-image
promptstringNo-Task prompt or instruction
messagesarrayNo-Conversation messages for chat models
streambooleanNofalseEnable streaming for chat models
callback_urlstringNo-Callback URL for async media tasks

Request Example#

Response Example#

{"id":"response_or_task_id","model":"minimax-image","status":"succeeded","created":1784534400}

Response Fields#

FieldTypeDescription
idstringRequest or task ID
modelstringModel used by the request
statusstringTask status for async APIs
usageobjectUsage details when available
errorobjectError details when the request fails

Python Example#

Node.js Example#

Error Codes#

StatusTypeHow to Fix
400Invalid requestCheck required fields and parameter formats
401UnauthorizedVerify your API key
402Insufficient balanceCheck balance or quota
429Rate limitedReduce concurrency or add retry backoff
500Service errorRetry later and keep the request ID

Best Practices#

Keep prompts explicit and include output requirements.
Store request IDs and business IDs for tracing.
Use callbacks or polling for asynchronous media generation.

Related Links#

API domain: https://yesapi.online
Models: Models
Recharge: Recharge
As low as 3% of official pricing, Start
Example: at 0.2 model rate, pay 10.00 → usable $50.00. Balance is usable across all models. Actual pricing is subject to the website display.
Previous
Hunyuan Image
Next
Kling Image
Built with