Skip to main content
GET
Estimate video credits

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <api_key>, where <api_key> is your API key. To get your API key, go to Developer Hub and click "Create new API Key".

Query Parameters

tool
enum<string>
required

The create endpoint to price, named by its path. For example image-to-video for POST /v1/image-to-video.

Available options:
image-to-video,
text-to-video,
ai-ugc-ad,
ai-video-editor,
character-replace,
audio-to-video,
ai-video-translator,
ai-video-upscaler,
face-swap,
auto-subtitle-generator
Example:

"image-to-video"

end_seconds
number
required

The end_seconds of the create request. Used by every tool.

Example:

5

start_seconds
number

The start_seconds of the create request, for tools whose create request has it. Defaults to 0.

model
string

The model of the create request. Used by image-to-video, text-to-video, ai-ugc-ad, ai-video-editor, character-replace.

Example:

"kling-3.0"

resolution
string

The resolution of the create request. Used by image-to-video, text-to-video, ai-ugc-ad, ai-video-editor, character-replace, audio-to-video, ai-video-translator, ai-video-upscaler. ai-video-translator defaults to 480p.

Example:

"720p"

audio
boolean

The audio of the create request. Used by image-to-video, text-to-video. Defaults to false.

has_video_reference
boolean

Whether any of the create request's references is a video. Used by text-to-video. Defaults to false.

Response

Success

Success

estimated_credits
integer
required

Credits a create request with these fields charges.

Example:

150