Imagine API Reference
  1. Video Generation
Imagine API Reference
  • Imagine API References
  • Image Generation
    • Text to Image API
      POST
    • Text to PNG API
      POST
  • Image Editing
    • Background Remover API
      POST
    • Image Upscale API
      POST
    • Generative Fill API
      POST
    • AI Resize API
      POST
    • Retouch API
      POST
  • E-Commerce
    • AI Backgrounds API
      POST
  • Video Generation
    • Text to Video API
      POST
    • Image to Video API
      POST
    • Status by ID
      GET
    • (Deprecated) Status by ID
      GET
    • Delete by ID
      DELETE
    • (Deprecated) Delete by ID
      DELETE
  1. Video Generation

Image to Video API

POST
https://api.vyro.ai/v2/video/image-to-video
video
Our Video Generation API enables users to create videos based on an input image and a selected style ID, with various optional customization settings such as aspect ratio,

Request

Header Params
Authorization
string 
optional
Example:
Bearer {{API Token}}
Body Params multipart/form-data
style
enum<string> 
required
Allowed values:
imagine-v1imagine-v2kling-1.0-standardkling-1.0-prokling-1.5hailuo-aihailuo-live-ai
Example:
kling-1.0-pro
prompt
string 
required
Example:
A close-up portrait of a young woman with striking green eyes and a delicate, ethereal appearance. she has a serene expression, with her lips slightly parted, and her skin is covered in a shimmering, scales-like texture. the woman is positioned in the middle of the image, with the background blurred to emphasise her features. she is wearing a light green dress with ruffled edges, which adds a touch of elegance to her overall appearance. her eyes are large and expressive, with a hint of a smile on her lips. her eyelashes are long and full, adding to her natural beauty. the lighting is soft and natural, highlighting her delicate features and creating a sense of depth and dimensionality. the overall effect is one of serenity and beauty, making the image a captivating and captivating piece of art.
file
file 
required
Example:
cmMtdXBsb2FkLTE3NDIyMDA1ODUwOTktNg==/model.jpg

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.vyro.ai/v2/video/image-to-video' \
--header 'Authorization: Bearer vk-ad08a8e86d1a84404e5837be47d39ab44474f982671c0a' \
--form 'style="kling-1.0-pro"' \
--form 'prompt="A close-up portrait of a young woman with striking green eyes and a delicate, ethereal appearance. she has a serene expression, with her lips slightly parted, and her skin is covered in a shimmering, scales-like texture. the woman is positioned in the middle of the image, with the background blurred to emphasise her features. she is wearing a light green dress with ruffled edges, which adds a touch of elegance to her overall appearance. her eyes are large and expressive, with a hint of a smile on her lips. her eyelashes are long and full, adding to her natural beauty. the lighting is soft and natural, highlighting her delicate features and creating a sense of depth and dimensionality. the overall effect is one of serenity and beauty, making the image a captivating and captivating piece of art."' \
--form 'file=@"cmMtdXBsb2FkLTE3NDIyMDA1ODUwOTktNg==/model.jpg"'

Responses

🟢200Success
application/json
Body
id
string 
required
Unique ID of the generated video
status
string 
required
Status of the request
Example
{
  "id": "string",
  "status": "string"
}
🟠400Bad Request
🔴500Internal Server Error
🔴503Service Unavailable
Previous
Text to Video API
Next
Status by ID