prompterf.Grok Imagine 2.0 EXT API — wie man verbindet und bezahlt
Grok Imagine 2.0 Region Edit — vorübergehend nicht verfügbar.
Erstelle das benötigte Ergebnis
grok-imagine-2.0-ext:whiteDieses Modell veröffentlicht im Katalog nur seinen Mindestpreis.
Was ist Grok Imagine 2.0 EXT
Grok Imagine 2.0 Region Edit — vorübergehend nicht verfügbar.
Vertrag auf einen Blick
- Eingabe
- text, image
- Ausgabe
- image
- Modus
- asynchron (Auftrag + Abruf)
- Statusabfrage
- alle 3 s · bis zu 90 s
Stärken
- Preisgestaltung: pro Bild
- Eingaben: Text, Bild
- 2 konfigurierbare Optionen
- Ein API-Schlüssel für die Mediengenerierung
Wo es eingesetzt wird
- Illustrationen für Artikel und soziale Medien
- Produktbilder
- Banner und Titelbilder
- Design-Prototypen
API-Vertrag
Die Generierung läuft asynchron: Erstelle einen Auftrag und frage anschließend seinen Status bis zum Abschluss ab.
- Auftrag erstellen
- POST /api/media/generate
- Status prüfen
- GET /api/media/jobs/{jobId}
- Eingabe
- text, image
- Ausgabe
- image
- Statusabfrage
- alle 3 s · bis zu 90 s
- Authentifizierung
- Authorization: Bearer sk-pv-…
Beispielanfrage
Übermittle deinen Schlüssel im Bearer-Header. Die API gibt jobId für die Statusabfrage zurück.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"grok-imagine-2.0-ext:white","prompt":"a beautiful landscape","opts":{"mode":"region_edit","image_url":"https://example.com/image_url.png","resolution":"1K"}}'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": "grok-imagine-2.0-ext:white",
"prompt": "a beautiful landscape",
"opts": {
"mode": "region_edit",
"image_url": "https://example.com/image_url.png",
"resolution": "1K"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);API-Anfrageparameter
Parameter für Anfragen an Grok Imagine 2.0 EXT über die GetVibe API.
image_urlmoderesolutionimage_file_idimage_base64| Parameter | Typ | Werte | Standard | Preis |
|---|---|---|---|---|
prompterf. | text | text description | required | — |
image_url | URL | Public image URL | — | — |
mode | option selection | Region edit (default) | Region edit | Included in the base price |
resolution | option selection | 1K (default) · 2K | 1K | 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 |
Anfrage: POST https://getvibeapi.com/api/media/generate. Preise in USD.
Preis von Grok Imagine 2.0 EXT
Der Preis von Grok Imagine 2.0 EXT wird bestätigt: Der Anbieter hat für diesen Vertrag noch keinen zunächst bestätigten Preis veröffentlicht. Die Generierung wird verfügbar, sobald der Preis bestätigt ist.
README
Der maschinenlesbare Vertrag für Grok Imagine 2.0 EXT enthält das Anfrage-Schema, Vorgänge, Limits, Statusabfragen und Antwortbeispiele.
# Grok Imagine 2.0 EXT
Öffentliches Modell: grok-imagine-2.0-ext:white
Auftrag erstellen: POST /api/media/generate
Status prüfen: GET /api/media/jobs/{jobId}
## Eingabeparameter
- `prompt` (text): text description; Standard: required
- `image_url` (URL): Public image URL; Standard: —
- `mode` (option selection): Region edit (default); Standard: Region edit
- `resolution` (option selection): 1K (default) · 2K; Standard: 1K
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); Standard: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; Standard: —
## Öffentliche Varianten
- `grok-imagine-2.0-ext:white`: StandardFAQ zur Grok Imagine 2.0 EXT-API
Wie viel kostet Grok Imagine 2.0 EXT?
Der Preis von Grok Imagine 2.0 EXT: auf Anfrage. Der Preis wird dynamisch zum aktuellen Wechselkurs berechnet.
Ist es mit dem OpenAI SDK kompatibel?
Ja, die API ist vollständig OpenAI-kompatibel. Ändere einfach base_url zu https://getvibeapi.com/v1 und setze deinen Schlüssel — der restliche Code bleibt unverändert.
Grok Imagine 2.0 EXT jetzt verbinden
In einer Minute registrieren, nach Nutzung bezahlen, fertiger Code oben.
API-Schlüssel erhalten