flux-kontextStandardFlux Kontext API — wie man verbindet und bezahlt
Flux Kontext — Bearbeitung und Bild-zu-Bild.
Kanalvergleich
letzte 7 Tage
| Kanal | Preis |
|---|---|
Pixel flux-kontextStandard | ab $0.033333 per image |
Erstelle das benötigte Ergebnis
flux-kontextWas ist Flux Kontext
Flux Kontext — Bearbeitung und Bild-zu-Bild.
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
- 5 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":"flux-kontext","prompt":"a beautiful landscape","opts":{"aspect_ratio":"1:1","tier":"pro","image_url":"https://example.com/image_url.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": "flux-kontext",
"prompt": "a beautiful landscape",
"opts": {
"aspect_ratio": "1:1",
"tier": "pro",
"image_url": "https://example.com/image_url.png"
}
}),
});
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 Flux Kontext über die GetVibe API.
prompterf.image_urlaspect_ratiotierimage_file_idimage_base64| Parameter | Typ | Werte | Standard | Preis |
|---|---|---|---|---|
prompterf. | text | text description | required | — |
image_url | URL | Public image URL | — | — |
aspect_ratio | option selection | 1:1 (default) · 16:9 · 9:16 · 4:3 · 3:4 | 1:1 | Included in the base price |
tier | option selection | Pro (default) · Max (max quality) | Pro | Pro: $0.033333, Max (max quality): $0.066667 |
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 Flux Kontext
Die Kosten für Flux Kontext: von $0.033333 per image. Der Preis wird dynamisch zum aktuellen Wechselkurs berechnet, und der endgültige Betrag wird in der API-Antwort angezeigt (priceRub). Zahlung in USD, keine Abonnements.
Was eine Standardanfrage kostet
Ohne gesendete Parameter verwendet die Anfrage diese Werte: Version and quality — Pro, Frame format — 1:1. Diese Anfrage kostet $0.033333.
Kanäle und Preise für jede Parameterkombination
Für jeden Kanal der Preis jeder Parameterkombination. Dies ist genau der Betrag, der für eine erfolgreiche Generierung berechnet wird, und entspricht dem Wert in der unten verlinkten maschinenlesbaren Tabelle.
Pixelflux-kontextab $0.033333exakte Preise
| Qualität | Pro | Max (maximale Qualität) |
|---|---|---|
| Pixel | $0.033333 | $0.066667 |
Jede Kombination als JSON: /api/media/price-table?model=flux-kontext
README
Der maschinenlesbare Vertrag für Flux Kontext enthält das Anfrage-Schema, Vorgänge, Limits, Statusabfragen und Antwortbeispiele.
# Flux Kontext
Öffentliches Modell: flux-kontext
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: —
- `aspect_ratio` (option selection): 1:1 (default) · 16:9 · 9:16 · 4:3 · 3:4; Standard: 1:1
- `tier` (option selection): Pro (default) · Max (max quality); Standard: Pro
- `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
- `flux-kontext`: PixelFAQ zur Flux Kontext-API
Wie viel kostet Flux Kontext?
Der Preis von Flux Kontext: von $0.033333 per image. 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.
Flux Kontext jetzt verbinden
In einer Minute registrieren, nach Nutzung bezahlen, fertiger Code oben.
API-Schlüssel erhalten