Mage API · โมเดลภาพ
MiniMax H3 Image API
ภาพ 16 เมกะพิกเซลแบบเนทีฟ โอเพนเวทส์
POST https://api.mage.space/v1/minimax_h3_image/generateดูแบบเร็ว ๆ
MiniMax H3 Image API เรียกใช้ MiniMax H3 Image ผ่าน Mage ที่ POST https://api.mage.space/v1/minimax_h3_image/generate คำขอที่ใช้ค่าเริ่มต้นจะใช้ 15 Gems (ประมาณ $0.015) โดยไม่ต้องสมัครสมาชิก MiniMax H3 Image รองรับตัวละครที่บันทึกไว้และ References โดยใช้ @handle ในพรอมต์
- รูปภาพผลลัพธ์
- 1รุ่น
- 15Gems ต่อภาพ (ค่าเริ่มต้น)
- $0.015ประมาณ (USD)
ภาพรวม
MiniMax H3 Image API ทำอะไรได้บ้าง
โมเดลสร้างภาพแบบโอเพนเวทส์ที่เรนเดอร์ได้สูงสุด 4K (ประมาณ 16 เมกะพิกเซล) ด้วยรายละเอียดสมบูรณ์และทำตามคำสั่งได้แม่นยำ แก้ไขหรือรวมภาพอ้างอิงได้สูงสุด 16 ภาพ พร้อมรองรับ LoRA
โมเดลสร้างภาพแบบโอเพนเวทส์สำหรับแปลงข้อความเป็นภาพและแก้ไขจากภาพอ้างอิงสูงสุด 16 ภาพ ที่ 2K (ประมาณ 4 เมกะพิกเซล) หรือ 4K แบบเนทีฟ (ประมาณ 16 เมกะพิกเซล) พร้อมรองรับ LoRA โมเดลนี้ผ่านการกลั่นให้เหลือหกขั้นตอน จึงไม่รับเนกาทีฟพรอมต์ จำนวนสเต็ป หรือ guidance scale ให้เขียนรายละเอียดของทั้งภาพเป็นภาษาอังกฤษ ส่วนการแก้ไข ให้บอกว่าจะคงอะไรไว้จากแต่ละภาพ อะไรที่เปลี่ยน แล้วจึงอธิบายผลลัพธ์
รองรับ image, additional_images เป็นอินพุต
เริ่มต้นอย่างรวดเร็ว
วิธีเรียกใช้ MiniMax H3 Image API
ตั้งค่า MAGE_API_KEY ส่งคำขอไปที่ /minimax_h3_image/generate แล้วตรวจสอบ status_url ต่อเนื่องจนกว่าคำขอจะเสร็จสมบูรณ์
cURL
STATUS_URL=$(curl --request POST 'https://api.mage.space/v1/minimax_h3_image/generate' \
--header "Authorization: Bearer $MAGE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"prompt": "Editorial portrait in soft daylight, 35mm film look",
"aspect_ratio": "4:5",
"model_id": "minimax-h3-image"
}' | jq -r '.status_url')
# Repeat until status is "completed"; result.url is the file
curl "$STATUS_URL" --header "Authorization: Bearer $MAGE_API_KEY"TypeScript
// npm install @mage-space/sdk
import Mage from '@mage-space/sdk';
const mage = new Mage(); // reads MAGE_API_KEY
const request = await mage.run('minimax_h3_image', {
prompt: 'Editorial portrait in soft daylight, 35mm film look',
aspect_ratio: '4:5',
model_id: 'minimax-h3-image',
});
console.log(request.result.url);Python
# pip install mage-space
from mage_space import Mage
mage = Mage() # reads MAGE_API_KEY
request = mage.run("minimax_h3_image", {
"prompt": "Editorial portrait in soft daylight, 35mm film look",
"aspect_ratio": "4:5",
"model_id": "minimax-h3-image",
})
print(request["result"]["url"])โมเดล
ค่า model_id ของ MiniMax H3 Image
ส่ง model_id เพื่อเลือกรุ่น หากไม่ระบุ ระบบจะใช้รุ่นเริ่มต้น
| model_id | ชื่อ | ค่าเริ่มต้น |
|---|---|---|
| minimax-h3-image | MiniMax H3 Image | ใช่ |
ตัวเลือก
พารามิเตอร์ของ MiniMax H3 Image
ค่าที่ใช้ได้รวมทุกรุ่น บางรุ่นอาจมีตัวเลือกน้อยกว่า ดูตัวเลือกของแต่ละรุ่นได้ในเอกสาร
| ฟิลด์ | ค่า |
|---|---|
| aspect_ratio | 21:9, 16:9, 3:2, 5:4, 1:1, 4:5, 2:3, 9:16, 9:21 |
| resolution | 2k, 4k |
อินพุต
อินพุตสื่อที่ MiniMax H3 Image รองรับ
ส่งแต่ละรายการเป็น https URL, data URL หรืออัปโหลดไฟล์ขนาดไม่เกิน 100 MB
| ฟิลด์ | บทบาท |
|---|---|
| image | ภาพอ้างอิง |
| additional_images | ภาพอ้างอิงเพิ่มเติม |
กฎ
ข้อกำหนดที่ MiniMax H3 Image API บังคับใช้
- ส่งภาพอ้างอิงได้สูงสุด 16 ภาพรวมทั้งใน image และ additional_images บวกกับตัวละครและรีเฟอเรนซ์ที่ระบุไว้ โดยในพรอมต์จะเรียกภาพเหล่านั้นว่า image 1, image 2, ... ตามลำดับ
โมเดลภาพอื่นๆ
API สร้างภาพอื่นๆ บน Mage
MOSS-Image API
พรอมต์ยาวและข้อความสองภาษา โอเพนเวทส์
Nano Banana 2 API
ข้อความคมชัด อ่านง่าย สูงสุด 4K
SDXL Plus API
SDXL ที่แก้ใบหน้าและมือให้ดูดี
Seedream API
Seedream พร้อมตัวกรองแบบเข้มงวด
Stable Diffusion v1.5 API
รุ่นคลาสสิก ราคาประหยัด
Stable Diffusion v3.5 Large API
Stable Diffusion ที่ทำตามคำสั่งได้แม่นที่สุด
คำถามที่พบบ่อย
คำถามที่พบบ่อย
MiniMax H3 Image API ราคาเท่าไร
เอนด์พอยต์ของ MiniMax H3 Image API คืออะไร
เรียกใช้โมเดล MiniMax H3 Image ใดได้บ้าง
MiniMax H3 Image รองรับภาพอ้างอิงหรือตัวละครไหม
ใช้ MiniMax H3 Image จาก Claude หรือ ChatGPT ได้ไหม
ผลลัพธ์จาก MiniMax H3 Image ถูกเก็บไว้นานแค่ไหน
เริ่มสร้างสรรค์ด้วย Mage
หนึ่งบัญชี หนึ่งยอด Gems ใช้ได้ทุกโมเดล จ่ายเฉพาะที่สร้างจริง