{"openapi":"3.0.2","info":{"title":"stability/sd3.5-large","description":"The request body Comfy Router accepts for the model \"stability/sd3.5-large\", and the response body it returns. The INPUT schema is the same schema the server validates a call against before it reaches the provider, so what is published and what is enforced cannot differ. `x-comfy-router-input-modalities` records the media kinds the model is documented to accept; the request schema is shared across sibling models and may admit media kinds this model ignores. The OUTPUT schema describes the provider's native result document exactly as Router returns it: Router does not validate, narrow or re-envelope the response, so the output schema is descriptive rather than enforced, and Comfy owns no output shape of its own.","version":"a456df8575a5"},"paths":{"/v2/models/stability/sd3.5-large":{"post":{"operationId":"runRouterModel","summary":"Run stability/sd3.5-large synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"Comfy Router request for Stability SD3.5, in Stability's v2beta generate fields sent as a JSON object. The model is named by the route, so a `model` field is ignored. The prompt is cut to its first 1,500 characters after Unicode NFKC normalization. On Medium, Large and Large Turbo the negative prompt is cut the same way and `cfg_scale` is applied. SD3.5 Flash accepts `negative_prompt` and `cfg_scale` and does not apply them: its graph zeros the negative conditioning and fixes cfg at 1. Returns one PNG image and is billed once per call.","example":{"aspect_ratio":"16:9","prompt":"a lighthouse on a cliff at sunset, oil painting","seed":12345},"properties":{"aspect_ratio":{"description":"Text-to-image only. Output aspect ratio at about one megapixel. Default 1:1.","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","5:4","4:5"],"type":"string"},"cfg_scale":{"description":"How strictly the image follows the prompt.","maximum":10,"minimum":1,"type":"number"},"image":{"description":"Image-to-image only. A Comfy-signed asset URL of the source image.","format":"uri","type":"string"},"mode":{"description":"Default text-to-image. image-to-image requires `image` and `strength`.","enum":["text-to-image","image-to-image"],"type":"string"},"negative_prompt":{"description":"What to keep out of the image.","maxLength":10000,"type":"string"},"output_format":{"description":"Omitted is `png`. `jpeg` and `webp` are served only while the deployment's stability output-format switch is on; otherwise they are refused with a 400 before any job runs. The format never changes the price.","enum":["png","jpeg","webp"],"type":"string"},"prompt":{"description":"What to generate.","maxLength":10000,"type":"string"},"seed":{"description":"0 or omitted picks a random seed.","maximum":4294967294,"minimum":0,"type":"integer"},"strength":{"description":"Image-to-image only. How far to move from the source image; 1 ignores it.","maximum":1,"minimum":0,"type":"number"},"style_preset":{"description":"Stability style preset, for example `photographic`.","type":"string"}},"required":["prompt"],"type":"object"}}}},"responses":{"200":{"description":"OK - the model's native JSON output, returned unchanged; the schema describes the provider's terminal result document as Router returns it.","content":{"application/json":{"schema":{"description":"Comfy Router output schema for the Stability image models. The image is generated on Comfy-hosted infrastructure and stored on Comfy storage: `image` is a Comfy-signed URL valid for up to 24 hours, not a Stability URL, so download it before then. If the image cannot be stored, the call answers 502 and is not billed; no other URL is returned.","example":{"finish_reason":"SUCCESS","image":"https://example.invalid/stability/image.png","seed":12345},"properties":{"finish_reason":{"description":"Always SUCCESS on a 200.","type":"string"},"image":{"description":"Comfy-signed URL of the (first) PNG image, valid for up to 24 hours.","format":"uri","type":"string"},"images":{"description":"SDXL only, when more than one image was returned. Every Comfy-signed image URL, in output order, each valid for up to 24 hours.","items":{"format":"uri","type":"string"},"type":"array"},"seed":{"description":"The seed the image was generated with.","type":"integer"}},"required":["image","finish_reason","seed"],"type":"object"}}}}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"x-comfy-router-model-id":"stability/sd3.5-large","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["text","image"],"x-comfy-router-output-modalities":["image"]}
