The video task object
Detailed task view.
- With an unavailable result, the task stays processing and settlement remains under review.
- Succeeded tasks have result files and available delivery.
- Failed or cancelled tasks can have pending or settled billing; once settled, their final charge and amount due are zero.
Attributes
Task ID assigned by the platform.
Identifies the kind of object returned.
Request ID used to correlate this task.
Billing correlation ID for this task.
ID of the model used for this request.
dreamina-seedance-2-0-260128Seedance 2.0dreamina-seedance-2-0-fast-260128Seedance 2.0 Fastdreamina-seedance-2-0-mini-260615Seedance 2.0 MiniCurrent state; see the value notes for its meaning.
queuedQueuedprocessingProcessingsucceededSucceededfailedFailedcancelledCancelledCurrent execution phase, or null when no phase applies.
preparing_assetsPreparing inputswaiting_routeWaitingsubmittingStartingprovider_processingGeneratingreconcilingConfirming the resultfinalizingFinishingsettlement_pendingAwaiting settlementnullNull valueProgress of result file delivery.
pendingNot yet deliveredmaterializingPreparing the downloadavailableReady to downloadoutput_unavailableResult unavailableCurrent progress of billing settlement.
reservedReservedpendingPendingreconciliation_requiredUnder reviewsettledSettledsettled_with_receivableSettled - amount dueCreation time as whole seconds since the Unix epoch.
Time the task started, or null before it starts.
Time the task finished, or null while unfinished.
Recorded usage, or null when it is not available.
7 child fields
The meter used to record usage.
Number of video tokens. The field type determines whether an actual usage value may be null.
Duration of the output video in seconds.
Combined duration of reference video input in seconds.
Output resolution. The fast and mini models accept only 480p or 720p.
Frames per second in the video.
Whether reference video was used as input.
Billing summary for the task, or null.
8 child fields
Currency of the amounts: USD.
Final charge, or null while the amount is not final yet.
Amount collected toward the charge.
Amount debited from balance.
Amount of the charge refunded.
Amount refunded to balance.
Amount due that has not been collected.
Relative path to this task's billing details.
Generated result information, or null.
1 child fields
Files belonging to the generated result.
9 child fields
ID assigned to the asset by the platform.
The kind of media in this file.
How the asset is used in the input or result.
resultResult filelast_frameLast frameaudioAudio mediaHTTPS download link when ready, or null when expired or unavailable.
Time the result became ready, in whole Unix seconds.
Expiry time of the result: the time it becomes ready plus the retention period in force at that time (7 days by default), measured separately from task completion.
Where the result is made available for delivery.
platformStorage: PlatformProgress of preparing the result.
completedSavedretryingSavingfailedFailedWhether the result is ready to download, expired or unavailable.
availableAvailableexpiredExpiredunavailableUnavailableCancellation information already attached to the task, or null.
3 child fields
Stable ID of the cancellation operation.
Current state; see the value notes for its meaning.
requestedRequestedeffectiveCancellednot_effectiveNot cancelledfailedFailedReason cancellation did not take effect or failed. Null when requested or effective.
An object describing the error.
3 child fields
A code your application can use to handle the error.
no_common_asset_routeAssets temporarily unavailableasset_not_readyA referenced asset is still processingasset_review_timeoutAsset review timed outroute_misconfiguredService configuration errorroute_temporarily_unavailableTemporarily unavailablegeneration_expiredGeneration expiredgeneration_failedGeneration failedinput_fetch_failedAn input could not be downloaded from its URLinput_url_not_allowedAn input URL is not allowedinput_too_largeAn input exceeds its size limitinput_unsupportedAn input format, dimensions or duration is unsupportedinput_rejectedAn input did not pass content reviewinput_preparation_failedThe inputs could not be prepared in timeinput_duration_exceededThe combined input duration exceeds the model limitA readable explanation of the error.
Read this object with Read a video task.