changedOutput schema / anyOf
Previous value: -[
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "available": {
- "const": true,
- "type": "boolean"
- },
- "billingVersion": {
- "enum": [
- "v2",
- "v3"
- ],
- "type": "string"
- },
- "freeGenerationsExhausted": {
- "type": "boolean"
- },
- "freeMonthlyLimits": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "generations": {
- "additionalProperties": false,
- "properties": {
- "max": {
- "minimum": 0,
- "type": "number"
- },
- "used": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "used",
- "max"
- ],
- "type": "object"
- },
- "sync3": {
- "additionalProperties": false,
- "properties": {
- "max": {
- "minimum": 0,
- "type": "number"
- },
- "used": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "used",
- "max"
- ],
- "type": "object"
- },
- "tts": {
- "additionalProperties": false,
- "properties": {
- "max": {
- "minimum": 0,
- "type": "number"
- },
- "used": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "used",
- "max"
- ],
- "type": "object"
- }
- },
- "required": [
- "tts"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "freeTtsExhausted": {
- "type": "boolean"
- },
- "hasActiveCredits": {
- "type": "boolean"
- },
- "paymentFailureCountExceededLimit": {
- "type": "boolean"
- },
- "plan": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "plan",
- "hasActiveCredits",
- "freeTtsExhausted",
- "paymentFailureCountExceededLimit",
- "freeMonthlyLimits",
- "available"
- ],
- "type": "object"
- },
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "generationId": {
- "type": "string"
- },
- "importJobId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "importStatus": {
- "enum": [
- "queued",
- "downloading",
- "processing",
- "completed",
- "failed"
- ],
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "progress": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "retryAfterMs": {
- "type": "number"
- },
- "retryable": {
- "type": "boolean"
- },
- "status": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "message"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "const": true,
+ "type": "boolean"
+ },
+ "billingVersion": {
+ "enum": [
+ "v2",
+ "v3"
+ ],
+ "type": "string"
+ },
+ "freeGenerationsExhausted": {
+ "type": "boolean"
+ },
+ "freeMonthlyLimits": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "generations": {
+ "additionalProperties": false,
+ "properties": {
+ "max": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "used": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "used",
+ "max"
+ ],
+ "type": "object"
+ },
+ "sync3": {
+ "additionalProperties": false,
+ "properties": {
+ "max": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "used": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "used",
+ "max"
+ ],
+ "type": "object"
+ },
+ "tts": {
+ "additionalProperties": false,
+ "properties": {
+ "max": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "used": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "used",
+ "max"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "tts"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "freeScriptLimit": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "lipsyncMaxSeconds": {
+ "type": "number"
+ },
+ "maxCharacters": {
+ "type": "number"
+ },
+ "maxSeconds": {
+ "type": "number"
+ },
+ "wordsPerMinute": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "maxSeconds",
+ "maxCharacters",
+ "wordsPerMinute",
+ "lipsyncMaxSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Set on the free plan without credits, null otherwise (no duration limit; every script still has the 5,000-character limit). The API estimates speech from the script at wordsPerMinute and refuses a script over maxSeconds or maxCharacters with generation_plan_duration_exceeded; a free lipsync takes at most lipsyncMaxSeconds of audio. Keep the script within these before creating, or split it into several previews."
+ },
+ "freeTtsExhausted": {
+ "type": "boolean"
+ },
+ "hasActiveCredits": {
+ "type": "boolean"
+ },
+ "paymentFailureCountExceededLimit": {
+ "type": "boolean"
+ },
+ "plan": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "plan",
+ "hasActiveCredits",
+ "freeTtsExhausted",
+ "paymentFailureCountExceededLimit",
+ "freeMonthlyLimits",
+ "available",
+ "freeScriptLimit"
+ ],
+ "type": "object"
+ },
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "generationId": {
+ "type": "string"
+ },
+ "importJobId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "importStatus": {
+ "enum": [
+ "queued",
+ "downloading",
+ "processing",
+ "completed",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "progress": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "retryAfterMs": {
+ "type": "number"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "status": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]