minimax-h3-imageافتراضيMinimax H3 Image API — كيفية الاتصال والدفع
MiniMax H3 Image — توليد الصور وتحريرها. دقة 1K/2K/4K (حتى ~16 ميغابكسل) أو عرض×ارتفاع مخصص (0.66–20 ميغابكسل، حتى 8192 بكسل لكل جانب)، مع 10 نسب أبعاد بالإضافة إلى الوضع التلقائي. يقبل التحرير 1–16 صورة مرجعية؛ وتضيف كل صورة مرجعية 0.5 من الرصيد إلى السعر. توسيع الموجّه مفعّل افتراضيًا؛ والمخرجات بصيغة PNG أو JPEG؛ مع بذرة اختيارية.
مقارنة القنوات
آخر 7 أيام
| القناة | السعر |
|---|---|
Pixel minimax-h3-imageافتراضي | يبدأ من $0.012 per image |
أنشئ النتيجة التي تحتاج إليها
minimax-h3-imageما هو Minimax H3 Image
MiniMax H3 Image — توليد الصور وتحريرها. دقة 1K/2K/4K (حتى ~16 ميغابكسل) أو عرض×ارتفاع مخصص (0.66–20 ميغابكسل، حتى 8192 بكسل لكل جانب)، مع 10 نسب أبعاد بالإضافة إلى الوضع التلقائي. يقبل التحرير 1–16 صورة مرجعية؛ وتضيف كل صورة مرجعية 0.5 من الرصيد إلى السعر. توسيع الموجّه مفعّل افتراضيًا؛ والمخرجات بصيغة PNG أو JPEG؛ مع بذرة اختيارية.
ملخص العقد
- الإدخال
- text, image
- الإخراج
- image
- الوضع
- غير متزامن (مهمة + استعلام دوري)
- الاستعلام عن الحالة
- كل 3 ثوانٍ · حتى 90 ثانية
نقاط القوة
- التسعير: لكل صورة
- المدخلات: نص، صورة
- 2 خياران قابلان للتهيئة
- مفتاح API واحد لتوليد الوسائط
أين يُستخدم
- رسوم توضيحية للمقالات ووسائل التواصل الاجتماعي
- صور المنتجات
- اللافتات والأغلفة
- نماذج أولية للتصميم
عقد API
تتم عملية الإنشاء بشكل غير متزامن: أنشئ مهمة، ثم استعلم عن حالتها حتى تكتمل.
- إنشاء مهمة
- POST /api/media/generate
- التحقق من الحالة
- GET /api/media/jobs/{jobId}
- الإدخال
- text, image
- الإخراج
- image
- الاستعلام الدوري
- كل 3 ثوانٍ · حتى 90 ثانية
- المصادقة
- Authorization: Bearer sk-pv-…
مثال على طلب
مرّر مفتاحك في ترويسة Bearer. تُرجع API jobId للاستعلام عن الحالة.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"minimax-h3-image","prompt":"a beautiful landscape","opts":{"mode":"text-to-image","aspect_ratio":"auto","resolution":"2K","expand_prompt":true,"output_format":"png"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "minimax-h3-image",
"prompt": "a beautiful landscape",
"opts": {
"mode": "text-to-image",
"aspect_ratio": "auto",
"resolution": "2K",
"expand_prompt": true,
"output_format": "png"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);معلمات طلب API
معلمات الطلبات إلى Minimax H3 Image عبر GetVibe API.
promptمطلوبimage_urlmodeaspect_ratioresolutionwidthheightexpand_promptoutput_formatseedimage_urlsimage_file_idimage_base64input_file_ids| المعلمة | النوع | القيم | الافتراضي | السعر |
|---|---|---|---|---|
promptمطلوب | text | text description | required | — |
image_url | URL | Public image URL | — | — |
mode | option selection | Generate (text → image) (default) · Edit (image → image) | توليد (نص → صورة) | Generate (text → image): $0.012, Edit (image → image): $0.015333 |
aspect_ratio | option selection | Auto (default) · 1:1 · 5:4 · 4:3 · 3:2 · 16:9 · 21:9 · 4:5 · 3:4 · 2:3 · 9:16 | تلقائي | Included in the base price |
resolution | option selection | 1K (~1 MP) · 2K (~4 MP) (default) · 4K (~16 MP) | 2K (~4 MP) | 1K (~1 MP): $0.012, 2K (~4 MP): $0.012, 4K (~16 MP): $0.036667 |
width | text / number | any value | — | Included in the base price |
height | text / number | any value | — | Included in the base price |
expand_prompt | yes/no | Yes (default) · No | نعم | Included in the base price |
output_format | option selection | PNG (default) · JPEG | PNG | Included in the base price |
seed | text / number | any value | — | Included in the base price |
image_urls | Array<URLs>, 0–16 items | Public HTTP(S) URLs | — | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
input_file_ids | Array<strings> | List of values | — | Included in the base price |
الطلب: POST https://getvibeapi.com/api/media/generate. الأسعار بالدولار الأمريكي.
سعر Minimax H3 Image
تكلفة Minimax H3 Image: من $0.012 per image. يُحتسب السعر ديناميكيًا وفق سعر الصرف الحالي، وتظهر التكلفة النهائية في استجابة API (priceRub). الدفع بالدولار الأمريكي، دون اشتراكات.
تكلفة الطلب الافتراضي
عند عدم إرسال أي معلمات، يستخدم الطلب هذه القيم: Resolution — 2K (~4 MP), Mode — Generate (text → image), Frame format — Auto, Enhance prompt (on by default) — Yes. تبلغ تكلفة هذا الطلب $0.012.
القنوات والأسعار لكل مجموعة من المعلمات
لكل قناة، سعر كل مجموعة من المعلمات. هذا هو المبلغ المحدد الذي تُحاسَب عليه عملية الإنشاء الناجحة، وهو الرقم نفسه الوارد في الجدول القابل للقراءة آليًا المرتبط أدناه.
Pixelminimax-h3-imageيبدأ من $0.012أسعار دقيقة
| الوضع \ الدقة | 1K (~1 MP) | 2K (~4 MP) | 4K (~16 MP) |
|---|---|---|---|
| توليد (نص → صورة) | $0.012 | $0.012 | $0.036667 |
| تحرير (صورة → صورة) | $0.015333 | $0.015333 | $0.04 |
كل مجموعة بصيغة JSON: /api/media/price-table?model=minimax-h3-image
README
يحتوي العقد القابل للقراءة آليًا لـ Minimax H3 Image على مخطط الطلب، والعمليات، والحدود، وأمثلة الاستطلاع والاستجابة.
# Minimax H3 Image
نموذج عام: minimax-h3-image
إنشاء مهمة: POST /api/media/generate
التحقق من الحالة: GET /api/media/jobs/{jobId}
## معلمات الإدخال
- `prompt` (text): text description; افتراضي: required
- `image_url` (URL): Public image URL; افتراضي: —
- `mode` (option selection): Generate (text → image) (default) · Edit (image → image); افتراضي: Generate (text → image)
- `aspect_ratio` (option selection): Auto (default) · 1:1 · 5:4 · 4:3 · 3:2 · 16:9 · 21:9 · 4:5 · 3:4 · 2:3 · 9:16; افتراضي: Auto
- `resolution` (option selection): 1K (~1 MP) · 2K (~4 MP) (default) · 4K (~16 MP); افتراضي: 2K (~4 MP)
- `width` (text / number): any value; افتراضي: —
- `height` (text / number): any value; افتراضي: —
- `expand_prompt` (yes/no): Yes (default) · No; افتراضي: Yes
- `output_format` (option selection): PNG (default) · JPEG; افتراضي: PNG
- `seed` (text / number): any value; افتراضي: —
- `image_urls` (Array<URLs>, 0–16 items): Public HTTP(S) URLs; افتراضي: —
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); افتراضي: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; افتراضي: —
- `input_file_ids` (Array<strings>): List of values; افتراضي: —
## الأنواع العامة
- `minimax-h3-image`: Pixelالأسئلة الشائعة حول واجهة برمجة تطبيقات Minimax H3 Image
كم تبلغ تكلفة Minimax H3 Image؟
سعر Minimax H3 Image: من $0.012 per image. يُحتسب السعر ديناميكيًا وفق سعر الصرف الحالي.
هل يتوافق مع OpenAI SDK؟
نعم، واجهة برمجة التطبيقات متوافقة بالكامل مع OpenAI. ما عليك سوى تغيير base_url إلى https://getvibeapi.com/v1 وإضافة مفتاحك — وستبقى بقية الشفرة كما هي.
اربط Minimax H3 Image الآن
أنشئ حسابًا خلال دقيقة، وادفع حسب الاستخدام، واستفد من الشفرة الجاهزة أعلاه.
الحصول على مفتاح API