Key4U
Trang chủGiá cảDanh sách modelĐăng nhậpĐăng ký
Trang chủGiá cảDanh sách modelĐăng nhậpĐăng ký
  1. Replicate Aggregation Platform
  • Giới thiệu
  • Liên hệ
  • Bắt đầu nhanh với API
  • Bảng So Sánh Nhóm API
  • Tính Đặc Thù của Nhóm API & Khác Biệt Về Giá
  • Chat
    • ChatGpt interface
      • ChatGPT Audio (Audio)
        • GPT-4o-audio
        • Audio to text whisper-1
        • Audio to text gpt-4o-transcribe
        • Create voice gpt-4o-mini-tts
        • Create translation (not supported)
      • ChatGPT Chat (Chat)
        • Chat completion object
        • Chat completion block object
        • Create chat completion (streaming)
        • Create chat completion (non-stream)
        • Create chat image recognition (streaming)
        • Create chat image recognition (streaming) best64
        • Create chat image recognition (non-stream)
        • Create chat-generated image (non-stream)
        • Official Function calling invocation
        • Official N Test
        • List models
        • Create chat function call
        • Create structured output
        • Control the effort level of the reasoning model
        • Create chat completion qwen-mt-turbo
        • Create chat completion deepseek v3.1 thinking level (streaming)
        • deepseek-ocr recognition
      • ChatGPT Auto Completion (Completions)
        • Complete object
        • Creation completed
      • ChatGPT Embeddings
        • Embedded Object
        • Create Embedding
      • Web search
        • web search
    • Anthropic Claude interface
      • Chat completion object
      • Chat completion block object
      • Create chat completion (streaming) [native format]
      • Create function call (streaming) [native format]
      • Create thinking chat [native format]
      • Create thinking chat
      • Create chat completion (streaming)
      • Create chat completion (non-stream)
      • Create chat image recognition (streaming)
      • Create chat image recognition (non-stream)
      • PDF support [native format]
      • PDF support [native format] base64 format
    • Google Gemini Interface
      • Native format
        • Text Generation
        • text generation-stream
        • Text Generation + Reasoning - Stream
        • Image generation
        • Image generation gemini-2.5-flash-image
        • Image generation gemini-2.5-flash-image controls aspect ratio
        • Image generation gemini-3-pro-image-preview aspect ratio control + clarity
        • Image editing
        • Image Understanding
        • Formatted output
        • Function call
        • Document Understanding
        • URL context [native format]
        • Code execution
        • google search
        • Video Understanding
        • URL context
        • Video Understanding - URL [Native Format] In Development
        • Imagen 4 in development
        • Audio Understanding
        • Embeddings
      • chat compatible format
        • gemini image creation interface [chat compatible format]
        • Chat Interface [chat-compatible format]
        • Chat Interface - Thinking 1 [chat compatible format]
        • Chat Interface - Thinking 2 [chat compatible format]
        • Image recognition interface [chat-compatible format]
        • Chat + Read File Interface [chat-compatible format]
  • Chat (Responses)
    • Comparison between Responses API and Chat API
    • Create Model Response
    • Create function call
    • Create model response (streaming return)
    • Create model response (control thought length)
    • Create network search
    • Create model response gpt-5 enable thinking
    • Create function call Copy
  • painting model
    • README
    • image object
    • Midjourney
      • Upload image
      • Submit Imagine task
      • Query task status by task ID
      • Query tasks by ID list
      • Get the seed of the task image
      • Execute Action
      • Submit Blend Task
      • Submit Describe Task
      • Submit Modal
    • Ideogram
      • Generate 3.0 (Text-to-Image) Generate
      • Generate 3.0 (Image Editing) Edit
      • Generate 3.0 (Image Remix)
      • Generate 3.0 (Image Reconstruction) Reframe
      • Generate 3.0 (Replace Background) Replace Background
      • ideogram (text-to-image)
      • Remix (Mixed Graph)
      • Upscale (magnify HD)
      • Describe
    • GPT Image-1
      • Create gpt-image-1
      • Edit gpt-image-1
      • mask gpt-image-1
    • Dream Drawing
      • Create Drawing
      • Edit Image
    • 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)
      • Official Replicate format
        • Flux resolution
        • Access Tutorial
        • Create task black-forest-labs/flux-kontext-dev
        • Query task
    • Doubao series
      • doubao-seedream-3-0-t2i-250415
      • doubao-seededit-3-0-i2i-250628
      • doubao-seedream-4-0-250828-text-to-image
      • doubao-seedream-4-0-250828-image-to-image
      • doubao-seedream-4-0-250828-multi-image-to-image
    • Fal.ai Platform
      • status code
      • Get request result
      • /fal-ai/nano-banana Text-to-Image
      • /fal-ai/nano-banana/edit Image Editing
    • Qwen-Image series
      • qwen-image-edit-2509
  • video model
    • veo video generation
      • Unified Video Format
        • status code
        • Create Video
        • Create video with image
        • Query task
        • Create video (reference image)
      • OpenAI video format
        • openai create video, with image
        • openai query task
        • openai download video
    • luma video generation
      • Official API Format
        • status code
        • Submit video generation task
        • Extended video
      • Query task
        • Query a single task
        • Batch get tasks
    • Kling Kuaishou Ke Ling
      • Callback protocol
      • image generation
      • Text-to-video
      • Image to Video
      • Query task (free)
      • Multiple image reference live video
      • Virtual Try-On
      • lip sync
      • Video extension
      • Video Effects
    • Runway video generation
      • status code
      • Submit video generation task
      • Query video task (free)
    • Video generation by Jimeng
      • status code
      • Submit video generation task
      • Query video task (free)
    • Video Generation by Conch
      • status code
      • Submit video generation task
      • Video Task Status Query
      • Image to Video
      • First and last frame video
    • Video Generation by Doubao
      • Example of text-to-video generation
      • Image to Video - First Frame
      • seedance-lite-first-and-last-frame
      • Image to video - base64 encoded
      • seedance-lite-reference image
      • Query a single task
      • Query video generation task list - default
      • Query video generation task list - search multiple task IDs
    • sora video generation
      • Unified Video Format
        • Query task
        • Create video with image sora-2
        • Create video sora-2
        • Create video sora-2-pro
        • Create video (with Character)
      • chat format
        • Create Video
        • Create video, with image
        • Continuous modification generates video
      • OpenAI official video format
        • openai query task
        • openai download video
        • openai create video, with image
        • openai create video, with images private mode
        • openai create video (with Character)
        • openai edit video
      • Create Role
    • Qwen Video Generation
      • Generate video
      • Video Query
  • GPTs Related
    • Introduction
    • GPTs conversation
  • System API
    • Get token list
    • Add new token
    • Get token support model
    • Get account information
    • Modify token
    • Search token
    • Delete token
  • Text-to-Music Suno
    • parameter
    • Description
    • Task submission
      • Generate Song (Inspiration Mode)
      • Generate Song (Custom Mode)
      • Generate Song (Continuation Mode)
      • Generate song (singer style)
      • Generate song (upload song for secondary creation)
      • Generate song (concatenate song)
      • Generate lyrics
      • Song Splicing
    • Query Interface
      • Batch get tasks
      • Query a single task
      • Get wav
  • Python configuration method
    • python uses speech-to-text
    • python use text to speech
    • python uses Embeddings for vectorization
    • python calls DALL·E
    • python simple call openai function-calling demo
    • Simple langchain calling openai demo
    • python llama_index configuration
    • Python Basic Dialogue
    • Python uses gpt-4o to recognize images - local images
    • Python uses gpt-4o to recognize images
    • Python uses Claude to identify images
    • python library stream output
    • gpt realtime model call
    • python request stream output demo
    • python uses gpt-image-1 to create and edit images
    • python openai official library (using AutoGPT, langchain, etc.)
    • python continuous dialogue
  • Rerank model
    • Reordering
  • Replicate Aggregation Platform
    • Access Tutorial
    • Flux Resolution
    • Query task
      GET
    • Create 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 task lucataco/flux-schnell-lora
      POST
    • Create task lucataco/flux-dev-lora
      POST
    • Create task andreasjansson/stable-diffusion-animation
      POST
    • Create task sujaykhandekar/object-removal
      POST
    • Create task cjwbw/rembg
      POST
    • Create task lucataco/animate-diff
      POST
    • Create task ideogram-ai/ideogram-v2-turbo
      POST
    • Create task black-forest-labs/flux-kontext-dev
      POST
    • Create task minimax/video-01-live
      POST
    • Create task minimax/video-01
      POST
    • Create task recraft-ai/recraft-v3
      POST
    • Create task recraft-ai/recraft-v3-svg
      POST
    • Create task black-forest-labs/flux-1.1-pro-ultra
      POST
    • Create task black-forest-labs/flux-kontext-pro
      POST
    • Create 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 task lucataco/remove-bg
      POST
    • Create task riffusion/riffusion
      POST
    • Create task black-forest-labs/flux-fill-dev
      POST
    • Create task black-forest-labs/flux-fill-pro
      POST
    • Create task google/imagen-4-fast
      POST
    • Create task google/imagen-4-ultra
      POST
    • Create task google/imagen-4
      POST
    • Create task prunaai/vace-14b
      POST
    • Create task bytedance/seedream-4
      POST
  • Fal-ai Aggregate Platform
    • Access Tutorial
    • falai-veo3 video generation
      • /fal-ai/veo3
      • /fal-ai/veo3/fast/image-to-video
      • /fal-ai/veo3/fast
      • /fal-ai/veo3/requests/{request_id}
      • /fal-ai/veo3/image-to-video
    • Get 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
    • /fal-ai/qwen-image-edit-plus
    • /fal-ai/kling-video/v2.5-turbo/pro/text-to-video
    • /fal-ai/kling-video/v2.5-turbo/pro/image-to-video
    • /fal-ai/flux-lora
    • /fal-ai/flux-lora/image-to-image
    • /fal-ai/flux-lora/inpainting
    • /fal-ai/kling-video/v2.5-turbo/pro/text-to-video
    • /fal-ai/qwen-image-edit-lora
  • PHP configuration method
    • PHP image editing demo
  • Node.js configuration method
    • Node.js basic dialogue
  • Tutorials for using various plugins/software
    • Hướng dẫn cấu hình Codex
    • Hướng dẫn cài đặt và sử dụng Claude Code
    • Hướng dẫn sử dụng với Dify
    • Hướng dẫn cấu hình Cline
    • Sử dụng với Aider AI (Terminal Coding)
    • Hướng dẫn sử dụng LobeChat
    • Sử dụng trong extension trình duyệt ChatGPT Sidebar
    • Hướng dẫn cấu hình ChatGPT GPT Academic để tối ưu cho học thuật
  • Help Center
    • AI response field: Thinking related
    • HTTP status codes and their meanings
    • Self-hosted image hosting API
    • Upload image to image hosting service
  1. Replicate Aggregation Platform

Create task google/imagen-4-fast

POST
https://api.key4u.shop/replicate/v1/models/google/imagen-4-fast/predictions
Official documentation: https://replicate.com/google/imagen-4-fast

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Example
{
    "input": {
      "prompt": "The photo: Create a cinematic, photorealistic medium shot capturing the dynamic energy of a high-octane action film. The focus is a young woman with wind-swept dark hair streaked with pink highlights and determined features, looking directly and intently into the camera lens, she is slightly off-center. She wears a fitted pink and gold racing jacket over a black tank top with \"Imagen 4 Fast\" in motion-stylized lettering and on the next line \"on Replicate\" emblazoned across the chest and aviator sunglasses pushed up on her head. The lighting is dramatic with motion blur streaks and neon reflections from passing city lights, creating dynamic lens flares and light trails (they do not cover her face). The background shows a blurred urban nightscape with streaking car headlights and illuminated skyscrapers rushing past, rendered with heavy motion blur and shallow depth of field. High contrast lighting, vibrant neon color palette with deep blues and electric yellows, and razor-sharp focus on her intense eyes enhance the fast-paced, electrifying atmosphere. She is illuminated while the background is darker.",
      "aspect_ratio": "4:3",
      "output_format": "jpg",
      "safety_filter_level": "block_only_high"
    }
  }

Request Code 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.key4u.shop/replicate/v1/models/google/imagen-4-fast/predictions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "input": {
      "prompt": "The photo: Create a cinematic, photorealistic medium shot capturing the dynamic energy of a high-octane action film. The focus is a young woman with wind-swept dark hair streaked with pink highlights and determined features, looking directly and intently into the camera lens, she is slightly off-center. She wears a fitted pink and gold racing jacket over a black tank top with \"Imagen 4 Fast\" in motion-stylized lettering and on the next line \"on Replicate\" emblazoned across the chest and aviator sunglasses pushed up on her head. The lighting is dramatic with motion blur streaks and neon reflections from passing city lights, creating dynamic lens flares and light trails (they do not cover her face). The background shows a blurred urban nightscape with streaking car headlights and illuminated skyscrapers rushing past, rendered with heavy motion blur and shallow depth of field. High contrast lighting, vibrant neon color palette with deep blues and electric yellows, and razor-sharp focus on her intense eyes enhance the fast-paced, electrifying atmosphere. She is illuminated while the background is darker.",
      "aspect_ratio": "4:3",
      "output_format": "jpg",
      "safety_filter_level": "block_only_high"
    }
  }'

Responses

🟢200Success
application/json
Body

Example
{
    "id": "20z778rke5rm80crb5982z0m1g",
    "model": "google/imagen-4-fast",
    "version": "hidden",
    "input": {
        "aspect_ratio": "4:3",
        "output_format": "jpg",
        "prompt": "The photo: Create a cinematic, photorealistic medium shot capturing the dynamic energy of a high-octane action film. The focus is a young woman with wind-swept dark hair streaked with pink highlights and determined features, looking directly and intently into the camera lens, she is slightly off-center. She wears a fitted pink and gold racing jacket over a black tank top with \"Imagen 4 Fast\" in motion-stylized lettering and on the next line \"on Replicate\" emblazoned across the chest and aviator sunglasses pushed up on her head. The lighting is dramatic with motion blur streaks and neon reflections from passing city lights, creating dynamic lens flares and light trails (they do not cover her face). The background shows a blurred urban nightscape with streaking car headlights and illuminated skyscrapers rushing past, rendered with heavy motion blur and shallow depth of field. High contrast lighting, vibrant neon color palette with deep blues and electric yellows, and razor-sharp focus on her intense eyes enhance the fast-paced, electrifying atmosphere. She is illuminated while the background is darker.",
        "safety_filter_level": "block_only_high"
    },
    "logs": "",
    "output": null,
    "data_removed": false,
    "error": null,
    "status": "starting",
    "created_at": "2025-07-30T03:13:27.921Z",
    "urls": {
        "cancel": "https://api.replicate.com/v1/predictions/20z778rke5rm80crb5982z0m1g/cancel",
        "get": "https://api.replicate.com/v1/predictions/20z778rke5rm80crb5982z0m1g",
        "stream": "https://stream.replicate.com/v1/files/bcwr-blsi6mnoqvfndurpci2t2i77xl2s3k3xb5r5hru3xwyrev6v7uca",
        "web": "https://replicate.com/p/20z778rke5rm80crb5982z0m1g"
    }
}
Modified at 2025-12-02 13:49:34
Previous
Create task black-forest-labs/flux-fill-pro
Next
Create task google/imagen-4-ultra
Built with