generate

Generate a video from a provided image.

post/api/generate/image-to-video

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body multipart/form-data

imagestring binary required

Uploaded image to generate a video from.

model_idstring

Hugging Face model ID used for video generation.

heightinteger

The height in pixels of the generated video.

widthinteger

The width in pixels of the generated video.

fpsinteger

The frames per second of the generated video.

motion_bucket_idinteger

Used for conditioning the amount of motion for the generation. The higher the number the more motion will be in the video.

noise_aug_strengthnumber

Amount of noise added to the conditioning image. Higher values reduce resemblance to the conditioning image and increase motion.

safety_checkboolean

Perform a safety check to estimate if generated images could be offensive or harmful.

seedinteger

Seed for random number generation.

num_inference_stepsinteger

Number of denoising steps. More steps usually lead to higher quality images but slower inference. Modulated by strength.

Response

Successful Response

Changes

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • info

      added to the / response property allOf list for the response status

    • info

      added to the / response property allOf list for the response status

    • info

      added to the / response property allOf list for the response status

    • breaking

      the / response's property type changed from no type to object for status

    • breaking

      the / response's property type changed from no type to object for status

    • breaking

      the / response's property type changed from no type to object for status

    • info

      removed from the / response property allOf list for the response status

    • info

      removed from the / response property allOf list for the response status

    • info

      removed from the / response property allOf list for the response status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status