@@ -15,6 +15,10 @@ export type V1AiGifGeneratorCreateBody = {
1515 * The name of gif. This value is mainly used for your own identification of the gif.
1616 */
1717 name ?: string | undefined ;
18+ /**
19+ * The output file format for the generated animation.
20+ */
21+ outputFormat ?: ( "gif" | "mp4" | "webm" ) | undefined ;
1822 style : V1AiGifGeneratorCreateBodyStyle ;
1923} ;
2024
@@ -25,6 +29,7 @@ export type V1AiGifGeneratorCreateBody = {
2529 */
2630export type External$V1AiGifGeneratorCreateBody = {
2731 name ?: string | undefined ;
32+ output_format ?: ( "gif" | "mp4" | "webm" ) | undefined ;
2833 style : External$V1AiGifGeneratorCreateBodyStyle ;
2934} ;
3035
@@ -38,11 +43,13 @@ const SchemaIn$V1AiGifGeneratorCreateBody: z.ZodType<
3843> = z
3944 . object ( {
4045 name : z . string ( ) . optional ( ) ,
46+ output_format : z . enum ( [ "gif" , "mp4" , "webm" ] ) . optional ( ) ,
4147 style : Schemas$V1AiGifGeneratorCreateBodyStyle . in ,
4248 } )
4349 . transform ( ( obj ) => {
4450 return zodTransform ( obj , {
4551 name : "name" ,
52+ output_format : "outputFormat" ,
4653 style : "style" ,
4754 } ) ;
4855 } ) ;
@@ -58,11 +65,13 @@ const SchemaOut$V1AiGifGeneratorCreateBody: z.ZodType<
5865> = z
5966 . object ( {
6067 name : z . string ( ) . optional ( ) ,
68+ outputFormat : z . enum ( [ "gif" , "mp4" , "webm" ] ) . optional ( ) ,
6169 style : Schemas$V1AiGifGeneratorCreateBodyStyle . out ,
6270 } )
6371 . transform ( ( obj ) => {
6472 return zodTransform ( obj , {
6573 name : "name" ,
74+ outputFormat : "output_format" ,
6675 style : "style" ,
6776 } ) ;
6877 } ) ;
0 commit comments