1. Various Plugins/Software Usage Tutorials
APISPACE
  • apispace
    • Root Directory
      • Make a Request
      • API Quick Start Guide
      • Chat
        • ChatGpt interface
          • ChatGPT Audio
            • GPT-4o-audio
            • Whisper-1 audio-to-text
            • audio to text gpt-4o-transcribe
            • Create a voice GPT-4O-Mini-TTS
            • Create translation (not supported)
          • ChatGPT (Chat)
            • Create chat autocomplete (streaming)
            • Create chat autocomplete (non-stream)
            • Create a chat image recognition feature (streaming).
            • Create a chat image recognition feature (streaming) best64
            • Create a chat image recognition feature (non-stream).
            • Create chat-generating images (non-stream).
            • Official Function calling call
            • Official N test
            • List the models
            • Create chat function call
            • Create structured output
            • Controlling the effort level of the inference model
            • Create chat autocomplete qwen-mt-turbo
          • ChatGPT auto-completion (Completions)
            • Creation complete
          • ChatGPT Embeddings
            • Create an embed
          • Web Search
            • Create chat autocomplete in DeepSeek v3.1 (streaming).
        • Anthropic Claude Interface
          • native format
            • PDF supports base64 format.
            • Internet search
          • Create chat autocomplete (streaming)
          • web search
          • Create a Thinking Chat
          • Create function calls (streaming)
          • Create chat autocomplete (streaming)
          • Create formatted output
          • Create chat autocomplete (non-stream)
          • Create a Thinking Chat
          • PDF support
          • deepseek-ocr recognition
        • Google Gemini Interface
          • native format
            • Chat interface [native format]
            • Text generation
            • Chat Interface - Stream [Native Format]
            • Text generation - stream
            • Text generation - stream
            • Image creation [native format]
            • Text generation + thinking-flow
            • Image generation
            • Image editing [native format] gemini-2.5-flash-image-preview
            • Image generation gemini-2.5-flash-image
            • Image generation gemini-2.5-flash-image control aspect ratio
            • Image generation: Gemini 3 Pro Image Preview - Controlling Aspect Ratio and Sharpness
            • Image editing
            • Image Understanding
            • Chat API - Read Webpages [Native Format] Under Development
            • Formatted output
            • function call
            • Document Understanding
            • Document Understanding
            • URL context [native format]
            • Video understanding - URL [Native format] Under development
            • Code execution
            • google search
            • google search
            • Video Understanding
            • Video Understanding
            • Imagen 4 under development
            • URL context
            • Video understanding - URL [Native format] Under development
            • URL context [native format]
            • Audio understanding
            • Video understanding - URL [Native format] Under development
            • Embeddings
            • Text generation + thinking-flow
            • Text generation gemi-3-pro-preview:generateContent
            • gemini-tts Text-to-Speech
            • Text generation - stream
            • TTS (Text-to-Speech)
            • Imagen generates images
            • Text embedding
          • Chat compatible format
            • gemini image creation interface [chat compatible format]
            • Chat interface [chat compatible format]
            • Create a chat image recognition feature (streaming).
            • Create a chat image recognition feature (non-stream).
            • Text embedding [chat-compatible format]
        • ChatGpt API
          • ChatGPT Chat (Chat)
            • Chat Completion Object
            • Chat Completion Chunk Object
          • ChatGPT Completion (Completions)
            • Completion Object
          • ChatGPT Embedding (Embeddings)
            • Embedding Object
        • Anthropic Claude API
          • Chat Completion Object
          • Chat Completion Chunk Object
      • Chat (Responses)
        • Responses API vs Chat API Comparison
        • Create Model Response
        • Create function call
        • Create a model response (streaming return)
        • Create a model response (controlling the length of thought)
        • Create a web search
        • Creating a model response GPT-5 enables thinking.
        • Create function call Copy
      • Painting Model
        • Midjourney
          • Upload Image
          • Submit Imagine task
          • Query task status by task ID
          • Search for tasks based on the ID list
          • Get the seed for the task image
          • Execute Action
          • Submit Blend task
          • Submit Describe task
          • Submit Shorten task
          • Submit Modal
          • Submit swap_face task
        • Ideogram
          • Generate 3.0 (Text-based Image Generator)
          • Generate 3.0 (Image Editing)
          • Generate 3.0 (Image Remix)
          • Generate 3.0 (Image Reframe)
          • Generate 3.0 (Replace Background)
          • ideogram (or ideogram)
          • Remix (mixing graph)
          • Upscale (enlarge to high definition)
          • Describe
        • GPT Image-1
          • Create gpt-image-1
          • Edit gpt-image-1
          • mask gpt-image-1
        • FROM 3
          • Create gpt-image-1.5
        • FLUX series
          • GPT compatible format
            • Creating paintings
            • Edit gpt-image-1.5
          • Replicate official format
            • Create task black-forest-labs/flux-kontext-dev
            • Query task
          • Fal.ai official format
            • 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-tree/flux-pro/context
            • /fal-ai/flux-pro/kontext/text-to-image
            • /fal-ai/flux-pro/kontext/max
            • /fal-ai/flux-pro/kontext/max/multi
            • FLUX.1 Context [Pro]
            • FLUX.1 Kontext [Multi] (Experimental multi-image editing)
            • FLUX.1 Kontext [Max]
            • FLUX.1 Kontext [Max] Text to Image Converter
            • FLUX.1 Kontext [Max Multi] (Experimental multi-image editing)
        • Doubao series
          • Create DALL·E 3
          • Flux creation (OpenAI dall-e-3 format)
          • doubao-seedream-3-0-t2i-250415
          • doubao-seededit-3-0-i2i-250628
          • doubao-seedream-4-0-250828-文生图
          • doubao-seedream-4-5-251128 Text-based image (plain text input, single image output)
          • doubao-seedream-4-5-251128 Image and text output (single image input, single image output)
          • doubao-seedream-4-5-251128 Multi-image fusion (multiple image inputs, single image output)
          • doubao-seedream-4-5-251128 Image set output (multiple images)
        • Fal.ai platform
          • /fal-ai/nano-banana (Text by Wen Sheng Tu)
          • /fal-ai/nano-banana/edit Image editing
        • Qwen-Image Series
          • doubao-seedream-4-0-250828-raw image
        • Dream Painting
          • doubao-seedream-4-0-250828-Multiple raw images
          • Mask gpt-image-1.5
        • GPT Image Series
          • Edit Image
          • Flux editing (OpenAI dall-e-3 format)
          • doubao-seedream-4-5-251128 Single image/group of images
          • doubao-seedream-4-5-251128 Multiple reference images for group photos
        • Tencent AIGC raw images
          • Get the request result
          • Create task
        • Qwen series
          • qwen-image-max
          • z-image-turbo
          • qwen-image-edit-2509
      • Video Model
        • VEO video generation
          • Unified video format
            • Create video
            • Create a video with images
            • Query task
          • OpenAI video format
            • Create videos with images using OpenAI.
            • OpenAI query task
            • OpenAI video download
        • Luma video generation
          • Official API format
            • Submit video generation task
            • Extended video
          • Query task
            • Query a single task
            • Batch retrieval tasks
        • Kling Quick & Easy
          • Image generation
          • Wensheng Video
          • Virtual try-on
          • Lip-syncing
          • Video extension
          • Video effects
          • Image and video
          • Multiple images and reference videos
          • Search for tasks (free)
        • Runway video generation
          • Submit video generation task
          • Search for video tasks (free)
          • Chat Interface - Thoughts 1 [Chat Compatible Format]
        • Immediate Dream Video Generation
          • Unified video format
          • Official format
          • Submit video generation task
          • Search for video tasks (free)
        • Conch video generation
          • Submit video generation task
          • Video task status query
          • Image and video
          • First and last frame video
        • Doubao video generation
          • Wensheng Video Example
          • Image-based video - first frame
          • seedance-lite-first and last frames
          • Image-based 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
          • seedance-1-5-pro-first and last frames
          • seedance-1-5-pro
        • Sora video generation
          • Asynchronous format
            • Create video
            • Query task
            • Creating a video (see reference image)
          • chat format
            • Continuous modification to generate video
          • Unified video format
            • Query task
            • Create a video with images using sora-2
            • Create video sora-2
            • Create video sora-2-pro
            • Create a video (with Character)
          • OpenAI official video format
            • Create videos with images using OpenAI.
            • Create videos using storyboards
            • OpenAI video creation with private image mode
            • Create videos with Character using OpenAI.
            • OpenAI video editing
            • OpenAI video download
            • OpenAI query task
          • Create a character
        • Tongyi Wanxiang Video Generation
          • Generate video
          • Video search
        • Grok video generation
          • Unified video format
            • Create video
            • Query task
        • Tencent AIGC Video Generation
          • Create task
          • Get the request result
      • GPTs related
        • GPTs Dialogue
        • Chat Interface - Reflections 2 [Chat Compatible Format]
        • Image recognition interface [chat compatible format]
        • Chat + file reading interface [chat compatible formats]
      • System API
        • Get Token List
        • New token
        • Get Token Support Model
        • Get account information
        • Modify token
        • Search token
        • Delete token
        • Search token
        • Get token usage
      • Suno Music
        • Task Submission
          • Generate a song (Inspiration Mode)
          • Generate a song (custom mode)
          • Generate a song (continuation mode)
          • Generate songs (singer style)
          • Generate a song (upload a song for secondary creation).
          • Generate a song (compose a song)
          • Generate lyrics
          • Song splicing
          • Persona: Create Singer Style
          • Report uploaded
          • Query upload processing status
          • Initialize audio file
          • Request to upload authorization
          • S3 upload example
          • Scene 1: Inspiration Mode
          • Scenario 2: Custom lyrics and song title
          • Scene 3: Instrumental Music. Custom
        • Query Interface
          • Batch retrieval tasks
          • Query a single task
          • Get WAV
          • Timing: Lyrics, Audio Timeline
          • Get scene details
        • Create video
        • Create a video with images
      • Rerank Reordering Model
        • Reordering
      • Replicate aggregation platform
        • Query task
        • Create a task - via the 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 a quest recraft-ai/recraft-v3
        • Create a quest recraft-ai/recraft-v3-svg
        • Create the 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 lucataco/remove-bg
        • Create a 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 byendance/seedream-4
      • Help Center
        • AI Return Fields: Thinking Related
        • HTTP Status Codes and Their Meanings
        • Self-hosted Image Hosting API
        • Upload images to image hosting service
      • Fal-ai aggregation platform
        • 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 the request result
        • /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
      • Kling platform
        • Wensheng Video
          • Wensheng Video
          • Query task (single)
        • Image and video
          • Image and video
          • Query task (single)
        • Omni-Video
          • Omni-Video
          • Query task (single)
        • Multiple images and reference videos
          • Multiple images and reference videos
          • Query task (single)
        • Multimodal video editing
          • Initialize the video to be edited
          • Add video selection area
          • Video selection area deletion
          • Preview of selected video area
          • 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)
        • Multiple reference images
          • Multiple reference images
          • Query task (single)
        • Omni-Image
          • Omni-Image
          • Query task (single)
        • Expanding the map
          • Expanding the map
          • Query task (single)
        • Image recognition
          • Image recognition
        • Digital Human
          • Digital Human
          • Query task (single)
        • Vincent sound effects
          • Vincent sound effects
          • Query task (single)
        • Video audio effects
          • Video audio effects
          • Query task (single)
        • Speech Synthesis
          • Speech Synthesis
        • Virtual try-on
          • Virtual try-on
          • Query task (single)
        • Lip-syncing
          • Facial recognition
          • Lip-syncing
          • Query task (single)
        • Custom tone
          • Custom tone
          • Query custom tone (single)
          • Custom tone
          • Search official sound
          • Delete custom tone
        • motion control
          • motion control
          • Query task (single)
        • main body
          • main body
      • Conch Minimax Platform
        • Create Asynchronous Speech Synthesis Task V2
        • Synchronous Speech Synthesis V2
        • Text, image, and video generation tasks
        • Uploaded replica audio
        • Upload sample audio
        • First and last frames generate video
        • Rapid sound reproduction
        • Query video generation task status
        • Search (for video downloading, asynchronous audio downloading)
        • Text synthesis
        • Query the status of the speech generation task
        • Tone Design
      • Vidu platform video generation, image generation, and audio generation.
        • Create a video task
        • Creating Image-Based Video Tasks
        • Create image generation task
        • Create a Wensheng audio task
        • Speech Synthesis
        • Create a reference video task
        • Create first and last frame video task
        • Get the request result
      • Python configuration methods
      • PHP configuration method
      • Node.js configuration method
      • Tutorials on using various plugins/software
      • Image Models
        • README
        • Image Object
        • FLUX Series
          • Replicate Official Format
            • Flux Resolution
            • Integration Tutorial
          • Fal.ai Official Format
            • Integration Tutorial
        • Fal.ai Platform
          • Status Codes
        • Tencent AIGC Image Generation
          • Status Codes
      • Video Models
        • veo Video Generation
          • Video Unified Format
            • Status Codes
        • luma Video Generation
          • Official API Format
            • Status Codes
        • Kling Kuaishou Kling
          • Callback Protocol
        • Runway Video Generation
          • Status Codes
        • Jimeng Video Generation
          • Status Codes
          • Video Unified Format
            • Status Codes
          • Official Format
            • Adding
        • Hailuo Video Generation
          • Status Codes
        • grok Video Generation
          • Video Unified Format
            • Status Codes
        • Tencent AIGC Video Generation
          • Status Codes
      • GPTs Related
        • Introduction
      • Text-to-Music Suno
        • Description
        • Parameters
      • Replicate Aggregation Platform
        • Integration Tutorial
        • Flux Resolution
      • Fal-ai Aggregation Platform
        • Integration Tutorial
      • Kling Platform
        • Callback Protocol
      • vidu Platform Video Generation, Image Generation, Audio Generation
        • Status Codes
      • Python Configuration Methods
        • python openai official library (using AutoGPT, langchain, etc.)
        • python continuous conversation
        • python using speech-to-text
        • python using text-to-speech
        • python using Embeddings vectorization
        • python calling DALL·E
        • python simple call openai function-calling demo
        • python simple langchain call openai demo
        • python llama_index configuration
        • Python Basic Conversation
        • Python using gpt-4o to recognize images - local images
        • Python using gpt-4o to recognize images
        • Python using Claude to recognize images
        • python library streaming output
        • gpt realtime model call
        • python request streaming output demo
        • python using gpt-image-1 to create and edit images
      • php Configuration Methods
        • php image editing demo
      • nodejs Configuration Methods
        • nodejs basic conversation
      • Various Plugins/Software Usage Tutorials
        • Gemini CLI Relay Station Configuration and Usage Tutorial
        • Claude Code Installation and Usage Tutorial
        • CherryStudio calling cluade MCP
        • Cherry Studio Configuration Tutorial
        • CherryStudio configuring o4 reasoning level
        • dify 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 Translate setup gpt translation
        • Browser plugin ChatGPT Sidebar
        • chatgpt-on-wechat configuration tutorial
        • chatgpt GPT Academic academic optimization configuration gpt tutorial
        • N8N Workflow Using Relay API Tutorial
        • Codex Configuration Tutorial
        • RikkaHub Configuration Tutorial
        • coze workflow using relay API tutorial
        • Cherry Studio configuring banana pro 4K and resolution tutorial
        • Coze workflow simple configuration from input to getting url
        • n8n workflow example of getting local image to generate video
        • OpenClaw Clawdbot custom relay station configuration tutorial
        • opencode configuration tutorial
        • OpenClaw latest version custom relay station configuration tutorial
  1. Various Plugins/Software Usage Tutorials

Coze workflow simple configuration from input to getting url

If you are a Coze VIP, you can directly download the workflow and import it#

https://wwaod.lanzn.com/b011lwl8ij
Password:3qnp

Taking sora2 as an example, from inputting text and uploading images to finally getting the url, a simple loop workflow (the overall diagram is below)#

企业微信截图_17677735722402.png

1. Start#

Add input variables according to the prompt and image, according to the parameters required by the interface. If more parameters need to be input, you can also add them
企业微信截图_1767773636845.png

2. Request model (add http node)#

Configure the http request according to the documentation
1.The first red box configures the request method and url
2.The second red box configures the request headers
3.The third place configures the request body. Please choose the format according to the corresponding request body in the documentation. In this example, json is used, where the fields marked with start are parameters obtained from the previous input. You can directly enter {} in the editor to select them
企业微信截图_17677740268061.png

3. Process the request result to get taskId (add code node)#

As shown in the figure, when inputting, directly get the output body of the previous step as the variable value
Use code to parse the body and get the id in it (in this example, JavaScript is selected for the code, as follows)
async function main({ params }: Args): Promise<Output> {
    // 1. Get the body string from params.input
    // Note: It is assumed here that params.input is the entire HTTP response object
    const bodyStr = params.input;

    // 2. Parse the string body into a JSON object
    // Because the value of body is a string "{\"id\":...}", JSON.parse is needed
    let taskId = "";
    try {
        const bodyObj = JSON.parse(bodyStr);
        taskId = bodyObj.id;
    } catch (e) {
        // Prevent runtime errors caused by parsing failure
        console.log("JSON parsing failed:", e);
    }

    // 3. Build the output object and return taskId
    const ret = {
        "taskId": taskId
    };

    return ret;
}
Please make the variable name in the final output position consistent with the parameter name in ret in the code
企业微信截图_17677742429398.png

4. Loop request query interface to get url (add loop node)#

1. Set up the loop (in this example, an infinite loop is used and the loop is exited according to the judgment condition). Set it as needed#

The intermediate variable is the taskId output by the previous code node
Outputs url and status
企业微信截图_17677745518897.png

2. Add an http node in the loop to request task query#

The parameters and request body should be based on the query task of the model used in the documentation
企业微信截图_17677753812075.png

3. Add a code node to get url and task status#

As shown in the figure, the input gets the output body of the query task. The code is as follows
async function main({ params }: Args): Promise<Output> {
    // 1. Get the body string from params.input
    const bodyStr = params.input;

    // 2. Parse the string body into a JSON object
    let url = "";
    let status = "";
    try {
        const bodyObj = JSON.parse(bodyStr);
        url = bodyObj.video_url;
        status = bodyObj.status;
    } catch (e) {
        // Prevent runtime errors caused by parsing failure
        console.log("JSON parsing failed:", e);
    }

    // 3. Build the output object and return taskId
    const ret = {
        "url": url,
        "status": status
    };

    return ret;
}
企业微信截图_17677755174326.png

4.Add a judgment node to determine whether the query obtained a url#

In this example, the judgment node sets two branches. The first branch checks whether the url output by the previous code node is empty
The second branch checks whether the status is failed
企业微信截图_17677757634138.png

5.Execute according to the judgment result#

Add a node to terminate the loop. When either the first judgment of the judgment node succeeds or the second judgment succeeds, terminate the loop
Add a timer node and a continue loop node. When both judgments of the judgment node are false, execute the timer first (to prevent request failure caused by concurrent requests, it is recommended to set it to 1500ms), and after the timer connect to continue loop
企业微信截图_17677758794115.png
Five, process the result obtained by the loop (add a code node)
Because the result obtained after the loop is an array, processing is needed to get only the final output result (code as follows)
The input is the output result of the loop
async function main({ params }: Args): Promise<Output> {

    // Get input
    const urls = params.urls;
    const statuss = params.statuss;

    // 3. Build the output object and return taskId
    const ret = {
        "url": urls[urls?.length -1],
        "status": statuss[statuss?.length -1]
    };

    return ret;
}
Outputs the processed url and status
企业微信截图_17677761996893.png

6. Determine whether the url has a value to determine whether video generation succeeded or failed#

企业微信截图_17677764885854.png

7. Finally output the result#

As shown in the figure, output the success and failure results and then end. You can output text or variables according to your needs, or put the output result in the end node for output
企业微信截图_17677765862529.png
企业微信截图_17677765941365.png

#

8. Achieved effect#

企业微信截图_17677770925315.png
Modified at 2026-09-23 08:28:57
Previous
Cherry Studio configuring banana pro 4K and resolution tutorial
Next
n8n workflow example of getting local image to generate video
Built with