Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/libs/Ideogram/Generated/Ideogram.Models.VideoObject.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ namespace Ideogram
/// </summary>
public sealed partial class VideoObject
{
/// <summary>
/// The generated video's asset ID. Use it with asset_type RESPONSE in video_asset_identifier for a follow-up video edit. This is distinct from the generation ID used for polling.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("asset_id")]
public string? AssetId { get; set; }

/// <summary>
/// Discriminator marking this entry as a generated video in the polling endpoint's mixed data array.
/// </summary>
Expand Down Expand Up @@ -81,6 +87,9 @@ public sealed partial class VideoObject
/// The actual measured length of the produced video in seconds.<br/>
/// Example: 5
/// </param>
/// <param name="assetId">
/// The generated video's asset ID. Use it with asset_type RESPONSE in video_asset_identifier for a follow-up video edit. This is distinct from the generation ID used for polling.
/// </param>
/// <param name="objectType">
/// Discriminator marking this entry as a generated video in the polling endpoint's mixed data array.
/// </param>
Expand All @@ -96,9 +105,11 @@ public VideoObject(
string resolution,
string aspectRatio,
int duration,
string? assetId,
global::Ideogram.VideoObjectObjectType? objectType,
string? url)
{
this.AssetId = assetId;
this.ObjectType = objectType;
this.Url = url;
this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
Expand Down
5 changes: 5 additions & 0 deletions src/libs/Ideogram/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -38549,6 +38549,11 @@
"VideoObject": {
"description": "A single generated video returned by the generation polling endpoint.",
"properties": {
"asset_id": {
"description": "The generated video's asset ID. Use it with asset_type RESPONSE in video_asset_identifier for a follow-up video edit. This is distinct from the generation ID used for polling.",
"title": "asset_id",
"type": "string"
},
"object_type": {
"description": "Discriminator marking this entry as a generated video in the polling endpoint's mixed data array.",
"enum": [
Expand Down
Loading