Interface AnimateResource


public interface AnimateResource
Animation operations.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    API endpoint path for animation tasks.
  • Method Summary

    Modifier and Type
    Method
    Description
    ai.runapi.core.polling.TaskCreateResponse
    Creates an animation task.
    ai.runapi.core.polling.TaskCreateResponse
    create(AnimateParams params, ai.runapi.core.RequestOptions options)
    Creates an animation task with per-request options.
    get(String id)
    Retrieves an animation task by ID.
    get(String id, ai.runapi.core.RequestOptions options)
    Retrieves an animation task by ID with per-request options.
    Creates an animation task and polls until it completes.
    run(AnimateParams params, ai.runapi.core.RequestOptions options)
    Creates an animation task with per-request options and polls until it completes.
  • Field Details

  • Method Details

    • create

      ai.runapi.core.polling.TaskCreateResponse create(AnimateParams params)
      Creates an animation task.
    • create

      ai.runapi.core.polling.TaskCreateResponse create(AnimateParams params, ai.runapi.core.RequestOptions options)
      Creates an animation task with per-request options.
    • get

      Retrieves an animation task by ID.
    • get

      AnimateResponse get(String id, ai.runapi.core.RequestOptions options)
      Retrieves an animation task by ID with per-request options.
    • run

      Creates an animation task and polls until it completes.
    • run

      CompletedAnimateResponse run(AnimateParams params, ai.runapi.core.RequestOptions options)
      Creates an animation task with per-request options and polls until it completes.