- GET START
- OpenAI Compatiable Endpoint
- Audio
- Anthropic Compatiable Endpoint
- Music Generation Endpoint
- Image Generation Endpoint
- Midjourney(images)
- Ideogram(images)
- Flux(images)
- Replicate(image)
- Recraft(images)
- Video Generation Ednpoint
- Software Integration Guide
- cometapi Site API Call Testing
- OpenManus
- Chatbox
- CherryStudio
- Cursor
- ChatHub
- cline
- dify
- gptme
- Immersive Translation
- Lobe-Chat
- Zotero
- LangChain
- AnythingLLM
- Eudic Translation
- OpenAI Translator
- ChatAll Translation
- Pot Translation
- GPT Academic Optimization (gpt_academic)
- NEXT CHAT (ChatGPT Next Web)
- Obsidian's Text Generator Plugin
- Open WebUI
- avante.nvim
- librechat
- Lazy Customer Service
- utools-ChatGPT Friend
- IntelliJ Translation Plugin
- n8n
replicate Generate
Testing
POST
https://api.cometapi.com/replicate/v1/predictions
Replicate
Maintainer:Not configured
https://replicate.com/docs/reference/http
Request
Header Params
Authorization
string
required
Example:
Bearer {{api-key}}
Prefer
string
required
Default:
wait=10
Example:
wait=10
Body Params application/json
model
string
required
input
object
required
prompt
string
required
Example
{
"model": "stability-ai/stable-diffusion-3.5-large",
"input": {
"prompt": "black forest gateau cake spelling out the words \"FLUX SCHNELL\", tasty, food photography, dynamic shot"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.cometapi.com/replicate/v1/predictions' \
--header 'Authorization: Bearer {{api-key}}' \
--header 'Prefer: wait=10' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "stability-ai/stable-diffusion-3.5-large",
"input": {
"prompt": "black forest gateau cake spelling out the words \"FLUX SCHNELL\", tasty, food photography, dynamic shot"
}
}'
Responses
🟢200OK
application/json
Body
id
string
optional
model
string
optional
version
string
optional
input
object
optional
prompt
string
required
logs
string
optional
output
array[string]
optional
data_removed
boolean
optional
error
null
optional
status
string
optional
created_at
string
optional
urls
object
optional
cancel
string
required
get
string
required
stream
string
required
Example
{
"id": "r4prrv83g9rma0cnh0vbhqhb2g",
"model": "black-forest-labs/flux-schnell",
"version": "hidden",
"input": {
"prompt": "black forest gateau cake spelling out the words \"FLUX SCHNELL\", tasty, food photography, dynamic shot"
},
"logs": "",
"output": [
"https://replicate.delivery/xezq/QqAPxL5nRxpRClFy7oV3WuDdNnMIAsreRI0tivKvDpBaK1LKA/out-0.webp"
],
"data_removed": false,
"error": null,
"status": "processing",
"created_at": "2025-03-12T02:36:36.098Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/r4prrv83g9rma0cnh0vbhqhb2g/cancel",
"get": "https://api.replicate.com/v1/predictions/r4prrv83g9rma0cnh0vbhqhb2g",
"stream": "https://stream.replicate.com/v1/files/bcwr-ctgqnxzmppcbcbpvpygk5qnsd4nmxzw2zkofxfcx2cfl2f4pl3fq"
}
}