Package ai.runapi.wan.resources
Interface TextToVideoResource
public interface TextToVideoResource
Text-to-video generation operations.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionai.runapi.core.polling.TaskCreateResponsecreate(TextToVideoParams params) Creates a text-to-video task.ai.runapi.core.polling.TaskCreateResponsecreate(TextToVideoParams params, ai.runapi.core.RequestOptions options) Creates a text-to-video task with per-request options.Retrieves a text-to-video task by ID.Retrieves a text-to-video task by ID with per-request options.run(TextToVideoParams params) Creates a text-to-video task and polls until it completes.run(TextToVideoParams params, ai.runapi.core.RequestOptions options) Creates a text-to-video task with per-request options and polls until it completes.
-
Field Details
-
ENDPOINT
API endpoint path for text-to-video tasks.- See Also:
-
-
Method Details
-
create
Creates a text-to-video task. -
create
ai.runapi.core.polling.TaskCreateResponse create(TextToVideoParams params, ai.runapi.core.RequestOptions options) Creates a text-to-video task with per-request options. -
get
Retrieves a text-to-video task by ID. -
get
Retrieves a text-to-video task by ID with per-request options. -
run
Creates a text-to-video task and polls until it completes. -
run
Creates a text-to-video task with per-request options and polls until it completes.
-