Key4UAPI Interface Integration
Trang chủDashboardGiá cảModel HubAPI KeysVí
Trang chủDashboardGiá cảModel HubAPI KeysVí
  1. Python Configuration Methods
  • Key4U English
    • Key4U English
      • Introduction
      • Contact
      • Quick Start with API
      • API Group Comparison Table
      • API Group Characteristics & Pricing Differences
      • Key4U Agent registration
      • Chat
        • ChatGPT API
          • ChatGPT 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 Completion Object
            • Chat completion chunk object
            • Create Chat Completion (Streaming)
            • Create Chat Completion (Non-Streaming)
            • Create Chat Image Recognition (Streaming)
            • Create Chat Image Recognition (Streaming) best64
            • Create Chat Image Recognition (Non-streaming)
            • Create Chat Generation Diagram (Non-streaming)
            • Official Function Calling Invocation
            • Official N Testing
            • List models
            • Create Chat Function Call
            • Create Structured Output
            • Controlling Reasoning Model Effort Level
            • Create chat completion qwen-mt-turbo
            • Create Chat Completion - DeepSeek v3.1 Thinking Level (Streaming)
            • deepseek-ocr recognition
          • ChatGPT Auto-Completion (Completions)
            • Completion object
            • Creation completed
          • ChatGPT Embeddings
            • Embedded Object
            • Create Embedding
          • Web Search
            • web search
            • "deepseek-Internet search"
        • Anthropic Claude API
          • Chat Completion Object
          • Chat completion chunk object
          • Native format
            • Creating Formatted Output
            • Online Search
          • chat-compatible format
          • Create Chat Completion (Streaming)
          • Create Thinking Chat
          • Create Chat Completion (Streaming) [Native Format]
          • Create Function Call (Streaming) [Native Format]
          • Create Reasoning Chat [Native Format]
          • PDF support [native format]
          • PDF support [native format] base64 format
          • Create Chat Completion (Non-Streaming)
          • Create Chat Image Recognition (Streaming)
          • Create Chat Image Recognition (Non-Streaming)
        • Google Gemini API
          • Native format
            • Text Generation
            • Text Generation - Stream
            • Text Generation + Thinking Stream
            • Image Generation
            • Image Generation gemini-2.5-flash-image
            • Image Generation gemini-2.5-flash-image Control Aspect Ratio
            • Image Generation gemini-3-pro-image-preview Control Aspect Ratio + Clarity
            • Image Editing
            • Image Understanding
            • Formatted Output
            • Function call
            • Document Understanding
            • URL context [native format]
            • Code Execution
            • google search
            • Video Understanding
            • URL context
            • Audio Understanding
            • Embeddings
            • TTS Text-to-Speech
            • Text generation gemini-3-pro-preview:generateContent
            • Imagen Generate Images
            • Imagen 4 in Development
            • Video Understanding - URL [Native Format] In Development
            • gemini-tts text-to-speech
            • Text Embedding
          • chat-compatible format
            • Gemini Image Generation API [Chat-Compatible Format]
            • Chat Interface [chat compatible format]
            • Chat Interface - Thought 1 [chat compatible format]
            • Chat Interface - Thought 2 [chat compatible format]
            • Image Recognition API [chat-compatible format]
            • Chat + Read File Interface [chat compatible format]
            • Text Embedding [chat compatible format]
      • Chat (Responses)
        • Responses API vs Chat API Comparison
        • Create Model Response
        • Create function call
        • Create Model Response (Streaming Return)
        • Create Model Response (Control Thinking Length)
        • Create Web Search
        • Create model response gpt-5 enable thinking
        • Create Function Call Copy
      • Drawing 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 Remaster) Remix
          • Generate 3.0 (Image Reconstruction) Reframe
          • Generate 3.0 (Replace Background) Replace Background
          • ideogram (text-to-image)
          • Remix (Blend Image)
          • Upscale (Enhance to High Definition)
          • Describe
        • GPT Image-1
          • Create gpt-image-1
          • Edit image
          • Mask gpt-image-1
          • Create gpt-image-1.5
          • Edit gpt-image-1.5
          • Mask gpt-image-1.5
          • Edit gpt-image-2
          • Create gpt-image-2
          • Create gpt-image-2-all
        • GPT Image-1 Copy
          • Create gpt-image-1
          • Edit image
          • Mask gpt-image-1
          • Create gpt-image-2
          • Create gpt-image-2-all
          • Edit gpt-image-2
        • Grok Image Series
          • Create Image
          • Edit image
        • Dream Painting
          • Create Drawing
          • Edit Image
        • DALL·E 3
          • Create DALL·E 3
        • FLUX Series
          • GPT compatible format
            • Create/Edit image
            • Flux Editor (OpenAI DALL-E-3 Format)
          • Replicate Official Format
            • Flux Resolution
            • Integration Tutorial
            • Create task black-forest-labs/flux-kontext-dev
            • Query Task
        • Doubao Series
          • Create image
          • 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
          • doubao-seedream-4-5-251128 Text-to-Image (Pure Text Input, Single Image Output)
          • doubao-seedream-4-5-251128 Image-to-Image Generation (Single Image Input, Single Image Output)
          • doubao-seedream-4-5-251128 Multi-image Fusion (Multiple Image Input, Single Image Output)
          • doubao-seedream-4-5-251128 Image Group Output (Multiple Image Output)
          • doubao-seedream-4-5-251128 Single Image to Image Group
          • doubao-seedream-4-5-251128 Multiple reference image generation group image
        • Fal.ai platform
          • Status Code
          • Get request result
          • /fal-ai/nano-banana Text-to-Image
          • /fal-ai/nano-banana/edit Image Editing
        • Tencent AIGC Image Generation
          • Status Code
          • Create Task
          • Get request result
        • "Qwen-Image Series"
          • qwen-image-max
          • z-image-turbo
          • qwen-image-edit-2509
          • "qwen-image-max-2025-12-30 new address"
          • qwen-image-2.0-2026-03-03
        • Universal wan series
          • wan2.7-image-pro
      • Video Model
        • veo video generation
          • Unified Video Format
            • Status Code
            • Create Video
            • Create video with images
            • Query Task
            • Create Video (Reference Image)
          • OpenAI Video Format
            • OpenAI create video with image
            • OpenAI Query Task
            • openai download video
          • 3.1 Native Format
            • Video Generation veo-3.1-generate-preview
            • Query Task
            • Video generation veo-3.1-fast-generate-preview
        • Luma video generation
          • Official API Format
            • Status Code
            • Submit Video Generation Task
            • Extended Video
          • Query Task
            • Query a Single Task
            • Batch Retrieve Tasks
        • Kling Kuaishou Keling
          • Callback Protocol
          • Image Generation
          • Text-to-video
          • Image-to-Video
          • Virtual Try-On
          • lip-sync
          • Video Extension
          • Video Effects
          • Multi-image reference video
          • Query Task (Free)
        • Runway Video Generation
          • Status Code
          • Submit video generation task
          • Query Video Task (Free)
        • Jimeng Video Generation
          • Status Code
          • Unified Video Format
            • Status Code
            • Create Video
            • Query Task
          • Official Format
            • Adding
          • Submit video generation task
          • Query Video Task (Free)
        • Minimax Video Generation
          • Status Code
          • Submit video generation task
          • Video Task Status Query
          • Image-to-Video
          • First and Last Frame Video
        • Doubao Video Generation
          • Create Task
          • Query a Single Task
          • Query Video Generation Task List - Default
          • Query Video Generation Task List - Search Multiple Task IDs
          • seedance-1-5-pro-first-and-last-frames
          • seedance-1-5-pro
          • Create Video Generation Task API (doubao-2.0)
          • doubao-2.0 Query Video Generation Task API
          • doubao-2.0 query video generation task list
        • Sora video generation
          • Unified Video Format
            • Query Task
            • Create video with images sora-2
            • Create video sora-2
            • Create video sora-2-pro
            • Create Video (with Character)
            • Create a video with images sora-2 Copy
          • chat format
            • Create Video
            • Create video with images
            • Continuous Modification Video Generation
          • OpenAI Official Video Format
            • OpenAI create video with image
            • Create a character from the uploaded video
            • Creating Videos with Storyboards
            • OpenAI create video with image private mode
            • OpenAI Create Video (with Character)
            • OpenAI video editing
            • openai download video
            • OpenAI Query Task
          • Create Role
        • Grok Video Generation
          • Unified Video Format
            • Status Code
            • Create Video
            • Query Task
            • Create Video
            • Query Task
            • Extended Video
          • OpenAI video format
            • openai create videos, image-to-video, video-to-video
            • OpenAI creates videos, image-to-video
            • Query Task
        • Tongyi Wanxiang Video Generation
          • Generate Video
          • Video Query
          • happyhorse-1.0-i2v
          • happyhorse-1.0-t2v
          • happyhorse-1.0-r2v
          • happyhorse-1.0-video-edit
        • TC-Vidu Video Generation
          • Unified Video Format
            • Status Code
            • Create Video
            • Query Task
        • Tencent AIGC Video Generation
          • Status Code
          • Create Task
          • Get request result
          • Special Effects Template Creation Task
        • Doubao Video Generation (Official)
        • omni video generation
          • Create a video reference image
          • Query results
          • Text-to-video
      • voice model
        • Tongyi Wanxiang Speech Synthesis
          • Speech Synthesis
          • Speech Synthesis Copy
      • GPTs Related
        • Introduction
        • GPTs Conversation
      • Text-to-Music Suno
        • Instructions
        • parameter
        • Task Submission
          • Generate Song (Inspiration Mode)
          • Generate Song (Custom Mode)
          • Generate Song (Continuation Mode)
          • Generate Song (Artist Style)
          • Generate Song (Upload Song for Secondary Creation)
          • Generate Song (Concatenate Song)
          • Generate Lyrics
          • Song Concatenation
          • Report upload completed
          • Query Upload Processing Status
          • Initialize audio file
          • Request Upload Authorization
          • S3 Upload Example
          • Scenario 1: Inspiration Mode
          • Scenario 2: Custom.Lyrics.SongName
          • Scenario 3: Pure Music - Custom
        • Query Interface
          • Batch Retrieve Tasks
          • Query a Single Task
          • Get WAV
          • Timing: Lyrics, Audio Timeline
          • Get Scene Details
      • Rerank Reranking Model
        • Reordering
      • Kling Platform
        • Callback Protocol
        • Text-to-video
          • Text-to-video
          • Query Task (Single)
        • Image-to-Video
          • Image-to-Video
          • Query Task (Single)
        • Omni-Video
          • Omni-Video
          • Query Task (Single)
        • Multi-image reference video
          • Multi-image reference video
          • Query Task (Single)
        • Multimodal Video Editing
          • Initialize video to be edited
          • Add Video Selection
          • Delete Video Selection
          • Preview Selected Region Video
          • Multimodal Video
          • Query Task (Single)
        • Video Extension
          • Video Extension
          • Query Task (Single)
        • Video Effects
          • Video Effects
          • Query Task (Single)
        • Image Generation
          • Image Generation
          • Query Task (Single)
        • Multi-image reference image generation
          • Multi-image reference image generation
          • Query Task (Single)
        • Omni-Image
          • Omni-Image
          • Query Task (Single)
        • Expand image
          • Expand image
          • Query Task (Single)
        • Image Recognition
          • Image Recognition
        • Digital human
          • Digital human
          • Query Task (Single)
        • Text-to-Speech Sound Effects
          • Text-to-Speech Sound Effects
          • Query Task (Single)
        • Video-to-Audio
          • Video-to-Audio
          • Query Task (Single)
        • Speech Synthesis
          • Speech Synthesis
        • lip-sync
          • Face Recognition
          • lip-sync
          • Query Task (Single)
        • Custom Voice
          • Custom Voice
          • Query Custom Voice (Single)
          • Query Official Voice
          • Delete Custom Voice
        • Action Control
          • Action Control
          • Query Task (Single)
        • subject
          • Subject (Legacy)
          • Subject (New Version)
          • Query Custom Subject (Single New Version)
          • Query Official Entity (List New Version)
          • Delete Custom Subject (New Version)
      • PixVerse platform
        • Generate text-to-video
        • Get video status
        • Generate image-to-video
        • Generate video template
        • First and Last Frame Video Generation
        • Generate lip sync (Lipsync) video
        • Get TTS voice
        • Generate Extended (Extend) Video
        • Sound Effect Generation (sound_effect) Interface
        • Multi-agent (multi-reference) video generation
        • Redraw video generation video
        • Body Replacement (Swap) Mask Generation
        • Subject Replacement (Swap) Video Generation
        • Multi-frame (Multi-transition) Video Generation
        • Action Imitation (Mimic) Video Generation
        • Video Editing (Modify) Generate Video
        • Upload Image
        • Upload resources (video/audio)
      • Replicate Aggregation Platform
        • Integration Tutorial
        • Flux Resolution
        • Query Task
        • Create Task - Via Model Version (predictions)
        • Create task stability-ai/stable-diffusion
        • Create task stability-ai/sdxl
        • Create Task stability-ai/stable-diffusion-inpainting
        • Create task stability-ai/stable-diffusion-img2img
        • Create task lucataco/flux-schnell-lora
        • Create task lucataco/flux-dev-lora
        • Create task andreasjansson/stable-diffusion-animation
        • Create task sujaykhandekar/object-removal
        • Create task cjwbw/rembg
        • Create task lucataco/animate-diff
        • Create task ideogram-ai/ideogram-v2-turbo
        • Create task black-forest-labs/flux-kontext-dev
        • Create task minimax/video-01-live
        • Create task minimax/video-01
        • Create task recraft-ai/recraft-v3
        • Create task recraft-ai/recraft-v3-svg
        • Create task black-forest-labs/flux-1.1-pro-ultra
        • Create task black-forest-labs/flux-kontext-pro
        • Create task black-forest-labs/flux-kontext-max
        • Create task flux-kontext-apps/multi-image-kontext-max
        • Create task flux-kontext-apps/multi-image-kontext-pro
        • Create task lucataco/remove-bg
        • Create task riffusion/riffusion
        • Create task black-forest-labs/flux-fill-dev
        • Create task black-forest-labs/flux-fill-pro
        • Create task google/imagen-4-fast
        • Create task google/imagen-4-ultra
        • Create task google/imagen-4
        • Create task prunaai/vace-14b
        • Create task bytedance/seedream-4
      • MINIMAX Official
        • Create Asynchronous Text-to-Speech Task V2
        • Synchronous Text-to-Speech V2
        • Text-to-Image-to-Video Generation Task
        • Upload Reproduced Audio
        • Upload Sample Audio
        • First and Last Frame Video Generation
        • Timbre Quick Replication
        • Query video generation task status
        • Retrieval (for video download, asynchronous audio download)
        • Text Synthesis
        • Query Speech Synthesis Task Status
        • Timbre Design
      • Official VIDU video generation, image generation, and audio generation
        • Status Code
        • Create a text-to-video task
        • Create Image-to-Video Task
        • Create Image Generation Task
        • Create Text-to-Speech Audio Task
        • Speech Synthesis
        • Create Reference Video Generation Task (Subject Invocation)
        • Create reference video generation task (non-main invocation)
        • Create First and Last Frame Generated Video Task
        • Get request result
      • Fal-ai Aggregation Platform
        • Integration 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
      • Python Configuration Methods
        • Python Speech-to-Text
        • Python Text-to-Speech
        • Python Using Embeddings for Vectorization
        • Python Calling DALL·E
        • Simple Python OpenAI Function-Calling Demo
        • Simple Python LangChain calling OpenAI demo
        • Python llama_index Configuration
        • Python Fundamentals Conversation
        • Python uses gpt-4o to recognize images - local images
        • Using Python with GPT-4o to Recognize Images
        • Using Claude to Recognize Images in Python
        • Python library streaming output
        • GPT Realtime Model Invocation
        • Python request streaming output demo
        • Python using gpt-image-1 to create and edit images
        • Python OpenAI official library (using AutoGPT, langchain, etc.)
        • Python continuous conversation
      • PHP Configuration Methods
        • PHP Image Editing Demo
      • Node.js configuration methods
        • Node.js Basic Conversation
      • minimax-voice (TTS)
        • Generate speech from Minimax
      • UserAPIKey Access
        • Logs
          • Get Usage Log
          • Get Midjourney Log
          • Get Task Log
        • Token
          • Create New LLM Token
          • Update LLM Token
          • Delete LLM Token
          • Get Tokens (Pagination)
          • Get All LLM Tokens (No Pagination)
        • Healthy
          • Check System Uptime
        • Wallet
          • Check Balance
        • Groups
          • Get Model Group List
      • Tutorials for using various plugins/software
        • Guide to using API Key4U with Clawdbot (MobtBot)
        • Guide to using Key4u with Opencode
        • Guide to configuring Codex
        • Guide to installing and using Claude Code
        • Guide to using with Dify
        • Guide to configuring Cline
        • Using with Aider AI (Terminal Coding)
        • Guide to using LobeChat
        • Using the ChatGPT Sidebar browser extension
        • Guide to configuring ChatGPT GPT Academic for academic optimization
      • Help Center
        • AI return field: thinking-related
        • HTTP Status Codes and Their Meanings
        • Self-hosted Image Hosting API
  • Key4U Việt Nam
    • Key4U Tiếng Việt
      • Giới thiệu
      • Liên hệ
      • Bắt đầu nhanh với API
      • Bảng so sánh nhóm API
      • Đặc điểm & Sự khác biệt giá của nhóm API
      • Đăng ký đại lý Key4U
      • Trò chuyện (Chat)
        • Giao diện ChatGPT
          • ChatGPT Audio (Âm thanh)
            • GPT-4o-audio
            • Chuyển đổi âm thanh thành văn bản whisper-1
            • Chuyển đổi âm thanh thành văn bản gpt-4o-transcribe
            • Tạo giọng nói gpt-4o-mini-tts
            • Tạo bản dịch (không được hỗ trợ)
          • ChatGPT Trò chuyện (Chat)
            • Đối tượng hoàn thành chat
            • Đối tượng khối hoàn thành chat
            • Tạo cuộc trò chuyện (streaming)
            • Tạo chat (không phải stream)
            • Tạo chat nhận diện hình ảnh (streaming)
            • Tạo chat nhận diện hình ảnh (streaming) best64
            • Tạo chat nhận diện hình ảnh (không phải streaming)
            • Tạo biểu đồ sáng tạo trò chuyện (không phải luồng)
            • Gọi Function calling chính thức
            • Bản kiểm thử N chính thức
            • Liệt kê mô hình
            • Tạo gọi hàm trò chuyện
            • Tạo đầu ra có cấu trúc
            • Kiểm soát mô hình suy luận
            • Tạo trò chuyện qwen-mt-turbo
            • Tạo chat DeepSeek v3.1 mức độ suy nghĩ (streaming)
            • deepseek-ocr nhận dạng
          • ChatGPT Completions
            • đối tượng hoàn thành
            • Tạo Completions (cũ)
          • ChatGPT Embeddings (Nhúng)
            • Đối tượng nhúng
            • Tạo embed
          • Tìm kiếm Web
            • tìm kiếm web
            • deepseek- tìm kiếm trực tuyến
        • Giao diện Anthropic Claude
          • Đối tượng hoàn thành chat
          • Đối tượng khối hoàn thành chat
          • định dạng gốc
            • Tạo đầu ra được định dạng
            • tìm kiếm trên internet
          • định dạng tương thích chat
          • Tạo cuộc trò chuyện (streaming)
          • Tạo cuộc trò chuyện suy nghĩ
          • Create chat completion (streaming) [native format]
          • Tạo function call (streaming) [định dạng gốc]
          • Tạo cuộc trò chuyện suy nghĩ [định dạng gốc]
          • PDF hỗ trợ [định dạng gốc]
          • PDF hỗ trợ [định dạng gốc] định dạng base64
          • Tạo chat (không phải stream)
          • Tạo chat nhận diện hình ảnh (streaming)
          • Tạo chat nhận dạng hình ảnh (không phải streaming)
        • Giao diện Google Gemini
          • định dạng gốc
            • Sinh tạo văn bản
            • Sinh tạo văn bản - Luồng
            • Sinh thành văn bản + Luồng tư duy
            • Tạo hình ảnh
            • Tạo hình ảnh gemini-2.5-flash-image
            • Tạo hình ảnh gemini-2.5-flash-image kiểm soát tỷ lệ khung hình
            • Tạo hình ảnh gemini-3-pro-image-preview Kiểm soát tỷ lệ khung hình + Độ sắc nét
            • Chỉnh sửa hình ảnh
            • Hiểu biết hình ảnh
            • Xuất dữ liệu được định dạng
            • gọi hàm
            • Hiểu biết tài liệu
            • URL context [định dạng gốc]
            • Thực thi mã
            • google search
            • Hiểu biết video
            • URL context
            • Hiểu biết âm thanh
            • Embeddings
            • TTS - Chuyển đổi văn bản thành giọng nói
            • Tạo nội dung gemini-3-pro-preview:generateContent
            • Imagen - Tạo hình ảnh
            • Imagen 4 đang phát triển
            • Hiểu video - URL [Định dạng gốc] Đang phát triển
            • gemini-tts chuyển đổi văn bản thành giọng nói
            • nhúng văn bản
          • định dạng tương thích chat
            • Giao diện tạo hình ảnh Gemini [định dạng tương thích chat]
            • Giao diện chat [định dạng tương thích chat]
            • Giao diện trò chuyện - Suy nghĩ 1 [định dạng tương thích chat]
            • Giao diện trò chuyện - Suy nghĩ 2 [định dạng tương thích chat]
            • API nhận diện hình ảnh [định dạng tương thích chat]
            • Giao diện trò chuyện + đọc tệp [định dạng tương thích chat]
            • Nhúng văn bản [định dạng tương thích chat]
      • Trò chuyện (Responses)
        • So sánh Responses API và Chat API
        • Tạo phản hồi mô hình
        • Tạo lệnh gọi hàm
        • Tạo phản hồi mô hình (trả về theo luồng)
        • Tạo phản hồi mô hình (kiểm soát độ dài suy nghĩ)
        • Tạo tìm kiếm web
        • Tạo phản hồi mô hình gpt-5 bật chế độ suy nghĩ
        • Tạo lệnh gọi hàm Sao chép
      • Mô hình ảnh
        • README
        • Object
        • Midjourney
          • Tải lên hình ảnh
          • Gửi tác vụ Imagine
          • Truy vấn trạng thái tác vụ theo ID tác vụ
          • Truy vấn tác vụ theo danh sách ID
          • Lấy seed của hình ảnh nhiệm vụ
          • Thực thi Action
          • Gửi tác vụ Blend
          • Gửi nhiệm vụ Describe
          • Modal Gửi
        • Ideogram
          • Generate 3.0 (sinh hình từ văn bản) Generate
          • Generate 3.0(Chỉnh sửa hình ảnh)Edit
          • Generate 3.0 (Tái tạo hình ảnh) Remix
          • Generate 3.0(Tái cấu trúc hình ảnh)Reframe
          • Generate 3.0(Thay thế nền) Replace Background
          • ideogram (sinh hình từ văn bản)
          • Remix (biểu đồ hỗn hợp)
          • Upscale (phóng to độ phân giải cao)
          • Describe(Mô tả)
        • GPT Image-1
          • Tạo gpt-image-1
          • Chỉnh sửa image
          • Mask gpt-image-1
          • Tạo gpt-image-1.5
          • Chỉnh sửa gpt-image-1.5
          • Mask gpt-image-1.5
          • Chỉnh sửa gpt-image-2
          • Tạo gpt-image-2
          • Tạo "gpt-image-2-all
        • GPT Image-1 Copy
          • Tạo gpt-image-1
          • Chỉnh sửa image
          • Mask gpt-image-1
          • Tạo gpt-image-2
          • Tạo "gpt-image-2-all
          • Chỉnh sửa gpt-image-2
        • Bộ ảnh Grok
          • Tạo ảnh
          • Chỉnh sửa hình ảnh
        • Vẽ Tranh Tức Thì
          • Tạo bản vẽ
          • Chỉnh sửa hình ảnh
        • DALL·E 3
          • Tạo DALL·E 3
        • FLUX
          • định dạng tương thích GPT
            • Tạo/Sửa image
            • Trình chỉnh sửa Flux (định dạng OpenAI dall-e-3)
          • Định dạng chính thức của Replicate
            • Độ phân giải Flux
            • Hướng dẫn tích hợp
            • Tạo tác vụ black-forest-labs/flux-kontext-dev
            • Truy vấn nhiệm vụ
        • Douyin
          • Tạo ảnh
          • doubao-seededit-3-0-i2i-250628
          • doubao-seedream-4-0-250828-sinh-hình-từ-văn-bản
          • doubao-seedream-4-0-250828-hình-sinh-hình
          • doubao-seedream-4-0-250828-sinh hình từ nhiều hình ảnh
          • doubao-seedream-4-5-251128 Sinh hình từ văn bản (đầu vào chỉ văn bản, đầu ra hình ảnh đơn)
          • doubao-seedream-4-5-251128 Tạo hình ảnh từ hình ảnh và văn bản (đầu vào hình ảnh đơn, đầu ra hình ảnh đơn)
          • doubao-seedream-4-5-251128 Hợp nhất đa hình ảnh (đầu vào đa hình ảnh, đầu ra đơn hình ảnh)
          • doubao-seedream-4-5-251128 Đầu ra hình ảnh nhóm (Đầu ra nhiều hình ảnh)
          • doubao-seedream-4-5-251128 Tạo nhóm hình từ một hình ảnh duy nhất
          • doubao-seedream-4-5-251128 Tham khảo thêm hình ảnh tạo ra nhóm hình ảnh
        • Nền tảng Fal.ai
          • mã trạng thái
          • Lấy kết quả yêu cầu
          • /fal-ai/nano-banana Sinh hình từ văn bản
          • /fal-ai/nano-banana/edit Chỉnh sửa hình ảnh
        • Tencent AIGC
          • mã trạng thái
          • Tạo nhiệm vụ
          • Lấy kết quả yêu cầu
        • "Dòng Qwen-Image của Qianwen"
          • qwen-image-max
          • z-image-turbo
          • qwen-image-edit-2509
          • qwen-image-max-2025-12-30 new address
          • qwen-image-2.0-2026-03-03
        • "dòng wan vạn năng"
          • wan2.7-image-pro
      • Mô hình video
        • Veo - Tạo video
          • Định dạng video thống nhất
            • mã trạng thái
            • Tạo video
            • Tạo video, kèm hình ảnh
            • Truy vấn nhiệm vụ
            • Tạo video (tham khảo hình ảnh)
          • Định dạng video OpenAI
            • OpenAI tạo video, kèm hình ảnh
            • Truy vấn tác vụ OpenAI
            • tải video từ OpenAI
          • 3.1 Định dạng gốc
            • "Tạo video veo-3.1-generate-preview"
            • Truy vấn nhiệm vụ
            • "Tạo video veo-3.1-fast-generate-preview"
        • Luma - Tạo video
          • Định dạng API chính thức
            • mã trạng thái
            • Gửi tác vụ tạo video
            • Mở rộng video
          • Truy vấn nhiệm vụ
            • Truy vấn một nhiệm vụ
            • Lấy nhiều tác vụ cùng lúc
        • Kling - Tạo video
          • Giao thức Callback
          • Sinh tạo hình ảnh
          • sinh video từ văn bản
          • Video từ hình ảnh
          • thử quần áo ảo
          • khớp hình dạng miệng
          • Kéo dài video
          • hiệu ứng video
          • Video tham khảo đa hình ảnh
          • Truy vấn tác vụ (miễn phí)
        • Runway - Tạo video
          • mã trạng thái
          • Gửi tác vụ tạo video
          • Truy vấn tác vụ video (miễn phí)
        • Jimeng - Tạo video
          • mã trạng thái
          • Định dạng video thống nhất
            • mã trạng thái
            • Tạo video
            • Truy vấn nhiệm vụ
          • định dạng chính thức
            • Đang thêm
          • Gửi tác vụ tạo video
          • Truy vấn tác vụ video (miễn phí)
        • Minimax - Tạo video
          • mã trạng thái
          • Gửi tác vụ tạo video
          • Truy vấn trạng thái tác vụ video
          • Video từ hình ảnh
          • video khung đầu-cuối
        • Doubao - Tạo video
          • Tạo nhiệm vụ
          • Truy vấn một nhiệm vụ
          • Danh sách tác vụ tạo video - Mặc định
          • Truy vấn danh sách tác vụ tạo video - Tìm kiếm nhiều ID tác vụ
          • seedance-1-5-pro-khung đầu cuối
          • seedance-1-5-pro
          • Tạo API nhiệm vụ tạo video (doubao-2.0)
          • API truy vấn nhiệm vụ tạo video của doubao-2.0
          • doubao-2.0 truy vấn danh sách tác vụ tạo video
        • Sora - Tạo video
          • Thống nhất định dạng video
            • Truy vấn nhiệm vụ
            • Tạo video, kèm hình ảnh sora-2
            • Tạo video sora-2
            • Tạo video sora-2-pro
            • Tạo video (có Character)
            • Tạo video, kèm ảnh sora-2 Copy
          • định dạng chat
            • Tạo video
            • Tạo video, kèm hình ảnh
            • Liên tục sửa đổi tạo video
          • Định dạng video chính thức của OpenAI
            • OpenAI tạo video, kèm hình ảnh
            • Tạo một nhân vật từ video đã tải lên
            • Tạo video bằng storyboard
            • OpenAI tạo video, kèm hình ảnh, chế độ riêng tư
            • OpenAI tạo video (có Character)
            • OpenAI chỉnh sửa video
            • tải video từ OpenAI
            • Truy vấn tác vụ OpenAI
          • Tạo vai trò
        • Grok - Tạo video
          • Định dạng video thống nhất
            • mã trạng thái
            • Tạo video
            • Truy vấn nhiệm vụ
            • Tạo video
            • Truy vấn nhiệm vụ
            • Mở rộng video
          • Định dạng video OpenAI
            • openai tạo video, ảnh thành video, video thành video
            • Tạo video bằng OpenAI, chuyển ảnh thành video
            • Truy vấn nhiệm vụ
        • AIGC - Tạo video
          • Tạo video
          • Truy vấn video
          • happyhorse-1.0-i2v
          • happyhorse-1.0-t2v
          • happyhorse-1.0-r2v
          • happyhorse-1.0-video-edit
        • TC-Vidu video generation
          • Định dạng video thống nhất
            • mã trạng thái
            • Tạo video
            • Truy vấn nhiệm vụ
        • Tencent - Tạo video
          • mã trạng thái
          • Tạo nhiệm vụ
          • Lấy kết quả yêu cầu
          • Nhiệm vụ tạo mẫu hiệu ứng
        • Doubao – Tạo video (chính thức)
        • omni video generation
          • Tạo ảnh tham chiếu video
          • Kết quả truy vấn
          • sinh video từ văn bản
      • mô hình giọng nói
        • Tongyi Wanxiang tổng hợp giọng nói
          • tổng hợp giọng nói
          • Sao chép tổng hợp giọng nói
      • Liên quan đến GPTs
        • Giới thiệu
        • Cuộc hội thoại GPTs
      • Âm nhạc sinh từ văn bản Suno
        • Hướng dẫn
        • tham số
        • Gửi nhiệm vụ
          • Tạo bài hát (Chế độ cảm hứng)
          • Tạo bài hát (Chế độ tùy chỉnh)
          • Tạo bài hát (chế độ tiếp tục viết)
          • Tạo bài hát (Phong cách ca sĩ)
          • Tạo bài hát (Tải lên bài hát để sáng tạo lại)
          • Tạo bài hát (nối ghép bài hát)
          • Tạo lời bài hát
          • Ghép nối bài hát
          • Báo cáo đã tải lên xong
          • Truy vấn trạng thái xử lý tải lên
          • Khởi tạo tệp âm thanh
          • Yêu cầu ủy quyền tải lên
          • Ví dụ tải lên S3
          • Tình huống 1: Chế độ Cảm hứng
          • Kịch bản 2: Tùy chỉnh.Lời bài hát Tên bài hát
          • Kịch bản ba: Nhạc thuần túy.Tùy chỉnh
        • giao diện truy vấn
          • Lấy nhiều tác vụ cùng lúc
          • Truy vấn một nhiệm vụ
          • Lấy wav
          • Timing: lời bài hát, dòng thời gian âm thanh
          • Lấy chi tiết kịch bản
      • Rerank - Mô hình Reranking
        • Rerank
      • Nền tảng Kling
        • Giao thức Callback
        • sinh video từ văn bản
          • sinh video từ văn bản
          • Truy vấn tác vụ (đơn lẻ)
        • Video từ hình ảnh
          • Video từ hình ảnh
          • Truy vấn tác vụ (đơn lẻ)
        • Omni-Video
          • Omni-Video
          • Truy vấn tác vụ (đơn lẻ)
        • Video tham khảo đa hình ảnh
          • Video tham khảo đa hình ảnh
          • Truy vấn tác vụ (đơn lẻ)
        • Chỉnh sửa video đa phương thức
          • Khởi tạo video chờ chỉnh sửa
          • Thêm vùng chọn video
          • Xóa vùng chọn video
          • Xem trước video vùng đã chọn
          • video đa phương thức
          • Truy vấn tác vụ (đơn lẻ)
        • Kéo dài video
          • Kéo dài video
          • Truy vấn tác vụ (đơn lẻ)
        • hiệu ứng video
          • hiệu ứng video
          • Truy vấn tác vụ (đơn lẻ)
        • Sinh tạo hình ảnh
          • Sinh tạo hình ảnh
          • Truy vấn tác vụ (đơn lẻ)
        • Tham khảo nhiều hình ảnh để tạo ra hình ảnh mới
          • Tham khảo nhiều hình ảnh để tạo ra hình ảnh mới
          • Truy vấn tác vụ (đơn lẻ)
        • Omni-Image
          • Omni-Image
          • Truy vấn tác vụ (đơn lẻ)
        • mở rộng hình ảnh
          • mở rộng hình ảnh
          • Truy vấn tác vụ (đơn lẻ)
        • nhận dạng hình ảnh
          • nhận dạng hình ảnh
        • nhân vật số
          • nhân vật số
          • Truy vấn tác vụ (đơn lẻ)
        • Sinh âm thanh từ văn bản
          • Sinh âm thanh từ văn bản
          • Truy vấn tác vụ (đơn lẻ)
        • Tạo âm thanh từ video
          • Tạo âm thanh từ video
          • Truy vấn tác vụ (đơn lẻ)
        • tổng hợp giọng nói
          • tổng hợp giọng nói
        • khớp hình dạng miệng
          • nhận diện khuôn mặt
          • khớp hình dạng miệng
          • Truy vấn tác vụ (đơn lẻ)
        • Âm sắc tùy chỉnh
          • Âm sắc tùy chỉnh
          • Truy vấn âm sắc tùy chỉnh (đơn)
          • Truy vấn giọng nói chính thức
          • Xóa âm sắc tùy chỉnh
        • Điều khiển hành động
          • Điều khiển hành động
          • Truy vấn tác vụ (đơn lẻ)
        • chủ thể
          • Chủ thể (cũ)
          • Chủ thể (phiên bản mới)
          • Tra cứu chủ thể tùy chỉnh (một phiên bản mới duy nhất)
          • Tra cứu chủ thể chính thức (phiên bản danh sách mới)
          • Xóa chủ thể tùy chỉnh (phiên bản mới)
      • Nền tảng PixVerse
        • Sinh video từ văn bản
        • Lấy trạng thái video
        • Tạo video từ hình ảnh
        • Mẫu video đã tạo
        • Video được tạo từ khung hình đầu và cuối
        • Tạo video khớp khẩu hình (Lipsync)
        • Lấy giọng TTS
        • Tạo video mở rộng (Extend)
        • Giao diện tạo hiệu ứng âm thanh (sound_effect)
        • Tạo video đa chủ thể (đa tham chiếu)
        • Tạo video bằng cách vẽ lại video
        • Tạo Mask thay thế chủ thể (Swap)
        • Hoán đổi chủ thể (Swap) tạo video
        • Video tạo nhiều khung hình (Multi-transition)
        • Tạo video mô phỏng hành động (Mimic)
        • chưa có
        • Tải lên hình ảnh
        • Tải lên tài nguyên (video/audio)
      • Replicate nền tảng tổng hợp
        • Hướng dẫn tích hợp
        • Độ phân giải Flux
        • Truy vấn nhiệm vụ
        • Tạo tác vụ - thông qua phiên bản mô hình (predictions)
        • Tạo tác vụ stability-ai/stable-diffusion
        • Tạo tác vụ stability-ai/sdxl
        • Tạo tác vụ stability-ai/stable-diffusion-inpainting
        • Tạo tác vụ stability-ai/stable-diffusion-img2img
        • Tạo tác vụ lucataco/flux-schnell-lora
        • Tạo tác vụ lucataco/flux-dev-lora
        • Tạo tác vụ andreasjansson/stable-diffusion-animation
        • Tạo tác vụ sujaykhandekar/object-removal
        • Tạo tác vụ cjwbw/rembg
        • Tạo tác vụ lucataco/animate-diff
        • Tạo tác vụ ideogram-ai/ideogram-v2-turbo
        • Tạo tác vụ black-forest-labs/flux-kontext-dev
        • Tạo tác vụ minimax/video-01-live
        • Tạo tác vụ minimax/video-01
        • Tạo tác vụ recraft-ai/recraft-v3
        • Tạo tác vụ recraft-ai/recraft-v3-svg
        • Tạo tác vụ black-forest-labs/flux-1.1-pro-ultra
        • Tạo tác vụ black-forest-labs/flux-kontext-pro
        • Tạo tác vụ black-forest-labs/flux-kontext-max
        • Tạo tác vụ flux-kontext-apps/multi-image-kontext-max
        • Tạo tác vụ flux-kontext-apps/multi-image-kontext-pro
        • Tạo tác vụ lucataco/remove-bg
        • Tạo tác vụ riffusion/riffusion
        • Tạo tác vụ black-forest-labs/flux-fill-dev
        • Tạo tác vụ black-forest-labs/flux-fill-pro
        • Tạo tác vụ google/imagen-4-fast
        • Tạo tác vụ google/imagen-4-ultra
        • Tạo tác vụ google/imagen-4
        • Tạo tác vụ prunaai/vace-14b
        • Tạo tác vụ bytedance/seedream-4
      • MINIMAX chính thức
        • Tạo tác vụ tổng hợp giọng nói không đồng bộ V2
        • Tổng hợp giọng nói đồng bộ V2
        • Tác vụ tạo video từ văn bản
        • Tải lên âm thanh được sao chép
        • Tải lên âm thanh ví dụ
        • Video được tạo từ khung hình đầu và cuối
        • Sao chép nhanh âm sắc
        • Truy vấn trạng thái tác vụ tạo video
        • Truy xuất (dùng cho tải video, tải audio không đồng bộ)
        • Tổng hợp văn bản
        • Truy vấn trạng thái tác vụ tạo giọng nói
        • thiết kế âm sắc
      • Video, hình ảnh và âm thanh được tạo bởi VIDU chính thức
        • mã trạng thái
        • Tạo tác vụ tạo video từ văn bản
        • Tạo tác vụ video từ hình ảnh
        • Tạo tác vụ tạo hình ảnh
        • Tạo tác vụ chuyển đổi văn bản thành âm thanh
        • tổng hợp giọng nói
        • Tạo nhiệm vụ video tham chiếu (gọi bởi chủ thể)
        • Tạo nhiệm vụ video tham chiếu (không phải do đối tượng chính gọi)
        • Tạo tác vụ video sinh từ khung đầu và khung cuối
        • Lấy kết quả yêu cầu
      • Nền tảng tổng hợp Fal-ai (Không còn dùng nữa)
        • Hướng dẫn tích hợp
        • falai-veo3 Tạo 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
        • Lấy kết quả yêu cầu
        • /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
      • Cách cấu hình Python
        • Python sử dụng chuyển đổi giọng nói thành văn bản
        • Python sử dụng chuyển đổi văn bản thành giọng nói
        • Python sử dụng Embeddings để vector hóa
        • Python gọi DALL·E
        • Demo gọi hàm OpenAI đơn giản bằng Python
        • Demo gọi OpenAI với LangChain đơn giản bằng Python
        • Cấu hình Python llama_index
        • Hội thoại cơ bản Python
        • Sử dụng Python với gpt-4o để nhận diện hình ảnh - Hình ảnh cục bộ
        • Sử dụng Python và gpt-4o để nhận diện hình ảnh
        • Sử dụng Python và Claude để nhận diện hình ảnh
        • Thư viện Python xuất dữ liệu theo luồng
        • Gọi mô hình GPT Realtime
        • Python request - demo đầu ra luồng
        • Python sử dụng gpt-image-1 để tạo và chỉnh sửa hình ảnh
        • Thư viện chính thức Python OpenAI (sử dụng AutoGPT, langchain, v.v.)
        • Hội thoại liên tục Python
      • Cách cấu hình PHP
        • Demo chỉnh sửa hình ảnh bằng PHP
      • Cách cấu hình Node.js
        • Hội thoại cơ bản Node.js
      • minimax-voice (TTS)
        • Tạo giọng nói từ Minimax
      • Truy cập bằng UserAPIKey
        • Logs
          • Lấy nhật ký chat
          • Lấy nhật ký Midjourney
          • Lấy nhật ký Task
        • Token
          • Tạo LLM Token mới
          • Cập nhật LLM Token
          • Xoá LLM Token
          • Lấy danh sách token (có phân trang)
          • Lấy tất cả LLM Token (không phân trang)
        • Healthy
          • Kiểm tra trạng thái hoạt động hệ thống
        • Ví
          • Kiểm tra số dư
        • Nhóm
          • Lấy danh sách nhóm mô hình
      • Hướng dẫn sử dụng các plugin/phần mềm
        • Hướng dẫn sử dụng API Key4U với Clawdbot (MobtBot)
        • Hướng dẫn sử dụng Key4U với Opencode
        • 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 (Lập trình qua Terminal)
        • Hướng dẫn sử dụng LobeChat
        • Sử dụng tiện ích mở rộng ChatGPT Sidebar trên trình duyệt
        • Hướng dẫn cấu hình ChatGPT GPT Academic để tối ưu nghiên cứu học thuật
      • Trung tâm trợ giúp
        • Trường được trả về từ AI: thinking_related
        • Mã trạng thái HTTP và ý nghĩa của chúng
        • API tự xây dựng lưu trữ hình ảnh
  1. Python Configuration Methods

Python request streaming output demo

Modified at 2026-06-01 02:49:50
Previous
GPT Realtime Model Invocation
Next
Python using gpt-image-1 to create and edit images
Built with