- 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
replicate query
Testing
GET
https://api.cometapi.com/replicate/v1/predictions/{id}
Replicate
Request
Path Params
id
string
required
Example:
j5byag9d29rma0cnjba84vxdzc
Header Params
Authorization
string
required
Example:
Bearer {{api-key}}
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 GET 'https://api.cometapi.com/replicate/v1/predictions/j5byag9d29rma0cnjba84vxdzc' \
--header 'Authorization: Bearer {{api-key}}'
Responses
🟢200OK
application/json
Body
id
string
optional
model
string
optional
version
string
optional
input
object
optional
logs
string
optional
output
object
optional
status
enum<string>
optional
Allowed values:
succeededfailedprocessing
created_at
string <date-time>
optional
started_at
string <date-time>
optional
completed_at
string <date-time>
optional
urls
object
optional
metrics
object
optional
Example
{
"id": "t2s7f615pdrm40ck09v88sm224",
"model": "black-forest-labs/flux-schnell",
"version": "dp-4d0bcc010b3049749a251855f12800be",
"input": {
"prompt": "black forest gateau cake spelling out the words \"FLUX SCHNELL\", tasty, food photography, dynamic shot"
},
"logs": "Using seed: 60392\nrunning quantized prediction\nUsing seed: 60392\n 0%| | 0/4 [00:00<?, ?it/s]\n 50%|█████ | 2/4 [00:00<00:00, 18.90it/s]\n100%|██████████| 4/4 [00:00<00:00, 13.76it/s]\n100%|██████████| 4/4 [00:00<00:00, 14.34it/s]\nTotal safe images: 1 out of 1\n",
"output": [
"https://replicate.delivery/yhqm/ET5pE6NBPtbKGVXfuHLhyfTEsNAZu6Z1X1aR6PufeXf0rqydC/out-0.webp"
],
"data_removed": false,
"error": null,
"status": "succeeded",
"created_at": "2024-11-06T17:11:57.619Z",
"started_at": "2024-11-06T17:11:57.625316416Z",
"completed_at": "2024-11-06T17:11:58.232302833Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/t2s7f615pdrm40ck09v88sm224/cancel",
"get": "https://api.replicate.com/v1/predictions/t2s7f615pdrm40ck09v88sm224",
"stream": "https://stream.replicate.com/v1/files/wcdb-c34r7kxfbxiit6ukraxcir7dtxmqtu6zoirh6xiawnvn44bqilyq"
},
"metrics": {
"image_count": 1,
"predict_time": 0.606986414
}
}