API Doc-ElkAPI
  1. Replicate(image)
API Doc-ElkAPI
  • Quick Start
    • Quick Start
    • Must-read for beginners
    • ElkAPI Announcement
  • API Reference
    • Error status code description
    • OpenAI Format
      • Veo3-chat format
      • seedance
      • response
      • generate video
      • image
      • Image Editing (gpt-image-1)
      • embed
      • Realtime
      • Get model list
      • Response ID to obtain results
      • Hunyuan3D
    • Anthropic Format
      • Anthropic Claude
    • Midjourney Image Generation
      • Quick teaching-complete process in one go
      • Task Query
        • pagination query
        • Specify ID to obtain task
      • Submit Imagine task
      • Submit video task
      • Submit editing task
      • Submit Action Task
      • Submit Blend task
      • Submit Describe task
      • Submit Modal
    • Image Generation
      • ideogram(images)
        • Official documentation (updated in real time)
        • Generate 3.0 (illustrated in the text)
        • Reframe 3.0 (Refactoring)
        • Replace Background 3.0
        • Remix 3.0 (Mixed Graph)
        • Edit 3.0 (Edit)
        • Generate (text and image)
        • Remix (mixed image)
        • Upscale (enlarged high-definition)
        • Describe
        • Edit
      • Flux(images)
        • Create Task - General
        • generate image
        • Fine tuning (temporarily unavailable)
        • query task
        • Generate image (replica format)
      • Replicate(image)
        • Create Task - General
          POST
        • Create task - float kontext pro, max
          POST
        • Create task-black forest labs/flux-1.1-pro
          POST
        • Create task-black forest labs/flux-1.1-pro ultra
          POST
        • query task
          GET
        • Create task
          POST
      • Recraft(images)
        • Generate Image
        • Vectorize Image
        • Remove Background
        • Clarity Upscale
        • Create style
        • Generative Upscale
    • Music Generation
      • Suno
        • Set suno version
        • Suno API Scenario Application Guide
        • Generate lyrics
        • Generate music
        • Upload music
        • Song Splicing
        • Full track acoustic separation
        • Single track acoustic separation
        • Create a new Persona
        • Query a single task
        • Generate MP4 MV video
        • Retrieve WAV format files
        • Timing: Lyrics, audio timeline
        • Batch query task
        • Create music using persona_id
      • Udio (not available yet)
        • Generate music
        • Query a single task
    • Video Generation
      • veo3
        • veo3-chat format
        • Submit video generation task
        • Check the video generation status
      • Dream Test
        • seedance
      • runway(video)
        • Official format
          • Generate videos from images
          • Get detailed task information
        • Reverse format
          • Generate (text)
          • Generate (refer to image)
          • Video2video video to video style redrawing
          • Act one emoji transfer
          • Feed - Get Task
      • kling (video)
        • Callback Protocol
        • image expansion
        • generate image
        • text-to-video
        • image-to-video
        • Video extension
        • Virtual try on
        • lip-sync
        • video effects
        • Query task (single)
      • luma (video)
        • Official API format
          • generate video
          • Single query task
      • MiniMax Conch (video)
        • Official Documentation
        • video generation
        • query task
        • File Download
      • PIKA(video)
        • Universal version
          • generate video
          • Query video tasks
        • Generate (reference video/extended video)
        • Generate (refer to image)
        • Generate (text)
        • feed
      • sora
        • Reverse format
          • Create video
          • Generate Video
          • Query video tasks
    • Audio
      • Text to audio conversion
      • audio to text
      • Create translation
  • Integration Guide
    • Best Practices
      • Claude code access instructions
      • ElkAPI Account Balance Query API Usage Instructions
      • Retry logic documentation using ElkAPI and OpenAI's official API
      • Midjorney Calling Best Practices
      • Runway Call Best Practices
    • Application Integration Guide
  • Pricing and Billing
    • About Price
    • About Grouping
  • Help Center
    • Help Center
    • Interface stability
    • Common Misconceptions
    • Use confusion
    • Privacy Policy
    • Terms of Service
  1. Replicate(image)

query task

GET
https://api.elkapi.com/replicate/v1/predictions/{id}

Request

Path Params

Header Params

Responses

🟒200OK
application/json
success
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.elkapi.com/replicate/v1/predictions/1mw0gka0d9rma0cnymeaj7zk1g' \
--header 'Authorization: Bearer {{api-key}}'
Response Response Example
{
  "id": "hvmbv5hndhrme0cpws2rnqqf60",
  "logs": "Seed set to: 493139620\nRunning workflow\ngot prompt\nExecuting node 6, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode\nExecuting node 67, title: ConditioningZeroOut, class type: ConditioningZeroOut\nExecuting node 68, title: ConditioningSetTimestepRange, class type: ConditioningSetTimestepRange\nExecuting node 69, title: Conditioning (Combine), class type: ConditioningCombine\nExecuting node 294, title: KSampler, class type: KSampler\n0%|          | 0/40 [00:00<?, ?it/s]\n2%|β–Ž         | 1/40 [00:00<00:04,  8.05it/s]\n5%|β–Œ         | 2/40 [00:00<00:07,  4.80it/s]\n8%|β–Š         | 3/40 [00:00<00:07,  4.93it/s]\n10%|β–ˆ         | 4/40 [00:00<00:07,  4.99it/s]\n12%|β–ˆβ–Ž        | 5/40 [00:00<00:06,  5.02it/s]\n15%|β–ˆβ–Œ        | 6/40 [00:01<00:06,  5.05it/s]\n18%|β–ˆβ–Š        | 7/40 [00:01<00:06,  5.06it/s]\n20%|β–ˆβ–ˆ        | 8/40 [00:01<00:06,  5.06it/s]\n22%|β–ˆβ–ˆβ–Ž       | 9/40 [00:01<00:06,  5.06it/s]\n25%|β–ˆβ–ˆβ–Œ       | 10/40 [00:01<00:05,  5.06it/s]\n28%|β–ˆβ–ˆβ–Š       | 11/40 [00:02<00:05,  5.06it/s]\n30%|β–ˆβ–ˆβ–ˆ       | 12/40 [00:02<00:05,  5.07it/s]\n32%|β–ˆβ–ˆβ–ˆβ–Ž      | 13/40 [00:02<00:05,  5.07it/s]\n35%|β–ˆβ–ˆβ–ˆβ–Œ      | 14/40 [00:02<00:05,  5.08it/s]\n38%|β–ˆβ–ˆβ–ˆβ–Š      | 15/40 [00:02<00:04,  5.08it/s]\n40%|β–ˆβ–ˆβ–ˆβ–ˆ      | 16/40 [00:03<00:04,  5.08it/s]\n42%|β–ˆβ–ˆβ–ˆβ–ˆβ–Ž     | 17/40 [00:03<00:04,  5.08it/s]\n45%|β–ˆβ–ˆβ–ˆβ–ˆβ–Œ     | 18/40 [00:03<00:04,  5.08it/s]\n48%|β–ˆβ–ˆβ–ˆβ–ˆβ–Š     | 19/40 [00:03<00:04,  5.09it/s]\n50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     | 20/40 [00:03<00:03,  5.09it/s]\n52%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž    | 21/40 [00:04<00:03,  5.09it/s]\n55%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ    | 22/40 [00:04<00:03,  5.09it/s]\n57%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š    | 23/40 [00:04<00:03,  5.08it/s]\n60%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    | 24/40 [00:04<00:03,  5.08it/s]\n62%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž   | 25/40 [00:04<00:02,  5.08it/s]\n65%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ   | 26/40 [00:05<00:02,  5.08it/s]\n68%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š   | 27/40 [00:05<00:02,  5.03it/s]\n70%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   | 28/40 [00:05<00:02,  5.04it/s]\n72%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž  | 29/40 [00:05<00:02,  5.05it/s]\n75%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ  | 30/40 [00:05<00:01,  5.06it/s]\n78%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š  | 31/40 [00:06<00:01,  5.06it/s]\n80%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  | 32/40 [00:06<00:01,  5.06it/s]\n82%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž | 33/40 [00:06<00:01,  5.06it/s]\n85%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 34/40 [00:06<00:01,  5.07it/s]\n88%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 35/40 [00:06<00:00,  5.08it/s]\n90%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 36/40 [00:07<00:00,  5.08it/s]\n92%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž| 37/40 [00:07<00:00,  5.05it/s]\n95%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ| 38/40 [00:07<00:00,  5.05it/s]\n98%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š| 39/40 [00:07<00:00,  5.04it/s]\n100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 40/40 [00:07<00:00,  4.99it/s]\n100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 40/40 [00:07<00:00,  5.07it/s]\nExecuting node 8, title: VAE Decode, class type: VAEDecode\nExecuting node 309, title: Save Image, class type: SaveImage\nPrompt executed in 8.44 seconds\noutputs:  {'309': {'images': [{'filename': 'R8_sd3.5L_00001_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nR8_sd3.5L_00001_.png\n",
  "urls": {
    "get": "https://api.replicate.com/v1/predictions/hvmbv5hndhrme0cpws2rnqqf60",
    "cancel": "https://api.replicate.com/v1/predictions/hvmbv5hndhrme0cpws2rnqqf60/cancel",
    "stream": "https://stream.replicate.com/v1/files/bcwr-ncd5hup2fsbkmgzekx5amaeffdq2q5chgothvyneybb6aliwdqnq"
  },
  "error": null,
  "input": {
    "prompt": "black forest gateau cake spelling out the words \"FLUX SCHNELL\", tasty, food photography, dynamic shot"
  },
  "model": "stability-ai/stable-diffusion-3.5-large",
  "output": [
    "https://replicate.delivery/xezq/fCzG33Tfn4vttEJVGKpeoWvvoGoOeqL3v9opPr6A9CBprQ4SB/out-0.webp"
  ],
  "status": "succeeded",
  "metrics": {
    "image_count": 1,
    "predict_time": 8.733386377
  },
  "version": "hidden",
  "created_at": "2025-05-19T02:00:17.516Z",
  "started_at": "2025-05-19T02:00:17.53369162Z",
  "completed_at": "2025-05-19T02:00:26.267077996Z",
  "data_removed": false
}
Previous
Create task-black forest labs/flux-1.1-pro ultra
Next
Create task
Built with