gen3a_turbo

This documentation is valid for the following list of our models:

  • gen3a_turbo

Overview

An advanced AI model designed for converting images into high-quality videos. It allows users to generate dynamic video content with smooth motion and detailed textures from still images or text prompts, significantly enhancing creative workflows in multimedia production.

Each generation costs 525 000 Apilaplas Tokens.

Setup your API Key

If you don’t have an API key for the Apilaplas API yet, feel free to use our Quickstart guide.

How to Make a Call

Generating a video using this model involves sequentially calling two endpoints:

  • The first one is for creating and sending a video generation task to the server (returns a generation ID).

  • The second one is for requesting the generated video from the server using the generation ID received from the first endpoint.

Below, you can find two corresponding API schemas and an example that combines both endpoint calls.

API Schemas

Video Generation

You can generate a video using this API. In the basic setup, you need only a prompt and the aspect ratio of the desired result.

Retrieve the generated video from the server

Example

Ensure you replace <YOUR_LAPLASAPI_KEY> with your actual API key before running the code.

import requests


def main():
    url = "https://api.apilaplas.com/v2/generate/video/runway/generation"
    payload = {
        "model": "gen3a_turbo",
        "prompt": "A jellyfish in the ocean",
        "ratio": "16:9",
        "image_url": "https://upload.wikimedia.org/wikipedia/commons/3/35/Maldivesfish2.jpg",
    }
    headers = {"Authorization": "Bearer <YOUR_LAPLASAPI_KEY>", "Content-Type": "application/json"}

    response = requests.post(url, json=payload, headers=headers)
    print("Generation:", response.json())


if __name__ == "__main__":
    main()

Last updated