You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Get the status of an on-demand asset generation job created with the generate endpoint. Jobs are owner-scoped. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>
90
+
# @param id [String] The generation job id returned by the generate endpoint.
# Get the status of an on-demand asset generation job created with the generate endpoint. Jobs are owner-scoped. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>
100
+
# @param id [String] The generation job id returned by the generate endpoint.
101
+
# @param [Hash] opts the optional parameters
102
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
# Get one generation model, including the JSON Schema for the options it accepts and what it costs in credits. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>
153
+
# @param id [String] The model identifier, as returned by the list endpoint.
# Get one generation model, including the JSON Schema for the options it accepts and what it costs in credits. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>
163
+
# @param id [String] The model identifier, as returned by the list endpoint.
164
+
# @param [Hash] opts the optional parameters
165
+
# @return [Array<(GetModel200Response, Integer, Hash)>] GetModel200Response data, response status code and response headers
# List the generation models available for `prompt`-bearing image, video and audio assets, with the options each accepts and what it costs in credits. Use this to populate a model picker and render its option fields, rather than hard coding a model list. A newly launched model appears here without any change on your side. Each entry carries the asset type it generates, so filter the list client side when a picker only needs one kind. Option schemas are omitted by default. Request them with `expand=options`. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>
216
+
# @param [Hash] opts the optional parameters
217
+
# @option opts [String] :expand Set to `options` to include each model's option schema in the list. Omitted by default to keep the response small.
# List the generation models available for `prompt`-bearing image, video and audio assets, with the options each accepts and what it costs in credits. Use this to populate a model picker and render its option fields, rather than hard coding a model list. A newly launched model appears here without any change on your side. Each entry carries the asset type it generates, so filter the list client side when a picker only needs one kind. Option schemas are omitted by default. Request them with `expand=options`. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>
226
+
# @param [Hash] opts the optional parameters
227
+
# @option opts [String] :expand Set to `options` to include each model's option schema in the list. Omitted by default to keep the response small.
228
+
# @return [Array<(GetModels200Response, Integer, Hash)>] GetModels200Response data, response status code and response headers
# Generate a single image, video or audio asset from a text prompt without rendering a full edit. Submit a prompt-bearing asset; the response is immediate when an identical asset has been generated before (results are cached by prompt, model and options), otherwise the job is queued and can be polled via the status endpoint. Generation is billed in credits per asset. Identical repeat requests resolve from the cache at no charge. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>
479
+
# @param [Hash] opts the optional parameters
480
+
# @option opts [PostGenerateRequest] :post_generate_request A prompt-bearing image, video or audio asset to generate.
# Generate a single image, video or audio asset from a text prompt without rendering a full edit. Submit a prompt-bearing asset; the response is immediate when an identical asset has been generated before (results are cached by prompt, model and options), otherwise the job is queued and can be polled via the status endpoint. Generation is billed in credits per asset. Identical repeat requests resolve from the cache at no charge. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>
489
+
# @param [Hash] opts the optional parameters
490
+
# @option opts [PostGenerateRequest] :post_generate_request A prompt-bearing image, video or audio asset to generate.
491
+
# @return [Array<(PostGenerate200Response, Integer, Hash)>] PostGenerate200Response data, response status code and response headers
# Queue and render the contents of an [Edit](#tocs_edit) as a video, image or audio file. **Rendering Process:** 1. **Validation**: The edit JSON is validated 2. **Download**: All assets are downloaded and cached 3. **Preprocessing**: Video assets are automatically processed to fix compatibility issues 4. **Rendering**: The timeline is rendered using the processed assets 5. **Output**: The final media file is generated and stored **Video Preprocessing:** Video assets undergo automatic preprocessing to ensure compatibility. You can force preprocessing by setting `\"transcode\": true` on video assets. See [Preprocessing](#preprocessing) for more details. **Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>
289
543
# @param edit [Edit] The video, image or audio edit specified using JSON.
0 commit comments