Video Generation Models
Interface description: Obtain the video generation model and parameter range available for the current account, including model name, resolution, screen ratio, duration and price information, to be used to generate the video interface to complete parameter selection and request parameter verification.
curl --request GET \
--url https://aitoearn.cn/api/ai/models/video/generation{
"code": 0,
"message": "Request succeeded",
"data": [
{
"name": "string",
"description": "string",
"tags": [],
"creditsScope": "general",
"modes": [
"text2video"
],
"resolutions": [
"string"
],
"durations": [
1
],
"maxInputImages": 1,
"aspectRatios": [
"string"
],
"defaults": {
"resolution": "string",
"aspectRatio": "string",
"duration": 1
},
"pricing": [
{
"price": 1,
"resolution": "string",
"aspectRatio": "string",
"mode": "string",
"duration": 1,
"discount": "string",
"originPrice": 1
}
],
"summary": "string"
}
]
}Response
The request has been processed by the service. Business success is determined by whether the response body has code === 0.
Business status code. 0 means success; non-zero means a business error.
Response message.
Hide child attributes
Hide child attributes
Model name
Model description
list
Points range
general, sale Supported mode list
text2video, image2video, flf2video, lf2video, multi-image2video, multi-ref, video2video Supported sizes
Support duration
Maximum number of input images
List of supported aspect ratios
Model summary
main tags
Multimodal input constraints
Hide child attributes
Hide child attributes
Image input constraints
Hide child attributes
Hide child attributes
Maximum number of inputs
Supported file formats
Minimum duration (seconds)
Maximum duration of a single file (seconds)
Total maximum duration (seconds)
Maximum size of a single file (MB)
minimum aspect ratio
Maximum aspect ratio
minimum width
maximum width
Minimum number of pixels
Maximum number of pixels
Minimum frame rate
Max frame rate
Video input constraints
Hide child attributes
Hide child attributes
Maximum number of inputs
Supported file formats
Minimum duration (seconds)
Maximum duration of a single file (seconds)
Total maximum duration (seconds)
Maximum size of a single file (MB)
minimum aspect ratio
Maximum aspect ratio
minimum width
maximum width
Minimum number of pixels
Maximum number of pixels
Minimum frame rate
Max frame rate
Audio input constraints
Hide child attributes
Hide child attributes
Maximum number of inputs
Supported file formats
Minimum duration (seconds)
Maximum duration of a single file (seconds)
Total maximum duration (seconds)
Maximum size of a single file (MB)
minimum aspect ratio
Maximum aspect ratio
minimum width
maximum width
Minimum number of pixels
Maximum number of pixels
Minimum frame rate
Max frame rate
Request ID.
Error response timestamp in Unix milliseconds.
curl --request GET \
--url https://aitoearn.cn/api/ai/models/video/generation{
"code": 0,
"message": "Request succeeded",
"data": [
{
"name": "string",
"description": "string",
"tags": [],
"creditsScope": "general",
"modes": [
"text2video"
],
"resolutions": [
"string"
],
"durations": [
1
],
"maxInputImages": 1,
"aspectRatios": [
"string"
],
"defaults": {
"resolution": "string",
"aspectRatio": "string",
"duration": 1
},
"pricing": [
{
"price": 1,
"resolution": "string",
"aspectRatio": "string",
"mode": "string",
"duration": 1,
"discount": "string",
"originPrice": 1
}
],
"summary": "string"
}
]
}
