BytePlus Ark
byte_plus_arkBytePlus Ark provides regional language, vision, image, embedding, file, response, and asynchronous video generation APIs. Chat and image generation support Johor and Dublin; the other actions require Johor.
Acciones disponibles (4)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Cancel or Delete Video TaskBYTE_PLUS_ARK_CANCEL_OR_DELETE_VIDEO_TASKAcciónIrreversibly cancel a video generation task when it is queued, or permanently delete its task record when it is terminal. BytePlus Ark chooses the effect from the task's current status; the caller cannot select cancel versus delete. Check the task with Get Video Task first and use only an intended disposable task.
BYTE_PLUS_ARK_CANCEL_OR_DELETE_VIDEO_TASKAcciónIrreversibly cancel a video generation task when it is queued, or permanently delete its task record when it is terminal. BytePlus Ark chooses the effect from the task's current status; the caller cannot select cancel versus delete. Check the task with Get Video Task first and use only an intended disposable task.
Parámetros de entrada
task_idstringObligatorioID of the queued task to cancel or terminal task record to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Video TaskBYTE_PLUS_ARK_CREATE_VIDEO_TASKAcciónStart a potentially billable asynchronous video generation task and return its task ID. Model capabilities and optional parameter support vary. A callback URL, if supplied, may receive task-status POSTs.
BYTE_PLUS_ARK_CREATE_VIDEO_TASKAcciónStart a potentially billable asynchronous video generation task and return its task ID. Model capabilities and optional parameter support vary. A callback URL, if supplied, may receive task-status POSTs.
Parámetros de entrada
seedintegerGeneration seed from -1 through 4,294,967,295; use -1 or omit it for provider-selected randomness.
draftbooleanWhether to create a draft task; supported only by applicable models.
modelstringObligatorioVideo-generation model ID or configured inference endpoint ID available in the connected region.
ratiostringenumRequested aspect ratio, such as 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, or adaptive; support depends on the model.
16:94:31:13:49:1621:9adaptiveframesintegerRequested frame count from 29 through 289 matching 25 + 4n; model support varies, and this value takes precedence over duration.
contentobject[]ObligatorioOne to five ordered model inputs. Supported input combinations and roles depend on the selected model.
durationintegerRequested video duration in seconds; allowed ranges are model-dependent. frames takes precedence when both are supplied.
priorityintegerOptional scheduling priority supported by some SDK and model combinations; provider limits are not documented.
watermarkbooleanWhether to add the provider watermark to the generated video.
resolutionstringenumRequested output resolution, commonly 480p, 720p, or 1080p; supported values and defaults depend on the model.
480p720p1080pcallback_urlstringHTTPS endpoint to receive provider POST callbacks when task status changes. Omit it to avoid callback side effects.
camera_fixedbooleanWhether to request a fixed camera; availability depends on the model and input mode.
service_tierstringenumExecution tier: default for online processing or flex for supported lower-cost offline processing.
defaultflexoutput_formatstringOptional output format supported by some SDK and model combinations; accepted values are model-dependent.
generate_audiobooleanWhether to generate audio with the video; omit this to use the selected model's native default.
return_last_framebooleanWhether the completed task should include a last-frame image URL.
safety_identifierstringStable privacy-preserving end-user identifier of no more than 64 characters; BytePlus recommends English characters.
execution_expires_afterintegerSeconds the queued task may wait before expiring (3,600-259,200).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Video TaskBYTE_PLUS_ARK_GET_VIDEO_TASKAcciónRetrieve one video generation task's status, failure details, and generated output URLs by task ID.
BYTE_PLUS_ARK_GET_VIDEO_TASKAcciónRetrieve one video generation task's status, failure details, and generated output URLs by task ID.
Parámetros de entrada
task_idstringObligatorioVideo generation task ID returned by create or list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Video TasksBYTE_PLUS_ARK_LIST_VIDEO_TASKSAcciónReturn one page of video generation tasks, optionally filtered by status, task IDs, model, or service tier.
BYTE_PLUS_ARK_LIST_VIDEO_TASKSAcciónReturn one page of video generation tasks, optionally filtered by status, task IDs, model, or service tier.
Parámetros de entrada
modelstringReturn only tasks created with this exact inference endpoint ID.
statusstringenumReturn only tasks with this status.
queuedrunningcancelledsucceededfailedpage_numintegerPage number to return, starting at 1; increment it to request the next page.
task_idsstring[]Return only these task IDs. Each ID is sent as a separate repeated filter.task_ids query parameter.
page_sizeintegerMaximum number of tasks to return in this page (1-500).
service_tierstringenumReturn only tasks using the default or flex service tier.
defaultflex
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not