← 返回
未分类 Key 中文

Midjourney Image

Generate, edit, blend, upscale, and describe images with Midjourney via AceDataCloud API. Use when creating AI images from text prompts, editing existing ima...
使用 Midjourney 通过 AceDataCloud API 生成、编辑、融合、放大和描述图像。适用于从文本提示创建 AI 图像、编辑现有图像...
germey germey 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 349
下载
💾 0
安装
1
版本
#latest

概述

Midjourney Image Generation

Generate and manipulate AI images through AceDataCloud's Midjourney API.

Authentication

export ACEDATACLOUD_API_TOKEN="your-token-here"

Quick Start — Generate an Image

curl -X POST https://api.acedata.cloud/midjourney/imagine \
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "a futuristic city at sunset, cyberpunk style --ar 16:9", "wait": true}'

Generation Modes

ModeSpeedCostBest For
-----------------------------
fastFastStandardMost tasks (default)
relaxSlowCheaperBatch generation
turboFastestPremiumTime-sensitive work

Midjourney Versions

VersionNotes
----------------
8Latest, best quality
7Great quality, fast
6.1Stable, well-tested
6Previous generation
5.2Legacy

Core Workflows

1. Generate Images (Imagine)

Creates a 2x2 grid of 4 image variations.

POST /midjourney/imagine
{
  "prompt": "a serene mountain lake at dawn, photorealistic --ar 16:9 --v 7",
  "mode": "fast",
  "translation": true,
  "split_images": true
}

Set translation: true to auto-translate non-English prompts. Set split_images: true to get individual images besides the grid.

2. Upscale / Vary / Pan / Zoom

After generating a grid, use transform actions on individual images:

POST /midjourney/imagine
{
  "action": "upscale1",
  "image_id": "grid-image-id"
}

Available actions:

  • upscale1upscale4: Upscale individual quadrant
  • variation1variation4: Create variation of a quadrant
  • variation_subtle / variation_strong: Subtle/strong variation of full image
  • reroll: Re-generate with same prompt
  • zoom_out_2x / zoom_out_1_5x: Zoom out
  • pan_left / pan_right / pan_up / pan_down: Extend canvas

3. Edit an Image

Modify an existing image using a text prompt, optionally with a mask.

POST /midjourney/edits
{
  "image_url": "https://example.com/photo.jpg",
  "prompt": "add a rainbow in the sky",
  "mode": "fast"
}

4. Blend Images

Combine 2–5 images into a new composition.

POST /midjourney/imagine
{
  "action": "blend",
  "image_urls": [
    "https://example.com/image1.jpg",
    "https://example.com/image2.jpg"
  ]
}

5. Describe an Image (Reverse Prompt)

Get AI-generated text descriptions of an image (returns 4 options).

POST /midjourney/describe
{"image_url": "https://example.com/photo.jpg"}

6. Generate Video from Image

Create a video with a reference image and text prompt.

POST /midjourney/videos
{
  "image_url": "https://example.com/photo.jpg",
  "prompt": "the city comes alive with moving traffic",
  "resolution": "720p"
}

Prompt Parameters

Append these to your prompt text:

ParameterExampleDescription
---------------------------------
--ar--ar 16:9Aspect ratio
--v--v 7Midjourney version
--q--q 2Quality (0.25, 0.5, 1, 2)
--s--s 750Stylization (0–1000)
--c--c 50Chaos/variety (0–100)
--no--no text, watermarkNegative prompt
--seed--seed 12345Reproducible generation

Task Polling

POST /midjourney/tasks
{"task_id": "your-task-id"}

MCP Server

pip install mcp-midjourney

Or hosted: https://midjourney.mcp.acedata.cloud/mcp

Key tools: midjourney_imagine, midjourney_transform, midjourney_edit, midjourney_blend, midjourney_describe, midjourney_generate_video

Gotchas

  • Imagine returns a 2x2 grid — use upscale/variation actions to work with individual images
  • Use split_images: true to also receive individual cropped images alongside the grid
  • Prompt parameters (--ar, --v, etc.) go inside the prompt string, not as separate fields
  • translation: true auto-translates Chinese/other languages to English before sending to Midjourney
  • Video generation requires a reference image_url — it cannot generate from text alone
  • Available transform actions depend on the image — check available_actions in the response
  • Get the seed with POST /midjourney/seed using the image_id for reproducible results

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 05:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 424 📥 116,161
dev-programming

Acedatacloud Api

germey
AceDataCloud API 使用指南。在身份验证、发起 API 调用、管理凭证、了解计费或集成 AceDataCloud 服务时使用。
★ 0 📥 578
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 329 📥 92,854