1. Replicate
VectorNode AI API Gateway
  • VectorNode AI API Gateway
    • Introduction
    • Online Debugging Guide
    • Send Your First Request
    • API gateway
      • API Reference
      • API Reference
      • API Reference
      • API Reference
      • API Reference
      • API Reference
      • API Key
      • API Reference
    • (Chat)
      • ChatGpt
        • ChatGPTaudio(Audio)
          • GPT-4o-audio
          • audio whisper-1
          • audio gpt-4o-transcribe
          • gpt-4o-mini-tts
          • API Reference
        • ChatGPT (Chat)
          • API Reference
          • API Reference
          • API Reference
          • API Reference
          • API Reference
          • ( ) best64
          • API Reference
          • API Reference
          • Function calling
          • API Reference
          • model
          • API Reference
          • API Reference
          • model
          • qwen-mt-turbo
          • deepseek v3.1 ( )
          • deepseek-ocr
        • ChatGPT (Completions)
          • API Reference
          • API Reference
        • ChatGPT (Embeddings)
          • API Reference
          • API Reference
        • API Reference
          • API Reference
      • Anthropic Claude
        • API Reference
        • API Reference
        • API Reference
          • API Reference
          • API Reference
          • API Reference
          • API Reference
          • API Reference
          • PDFbase64 is also supported
          • API Reference
        • chat
          • API Reference
          • API Reference
          • API Reference
          • API Reference
          • API Reference
      • Gemini
        • API Reference
          • text
          • text -
          • text + -
          • image
          • image gemini-2.5-flash-image
          • image gemini-2.5-flash-image
          • image gemini-3-pro-image-preview +
          • image
          • image
          • API Reference
          • API Reference
          • Documentation
          • URL context [ ]
          • API Reference
          • google search
          • video
          • URL context
          • audio
          • Embeddings
          • TTS text
          • text gemini-3-pro-preview:generateContent
          • Imagen image
          • gemini-ttstext
          • text
        • chat
          • geminiimage [chat ]
          • [chat ]
          • - 1 [chat ]
          • - 2 [chat ]
          • [chat ]
          • + file [chat ]
          • text [chat ]
    • (Responses)
      • Responses API Chat API
      • modelresponse
      • API Reference
      • modelresponse( Return)
      • modelresponse ( )
      • API Reference
      • modelresponse gpt-5
      • Copy
    • model
      • README
      • API Reference
      • Midjourney
        • image
        • Imagine
        • API Reference
        • API Reference
        • image seed
        • Action
        • Blend
        • Describe
        • Modal
      • Ideogram
        • Generate 3.0( )Generate
        • Generate 3.0(image )Edit
        • Generate 3.0(image )Remix
        • Generate 3.0(image )Reframe
        • Generate 3.0( ) Replace Background
        • ideogram( )
        • Remix( )
        • Upscale( )
        • Describe( )
      • GPT Image-1
        • gpt-image-1
        • gpt-image-1
        • gpt-image-1
        • gpt-image-1.5
        • gpt-image-1.5
        • gpt-image-1.5
        • gpt-image-2
        • gpt-image-2
        • gpt-image-2-all
      • Grok Image
        • Image
        • image
      • DALL·E 3
        • DALL·E 3
      • FLUX
        • API Reference
          • Flux (OpenAI dall-e-3 )
          • Flux (OpenAI dall-e-3 )
        • Replicate
          • Flux
          • Setup Guide
          • black-forest-labs/flux-kontext-dev
          • API Reference
      • Fal.ai
        • API Reference
        • request
        • /fal-ai/nano-banana
        • /fal-ai/nano-banana/edit image
      • AIGC
        • API Reference
        • request
        • API Reference
      • Qwen
        • qwen-image-max
        • z-image-turbo
        • qwen-image-edit-2509
    • videomodel
      • veo video
        • video
          • API Reference
          • video
          • video, image
          • API Reference
          • video( )
        • OpenAI video
          • openai video, image
          • openai
          • openai video
      • luma video
        • API Reference
          • API Reference
          • video
          • video
      • Runway video
        • API Reference
        • video
        • video ( )
      • video
        • API Reference
        • video
        • video
        • video
        • video
      • sora video
        • video
          • API Reference
          • video, image sora-2
          • video sora-2
          • video sora-2-pro
          • video ( Character)
          • API Reference
        • chat
          • video
          • video, image
          • video
        • OpenAI video
          • video
          • video
          • openai video
          • openai video
          • openai
      • grok video
        • video
          • video
          • API Reference
          • video
        • OpenAIvideo
          • openai video,
          • API Reference
      • AIGCvideo
        • API Reference
        • API Reference
        • request
        • API Reference
      • video ( )
        • doubao-2.0 video
    • GPTs
      • API Reference
      • GPTs
    • API Reference
      • API Reference
      • API Reference
      • API Reference
      • model
      • API Reference
      • API Reference
      • API Reference
      • Setup Guide
      • API Reference
      • API Reference
    • Suno
      • Description
      • Parameter
      • API Reference
        • API Reference
        • API Reference
        • API Reference
        • API Reference
        • API Reference
        • API Reference
        • API Reference
        • API Reference
        • API Reference
        • API Reference
        • audiofile
        • request
        • API Reference
        • API Reference
        • API Reference
        • API Reference
    • Python
      • python text
      • python text
      • python Embeddings
      • python DALL·E
      • python openai function-calling demo
      • python langchain openai demo
      • python llama_index
      • Python
      • Python gpt-4o image- image
      • Python gpt-4o image
      • Python Claude image
      • python
      • gpt realtimemodel
      • python request request demo
      • python gpt-image-1 image
      • python openai ( AutoGPT,langchain )
      • python
    • Rerank model
      • API Reference
    • Kling
      • Callback
      • video
        • video
        • API Reference
      • Omni-Video
        • Omni-Video
        • API Reference
      • API Reference
        • API Reference
        • API Reference
      • Omni-Image
        • Omni-Image
        • API Reference
    • Replicate
      • Setup Guide
      • Flux
      • API Reference
        GET
      • - modelversion(predictions)
        POST
      • stability-ai/stable-diffusion
        POST
      • stability-ai/sdxl
        POST
      • stability-ai/stable-diffusion-inpainting
        POST
      • stability-ai/stable-diffusion-img2img
        POST
      • lucataco/flux-schnell-lora
        POST
      • lucataco/flux-dev-lora
        POST
      • andreasjansson/stable-diffusion-animation
        POST
      • sujaykhandekar/object-removal
        POST
      • cjwbw/rembg
        POST
      • lucataco/animate-diff
        POST
      • ideogram-ai/ideogram-v2-turbo
        POST
      • black-forest-labs/flux-kontext-dev
        POST
      • minimax/video-01-live
        POST
      • minimax/video-01
        POST
      • recraft-ai/recraft-v3
        POST
      • recraft-ai/recraft-v3-svg
        POST
      • black-forest-labs/flux-1.1-pro-ultra
        POST
      • black-forest-labs/flux-kontext-pro
        POST
      • black-forest-labs/flux-kontext-max
        POST
      • flux-kontext-apps/multi-image-kontext-max
        POST
      • flux-kontext-apps/multi-image-kontext-pro
        POST
      • lucataco/remove-bg
        POST
      • riffusion/riffusion
        POST
      • black-forest-labs/flux-fill-dev
        POST
      • black-forest-labs/flux-fill-pro
        POST
      • google/imagen-4-fast
        POST
      • google/imagen-4-ultra
        POST
      • google/imagen-4
        POST
      • prunaai/vace-14b
        POST
      • bytedance/seedream-4
        POST
    • MiniMax
      • API Reference
      • API Reference
      • video
      • audio
      • audio
      • video
      • API Reference
      • video
      • ( video, audio )
      • text
      • API Reference
      • API Reference
    • Fal.ai Aggregation Platform
      • Setup Guide
      • falai-veo3 video
        • /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
      • request
      • /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 Setup
      • php image demo
    • Node.js Setup
    • Client and Tool Integration Guides
      • Codex
      • OpenClaw Clawdbot API gateway
      • N8N API gateway
      • opencode
      • Gemini CLI API gateway
      • Claude Code
      • CherryStudio cluade MCP
      • Cherry Studio
      • Cherry Studio banana pro 4K
      • CherryStudio o4
      • Setup Guide
      • dify model
      • cline
      • aider
      • Cursor
      • lobechat
      • ChatBox Setup Guide
      • Open Source GPT Academic Setup
      • NextChat Setup Guide
      • Zotero GPT Setup Guide
      • Claude Dev Setup Guide
      • Immersive Translate GPT Setup
      • ChatGPT Sidebar Extension Setup
      • chatgpt-on-wechat Setup Guide
      • GPT Academic Setup Guide
      • RikkaHub Setup Guide
      • Coze Workflow API Gateway Setup
      • n8n Workflow: Local Image to Video
      • OpenClaw Latest Version Setup
      • OpenClaw with CC Switch Setup
    • Help Center
      • Reasoning Output Fields
      • HTTP Status Codes
      • Demo Image Handling
      • Upload a Demo Image
  1. Replicate

google/imagen-4-fast

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

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Header 参数

Body 参数application/json

示例
{
    "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"
    }
  }

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/replicate/v1/models/google/imagen-4-fast/predictions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "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"
    }
  }'

返回响应

🟢200Success
application/json
Bodyapplication/json

示例
{
    "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"
    }
}
修改于 2026-05-16 08:10:47
上一页
black-forest-labs/flux-fill-pro
下一页
google/imagen-4-ultra
Built with