Recipes
post/v2/consumer/recipes/transcode

Request

  • The document declares no server URL.
  • Auth: none required

Query parameters

experimentalboolean
allowMatureContentboolean
whatifboolean
ephemeralboolean
tier'paid' | 'free'

How a workflow is paid for.

Request body

sourceUrlstring uri required
containerFormat'mp4' | 'webM'
widthinteger required
destinationUrlstring uri nullable
publicboolean nullable

Serves the result at a stable unsigned url. Privileged callers only: nothing gates a read of it, so a block decided after the fact cannot take it back.

hideMetadataboolean nullable

Removes the source's container tags and chapters; the video and audio streams are untouched.

Response

OK

idstring required

Gets the id of the blob that contains the media.

availableboolean required
urlstring uri nullable
urlExpiresAtstring date-time nullable
jobIdstring required
tierstring nullable

Deprecated: use Civitai.Orchestration.Grains.Workflows.Steps.Transcode.TranscodeOutput.PublicUrl to tell a public blob. Storage tier holding the blob; null when none was declared.

publicUrlstring uri nullable

The durable, unsigned url of a blob requested public, which a CDN can cache. May 404 until the workflow that produces it completes; Civitai.Orchestration.Grains.Workflows.Steps.Transcode.TranscodeOutput.Url waits instead.

Changes