changedInput schema / properties / input / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "Billed AI work from words. A new build reserves 50 credits. A later message reserves 25.",
- "properties": {
- "prompt": {
- "maxLength": 65536,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "prompt"
- }
- },
- "required": [
- "type",
- "prompt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Billed AI rebuild from HTML. A new build reserves 50 credits. A later message reserves 25. To save HTML without AI, use save_template.",
- "properties": {
- "html": {
- "maxLength": 65536,
- "minLength": 1,
- "type": "string"
- },
- "prompt": {
- "maxLength": 65536,
- "type": "string"
- },
- "type": {
- "const": "html"
- }
- },
- "required": [
- "type",
- "html"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Billed AI work from a source image. Choose rebuild to recreate its layout or reference to guide a required prompt. PNG, JPEG, or WebP; at most 10 MiB, 7680 by 4320, and 32 million pixels. An invalid file fails before the model. A new build reserves 50 credits.",
- "properties": {
- "base64": {
- "contentEncoding": "base64",
- "description": "Still PNG, JPEG, or WebP as compact standard or URL-safe base64. A data URL prefix and whitespace are accepted. Downscale before encoding if the file is near 10 MiB. SVG is not accepted.",
- "maxLength": 13981016,
- "minLength": 1,
- "type": "string"
- },
- "prompt": {
- "maxLength": 65536,
- "type": "string"
- },
- "purpose": {
- "enum": [
- "rebuild",
- "reference"
- ],
- "type": "string"
- },
- "type": {
- "const": "image"
- }
- },
- "required": [
- "type",
- "base64",
- "purpose"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Your own template source. No AI call and 0 credits. Poll get_status until succeeded, then publish_template. Put a sample_data value for every {{variable}} except brand fields from the selected kit.",
- "properties": {
- "sample_data": {
- "description": "Values for every {{variable}} in source, except brand fields from the selected kit. Omit it only when the source has no variables.",
- "type": "object"
- },
- "schema": {
- "type": [
- "object",
- "boolean"
- ]
- },
- "source": {
- "maxLength": 1048576,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "source"
- }
- },
- "required": [
- "type",
- "source"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "Billed AI work from words. The first message of a new blank template reserves 50 credits. Every other message reserves 25.",
+ "properties": {
+ "prompt": {
+ "maxLength": 65536,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "prompt"
+ }
+ },
+ "required": [
+ "type",
+ "prompt"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Billed AI rebuild from HTML. The first message of a new blank template reserves 50 credits. Every other message reserves 25. To save HTML without AI, use save_template.",
+ "properties": {
+ "html": {
+ "maxLength": 65536,
+ "minLength": 1,
+ "type": "string"
+ },
+ "prompt": {
+ "maxLength": 65536,
+ "type": "string"
+ },
+ "type": {
+ "const": "html"
+ }
+ },
+ "required": [
+ "type",
+ "html"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Billed AI work from a source image. Choose rebuild to recreate its layout or reference to guide a required prompt. PNG, JPEG, or WebP; at most 10 MiB, 7680 by 4320, and 32 million pixels. An invalid file fails before the model. Reserves 50 credits.",
+ "properties": {
+ "base64": {
+ "contentEncoding": "base64",
+ "description": "Still PNG, JPEG, or WebP as compact standard or URL-safe base64. A data URL prefix and whitespace are accepted. Downscale before encoding if the file is near 10 MiB. SVG is not accepted.",
+ "maxLength": 13981016,
+ "minLength": 1,
+ "type": "string"
+ },
+ "prompt": {
+ "maxLength": 65536,
+ "type": "string"
+ },
+ "purpose": {
+ "enum": [
+ "rebuild",
+ "reference"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "image"
+ }
+ },
+ "required": [
+ "type",
+ "base64",
+ "purpose"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Your own template source. No AI call and 0 credits. Poll get_template until the message succeeded, then publish_template. Put a sample_data value for every {{variable}} except brand fields from the selected kit.",
+ "properties": {
+ "sample_data": {
+ "description": "Values for every {{variable}} in source, except brand fields from the selected kit. Omit it only when the source has no variables.",
+ "type": "object"
+ },
+ "schema": {
+ "type": [
+ "object",
+ "boolean"
+ ]
+ },
+ "source": {
+ "maxLength": 1048576,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "source"
+ }
+ },
+ "required": [
+ "type",
+ "source"
+ ],
+ "type": "object"
+ }
+]