Pinky API
  1. Replicate aggregation platform
Pinky API
  • Pinky API
    • introduction
    • Online debugging instructions
    • Make a request
    • Chat
      • ChatGpt interface
        • ChatGPT Audio
          • GPT-4o-audio
          • Audio to text whisper-1
          • Audio to text gpt-4o-transcribe
          • Create voice gpt-4o-mini-tts
          • Create a translation (not supported)
        • ChatGPT Chat (Chat)
          • Chat completed object
          • Chat complete block object
          • Create a chat completion (streaming)
          • Create chat completion (non-stream)
          • Create a chat image (streaming)
          • Create chat image (streaming) best64
          • Create a chat image (non-stream)
          • Create a chat creation map (non-stream)
          • Official Function calling call
          • Official N test
          • List the model
          • Create a chat function call
          • Create structured output
          • Controlling the degree of effort of inference model
          • Create a chat completion qwen-mt-turbo
          • Create chat completion deepseek v3.1 thinking degree (streaming)
        • ChatGPT automatic completion (Completions)
          • Complete object
          • Created complete
        • ChatGPT Embeddings
          • Embed Objects
          • Create an embed
        • Web Search
          • Web Search
      • Anthropic Claude interface
        • Chat completed object
        • Chat complete block object
        • Create chat completion (streaming) [native format]
        • Create function call (streaming) [native format]
        • Create a thought chat [native format]
        • Create a thought chat
        • Create a chat completion (streaming)
        • Create chat completion (non-stream)
        • Create a chat image (streaming)
        • Create a chat image (non-stream)
      • Google Gemini interface
        • Native format
          • Chat interface [native format]
          • Chat interface-stream [native format]
          • Chat interface + thinking - stream [native format]
          • Image creation [native format]
          • Image editing [Native format] gemini-2.5-flash-image-preview
          • Image editing [native format]
          • Image understanding [native format]
          • Format output [Native format]
          • Function call [native format]
          • Document understanding [Native format]
          • google-search [native format]
          • Video Understanding-base64 [Native Format]
          • Chat interface - Read web page [Native format] Under development
          • Video Understanding - url [Native Format] Under Development
          • Imagen 3 Generate Images [Native Format] Under Development
        • chat compatible format
          • gemini picture creation interface [chat compatible format]
          • Chat interface [chat compatible format]
          • Chat Interface-Thinking 1 [chat compatible format]
          • Chat Interface-Thinking 2 [chat compatible format]
          • Graphic recognition interface [chat compatible format]
          • Chat + read file interface [chat compatible format]
    • Chat (Responses)
      • Comparison of Responses API and Chat API
      • Create a model response
      • Create a function call
      • Create a model response (streaming return)
      • Create a model response (control thinking length)
      • Create a web search
      • Create a model response gpt-5 enable thinking
    • Drawing model
      • README
      • Image object
      • Midjourney
        • Upload pictures
        • Submit Imagine Tasks
        • Query task status based on task ID
        • Query tasks based on ID list
        • Get the seed of the task image
        • Perform Action Action
        • Submit Blend Task
        • Submit Describe Task
        • Submit Shorten task
        • Submit Modal
        • Submit swap_face task
      • Ideogram
        • Generate 3.0 (Photo by Wensheng) Generate
        • Generate 3.0 (Picture Edit) Edit
        • Generate 3.0 (Picture Remake) Remix
        • Generate 3.0 (image reconstruction) Reframe
        • Generate 3.0 (replace background) Replace Background
        • Ideogram (Literature Photo)
        • Remix (mixed image)
        • Upscale (Zoom in HD)
        • Describe (Description)
      • GPT Image-1
        • Create gpt-image-1
        • Edit gpt-image-1
        • Mask gpt-image-1
      • DALL·E 3
        • Create DALL·E 3
      • FLUX Series
        • GPT Compatible Format
          • Flux creation (OpenAI dall-e-3 format)
          • Flux editing (OpenAI dall-e-3 format)
        • Replicate official format
          • Access Tutorial
          • Create a task black-forest-labs/flux-kontext-dev
          • Query tasks
      • Bean bag series
        • doubao-seedream-3-0-t2i-250415
        • doubao-seededit-3-0-i2i-250628
        • doubao-seedream-4-0-250828-Wensheng Picture
        • doubao-seedream-4-0-250828-pictures
        • doubao-seedream-4-0-250828- Multiple pictures and pictures
      • Fal.ai platform
        • Status code
        • Get the request result
        • /fal-ai/nano-banana Text-to-Image
        • /fal-ai/nano-banana/edit Image Editing
    • Video Model
      • Veo Video Generation
        • Unified Video Format
          • Status code
          • Create a video
          • Query tasks
          • Create videos with pictures
      • Luma VIdeo Generation
        • Official API format
          • Status code
          • Submit a video generating task
          • Extended Video
        • Query tasks
          • Query a single task
          • Bulk acquisition tasks
      • Kling Kuaishou Kao Ling
        • Callback protocol
        • Image generation
        • Wensheng Video
        • Pictures and videos
        • Query Tasks (Free)
      • Runway video generation
        • Status code
        • Submit video generation task
        • Query video tasks (free)
      • Dream video generation
        • Status code
        • Submit video generation task
        • Query video tasks (free)
      • Conch video generation
        • Status code
        • Submit video generation task
        • Video task status query
      • Doubao Video Generation
        • Text-to-Video Example
        • Image-to-Video (First Frame)
        • seedance-lite (First and Last Frame)
        • Image-to-Video (base64)
        • seedance-lite (Reference Images)
        • Query single task
        • Query video task list (default)
        • Query video task list (multiple task IDs)
    • GPTs Related
      • Introduction
      • GPTs dialogue
    • System API
      • Get the token list
      • Add token
      • Get the token support model
      • Get account information
    • Wensheng Music Suno
      • illustrate
      • parameter
      • Task Submission
        • Generate songs (inspiration mode)
        • Generate songs (custom mode)
        • Generate songs (continued mode)
        • Generate songs (singer style)
        • Generate songs (upload songs for secondary creation)
        • Generate songs (split songs)
        • Generate lyrics
        • Song splicing
      • Query interface
        • Bulk acquisition tasks
        • Query a single task
    • Fal-ai aggregation platform
      • Access Tutorial
      • Get the request result
      • /fal-ai/flux-1/dev
      • /fal-ai/flux-1/dev/image-to-image
      • /fal-ai/flux-1/dev/redux
      • /fal-ai/flux-1/schnell/redux
      • /fal-ai/flux-pro/kontext
      • /fal-ai/flux-pro/kontext/text-to-image
      • /fal-ai/flux-pro/kontext/max
      • /fal-ai/flux-pro/kontext/max/multi
      • /fal-ai/wan/v2.2-a14b/image-to-image
      • /fal-ai/bytedance/seedream/v4/text-to-image
      • /fal-ai/bytedance/seedream/v4/edit
      • /fal-ai/vidu/reference-to-image
      • /fal-ai/imagen4/preview
      • /fal-ai/qwen-image-edit-lora
    • Rerank reordering model
      • Reorder
    • Replicate aggregation platform
      • Access Tutorial
      • Flux resolution
      • Query tasks
        GET
      • Create a task - via model version (predictions)
        POST
      • Create task stability-ai/stable-diffusion
        POST
      • Create task stability-ai/sdxl
        POST
      • Create task stability-ai/stable-diffusion-inpainting
        POST
      • Create task stability-ai/stable-diffusion-img2img
        POST
      • Create a task lucataco/flux-schnell-lora
        POST
      • Create a task lucataco/flux-dev-lora
        POST
      • Create a task andreasjansson/stable-diffusion-animation
        POST
      • Create a task sujaykhandekar/object-removal
        POST
      • Create a task cjwbw/rembg
        POST
      • Create a task lucataco/animate-diff
        POST
      • Create a task ideagram-ai/ideogram-v2-turbo
        POST
      • Create a task black-forest-labs/flux-kontext-dev
        POST
      • 创建任务 minimax/video-01-live
        POST
      • 创建任务 minimax/video-01
        POST
      • Create a task recraft-ai/recraft-v3
        POST
      • Create a task recraft-ai/recraft-v3-svg
        POST
      • Create a task black-forest-labs/flux-1.1-pro-ultra
        POST
      • Create a task black-forest-labs/flux-kontext-pro
        POST
      • Create a task black-forest-labs/flux-kontext-max
        POST
      • Create task flux-kontext-apps/multi-image-kontext-max
        POST
      • Create task flux-kontext-apps/multi-image-kontext-pro
        POST
      • Create a task lucataco/remove-bg
        POST
      • Create a task rifusion/riffusion
        POST
      • Create a task black-forest-labs/flux-fill-dev
        POST
      • Create a task black-forest-labs/flux-fill-pro
        POST
      • Create a task google/imagen-4-fast
        POST
      • Create a task google/imagen-4-ultra
        POST
      • Create a task google/imagen-4
        POST
      • Create task prunaai/vace-14b
        POST
    • Python configuration method
      • python openai official library (using AutoGPT, langchain, etc.)
      • python continuous conversation
      • python using speech to text
      • Python uses text to voice
      • python vectorization using Embeddings
      • python call DALL·E
      • python simple call openai function-calling demo
      • python simple langchain call openai demo
      • python llama_index configuration
      • Basic Python dialogue
      • Python uses gpt-4o to recognize pictures - local pictures
      • Python uses gpt-4o to recognize images
      • Python uses Claude to recognize images
      • python library streaming output
      • gpt realtime model call
      • python request request streaming output demo
      • python create editing images using gpt-image-1
    • PHP configuration method
      • php edit demo using image
    • nodejs configuration method
      • nodejs basic dialogue
    • Tutorials for using various plug-ins/software
      • N8N Workflow Using Transfer API Tutorial
      • Gemini CLI Transit Station Configuration Tutorial
      • Claude Code installation tutorial
      • CherryStudio calls include MCP
      • Cherry Studio Configuration Tutorial
      • CherryStudio configuration o4 inference level
      • diify add model
      • cline configuration tutorial
      • aider configuration tutorial
      • Cursor configuration tutorial
      • lobechat setup tutorial
      • ChatBox (recommended)
      • Open source gpt_academic
      • nextchat setup tutorial
      • zotero gpt configuration method
      • CLAUDE DEV configuration tutorial
      • Immersive Translation Setting up gpt Translation
      • Browser plugin ChatGPT Sidebar
      • chatgpt-on-wechat configuration tutorial
      • chatgpt GPT Academic Academic Optimization Configuration GPT Tutorial
    • Help Center
      • AI Return Field: Thinking Related
      • HTTP status code and its meaning
      • Self-built picture bed API
    • Basic introduction to transit stations
      • API Quick Start Guide
      • Contact customer service
      • Group detailed table
      • The particularity of grouping and price difference
      • How to create a new token for a specified group
      • Proxy interface call address
      • API Key Quota Query Service
      • Free AI chat project navigation
  1. Replicate aggregation platform

Access Tutorial

Replicate-Compatible API#

If you need more models, please contact support to add them.
Replace the official https://api.replicate.com with {{BASE_URL}}/replicate.
Inputs, outputs, and HTTP methods follow the official Replicate spec.
Integration flow
1.
Create a prediction: submit a job and get a prediction id.
2.
Poll prediction status: use the id to fetch progress and results.
PS: Returned resource URLs typically expire after about 1 hour.
Response key fields
FieldTypeDescription
inputobjectInput payload
outputstring or string[]Result file URL(s)
statusstringOne of starting, processing, succeeded, failed
1.
Create prediction (model path)
Using black-forest-labs/flux-schnell as an example
The id in the response is used to poll status and retrieve results
{
  "id": "qpt5jq1fssrmc0cmd5hvy31mdg",
  "model": "black-forest-labs/flux-schnell",
  "version": "dp-4d0bcc010b3049749a251855f12800be",
  "input": {
    "aspect_ratio": "1:1",
    "go_fast": true,
    "megapixels": "1",
    "num_inference_steps": 4,
    "num_outputs": 1,
    "output_format": "jpg",
    "output_quality": 80,
    "prompt": "Japanese cartoon anime style, (1 person) (Gender: Male, Age: 30, Hair: Short black hair, Outfit: Dark blue hunting attire, includes a fitted jacket and trousers.) (A dimly lit room filled with tension,  is questioning Female, 27 years old, long black hair, pink tulle dress., who stands nervously in her pink dress, the sound of rain pattering against the window.)"
  },
  "logs": "",
  "output": null,
  "data_removed": false,
  "error": null,
  "status": "starting",
  "created_at": "2025-01-15T09:54:55.566Z",
  "urls": {
    "cancel": "https://api.replicate.com/v1/predictions/qpt5jq1fssrmc0cmd5hvy31mdg/cancel",
    "get": "https://api.replicate.com/v1/predictions/qpt5jq1fssrmc0cmd5hvy31mdg",
    "stream": "https://stream.replicate.com/v1/files/bcwr-gvuc2rokjozhlaxh6dcvk6tvhh2ymt4egnnpxvmtqql57angyfsq"
  }
}
2.
Create prediction (version field)
Using lucataco/flux-schnell-lora as an example
Reference: https://replicate.com/lucataco/flux-schnell-lora?input=http
From the reference, obtain version = 2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574
Response shape is the same as above.
Fetch prediction
Use the id from the creation step.
The primary result is under the output field.
Note: Both the JSON and linked files expire.
GET {{BASE_URL}}/replicate/v1/predictions/{id}
Return body
{
  "id": "ctdwaehfz1rm80cmd5nsjd8114",
  "model": "black-forest-labs/flux-schnell",
  "version": "dp-4d0bcc010b3049749a251855f12800be",
  "input": {
    "aspect_ratio": "1:1",
    "go_fast": true,
    "megapixels": "1",
    "num_inference_steps": 4,
    "num_outputs": 1,
    "output_format": "jpg",
    "output_quality": 80,
    "prompt": "Japanese cartoon anime style, (1 person) (Gender: Male, Age: 30, Hair: Short black hair, Outfit: Dark blue hunting attire, includes a fitted jacket and trousers.) (A dimly lit room filled with tension,  is questioning Female, 27 years old, long black hair, pink tulle dress., who stands nervously in her pink dress, the sound of rain pattering against the window.)"
  },
  "logs": "Using seed: 62182\nrunning quantized prediction\nUsing seed: 62182\n  0%|          | 0/4 [00:00<?, ?it/s]\n 75%|███████▌  | 3/4 [00:00<00:00, 15.38it/s]\n100%|██████████| 4/4 [00:00<00:00, 13.43it/s]\nTotal safe images: 1 out of 1\n",
  "output": [
    "https://replicate.delivery/xezq/RoEhEdyl8PoIGFFPg46TU4Svj24i1NDVYmzehJfqLuX9nTFUA/out-0.jpg"
  ],
  "data_removed": false,
  "error": null,
  "status": "succeeded",
  "created_at": "2025-01-15T10:03:39.896Z",
  "started_at": "2025-01-15T10:03:40.584470194Z",
  "completed_at": "2025-01-15T10:03:41.142386377Z",
  "urls": {
    "cancel": "https://api.replicate.com/v1/predictions/ctdwaehfz1rm80cmd5nsjd8114/cancel",
    "get": "https://api.replicate.com/v1/predictions/ctdwaehfz1rm80cmd5nsjd8114",
    "stream": "https://stream.replicate.com/v1/files/bcwr-q57vie7wuzg3wxv2hvpajgmzqzmxe67kqddednevutmrpdcft6xq"
  },
  "metrics": {
    "image_count": 1,
    "predict_time": 0.557916184
  }
}
Modified at 2025-09-19 02:26:37
Previous
Reorder
Next
Flux resolution
Built with