gensta DOCS
api-platform.gensta.ai/v1 Developer portal

Request

POST/v1/generationsmode: image_to_video
json
{
  "model": "wan-3.0",
  "mode": "image_to_video",
  "variant": "prime",
  "parameters": {
    "resolution": "1080p",
    "duration_seconds": 6,
    "ratio": "adaptive",
    "prompt_extend": true
  },
  "input": {
    "prompt": "The camera slowly pushes toward the subject",
    "first_frame": {
      "type": "https_url",
      "url": "https://cdn.example.com/first-frame.png"
    },
    "last_frame": {
      "type": "https_url",
      "url": "https://cdn.example.com/last-frame.png"
    }
  }
}

Frame rules

  • first_frame is required and accepts an HTTPS URL or a ready image media_asset.
  • last_frame is optional and uses the same locator shape.
  • input.prompt is optional for image-to-video.
  • Do not mix first_frame/last_frame with a references array.

URL lifetime

An HTTPS URL must be reachable without embedded credentials and remain available until processing completes. If uploads are enabled for your project, you can upload once and pass the resulting media_asset_id.