Replicate
Predictions erstellen - Allgemein
POST /replicate/v1/models//predictions erstellt FLUX-Bilder über das Replicate-Format auf CometAPI, mit Seitenverhältnis, Qualität, Ausgabeformat und input-Tuning.
POST
Create a Replicate prediction
Verwende diese Route, um eine Prediction im Replicate-Stil auf CometAPI zu starten und eine prediction id für späteres Polling zurückzubekommen.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Checkliste für die erste Anfrage
- Lege jeden Modellparameter innerhalb des
input-Objekts ab - Starte mit
black-forest-labs/flux-schnellfür die schnellste erste Anfrage - Halte die erste Anfrage rein textbasiert, es sei denn, du benötigst ausdrücklich
input_imageoderinput_images - Speichere die zurückgegebene Prediction-
idfür Statusprüfungen
Aufgabenablauf
Poll the prediction
Fahre mit Replicate Status abfragen fort, bis
output ausgefüllt ist oder ein Fehler erscheint.Autorisierungen
Bearer token authentication. Use your CometAPI key.
Pfadparameter
Replicate model id, for example black-forest-labs/flux-schnell or black-forest-labs/flux-kontext-pro.
Body
application/json
Provider-specific model input. Keep all parameters inside this object.
Antwort
200 - application/json
Prediction accepted.