client.exports.create(...) as the main entrypoint. Pick target: "local" when you want the SDK to render directly on the current machine; otherwise cloud export is the default.
client.exports.create(projectId, input, options?)
Choose the export target with target: "cloud" | "local".
Common fields
| Field | Type | Description |
|---|---|---|
resolution | "540p" | "720p" | "1080p" | Output resolution. |
quality | "low" | "average" | "high" | Encoding quality. |
playbackRate | number | Speed multiplier (e.g. 0.9). |
toneFrequency | number | Pitch shift in semitones. |
transparent | boolean | Render with a transparent background. |
presetId | string | Apply a preset before rendering. |
stemVolumes | Record<string, number> | Per-stem volume overrides keyed by stem id. |
settingsOverride | object | Patch the project settings for this export only. |
Example with stem volumes
Example with settings override
settingsOverride shape.
client.exports.quote(projectId, input, options?)
Quote the credits required for a cloud export without starting the export.
quote(...) is only for cloud exports.
client.exports.list(projectId, input?, options?)
List exports for a project, with pagination.
Page number. Defaults to
1 on the server.Page size. Defaults to
100. Maximum 100.client.exports.get(exportId, options?)
Fetch an export by ID alone, without knowing the parent project.
Local export
onDependencyProgress if you want updates while the local render toolchain is being installed or verified.
client.exports.prepareLocal(projectId, body, options?)
Return the prepared payload needed to render an export locally. Use this when integrating with @youka/remotion or another local renderer. The server returns the composition inputs, asset URLs, and render parameters without queuing a cloud render.
client.exports.prepareLocal(...) does not start a cloud render. No billable
compute is consumed on the Youka side.Waiting for an export
Cloud exports are async. Useclient.exports.wait(...):
Downloading the result
Cloud exports finish with a signedurl. Use the built-in helper to stream the file to disk. output can be either a directory or a full file path, and filename is optional:
What’s next
- Tasks — operation handles and advanced task polling
- Presets — reusable render configurations
- Project settings — patch a project’s active settings
