⌘K

Vidu Image Prompt Recommendation

vidu-cn-img2video-prompt-recommendation

Recommend prompts from input images for image-to-video creation.

Authentication

authorization string required

All APIs require authentication via Bearer Token.

Get API Key:

Visit API Key Management Page to get your API Key.

Usage:

Add to request header:

Authorization: Bearer YOUR_API_KEY

Parameters

model string required

Customer-facing model ID used for the request.

Value: vidu-cn-img2video-prompt-recommendation


images array[string] required

Input image URLs or supported Base64 data URIs.


type string

Prompt recommendation type. Use the image-to-video type for I2V workflows.


count integer

Number of prompts to return.


Synchronous Response

This is a synchronous endpoint. On success, the result is returned directly in the create response.

Response Format

error object

Error information, only present when status is failed.

code string

Error code

message string

Detailed error message


output array

Generation results, present when the request succeeds.

content array

List of generated resource content

type string

Resource type.

Value: text

url string

Generated resource URL when the result is a media file.

text string

Recommended prompt text when the result is text.

jobId string

Upstream task ID.


usage object

Usage statistics, present when the request succeeds.

cost string

Total cost in USD.

discount number

Discount amount.


metadata object

Metadata information.