{"components":{"headers":{"CommittedSpendCurrentHeader":{"description":"The USD cents the caller currently has committed to calls still in flight. On a `429` this excludes the refused call, whose commitment was rolled back before the refusal was sent; on an admitted response it includes the call being answered. Present alongside `X-Committed-Spend-Limit`.","schema":{"example":9600,"format":"int64","minimum":0,"type":"integer"}},"CommittedSpendLimitHeader":{"description":"The ceiling, in USD cents, on the partner spend the caller may have committed to calls still in flight - money held from the moment a call is admitted and released when that call finishes. It is not a budget, a balance, or any running total of what the caller has spent to date: settling an invoice frees no room under it, and letting an in-flight call finish does. Contrast `X-Concurrency-Limit`, which bounds those same in-flight calls counted as a number of calls rather than priced. How the ceiling is sized is a separate question from what it measures, and it is not tier-independent: the ceiling moves with the account's lifetime paid spend, off the same thresholds the concurrent-call tier uses, so paying more raises it - see [partner-node concurrency limits](https://docs.comfy.org/tutorials/partner-nodes/concurrency-limits) for that ladder and for the concurrent-call bound that shares this `429`. Present on both outcomes of an enforcing committed-spend gate - the `429` it raises and the success it admits - and absent while the gate is not enforcing, when it declines to decide and lets the call through, or on a `429` raised by the concurrent-call pool instead (a committed-spend `429` carries this trio and drops `X-Concurrency-*`).","schema":{"example":10000,"format":"int64","minimum":0,"type":"integer"}},"CommittedSpendRemainingHeader":{"description":"The USD cents of headroom left under the ceiling, floored at zero. It can be positive on a refusal: the refused call cost more than what was left, and a cheaper call would still be admitted. Present alongside `X-Committed-Spend-Limit`.","schema":{"example":400,"format":"int64","minimum":0,"type":"integer"}},"ModelConcurrencyCurrentHeader":{"description":"The caller's concurrent calls to models classed expensive, as counted by the gate that refused this call. Present alongside `X-Model-Concurrency-Limit`.","schema":{"example":1,"format":"int64","minimum":0,"type":"integer"}},"ModelConcurrencyLimitHeader":{"description":"The most concurrent calls to models classed expensive the caller may hold at once, a quarter of the concurrent-call limit, shared with partner-node calls. Present on a `429` raised by that bound.","schema":{"example":1,"format":"int64","minimum":0,"type":"integer"}},"ModelConcurrencyRemainingHeader":{"description":"The expensive-model calls the caller may still start; `0` on the `429`. Present alongside `X-Model-Concurrency-Limit`.","schema":{"example":0,"format":"int64","minimum":0,"type":"integer"}},"RouterCapacityRetryAfterHeader":{"description":"Seconds to wait before re-sending the same request, unchanged. It is present only when Router refused the request body for capacity - the in-flight request-body budget was full, or no slot was free to scan an oversized body - and a capacity refusal submitted nothing and charged nothing, so re-sending the identical call once the interval has passed is the whole remedy. There is no `Idempotency-Key` to collect under and no queued request to poll for; this is the one `Retry-After` on Router that means simply \"send it again later\". It is absent on the dependency-fault `503`s that share this status - a credential rail, an idempotency store or a policy decision point that could not answer - because none of them knows when it will, and a wrong number is worse than none against a dependency that is already failing.\nRead its absence as \"no interval published\", never as \"retry immediately\": that `503` is still worth retrying, just on the client's own backoff instead of Router's.","schema":{"example":4,"minimum":1,"type":"integer"}},"RouterCatalogCacheControlHeader":{"description":"Freshness directives for a catalog page or entry. `private` because the answer is decided per credential (the response also carries `Vary: Authorization, X-API-Key`), so a shared cache must not hold it, and `must-revalidate` so a stale copy is revalidated against the `ETag` rather than served on. Error responses on these routes are `private, no-store` instead.","schema":{"example":"private, max-age=300, must-revalidate","type":"string"}},"RouterCatalogETagHeader":{"description":"Strong entity tag over the served body's bytes, for `GET /v2/models` and `GET /v2/models/{provider}/{model}`. A caller that re-reads the catalog should store this value and send it back as `If-None-Match` to get a `304` instead of the body.\nIt is STRONG (no `W/` prefix) and a digest of the exact bytes served, which are decided AFTER the release embargo is applied for this caller - so a model being held or released changes the tag of every page or entry it appears on. `If-None-Match` is compared by the weak-comparison rule RFC 9110 mandates, so a cache that stored the tag weakly still matches.","required":true,"schema":{"example":"\"6b8c1f2e0a9d4c3b5e7f8a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f\"","type":"string"}},"RouterCreditsUsedHeader":{"description":"What this run cost, in Comfy credits, priced from the same rate card the charge itself is billed against - so a caller needs no price table of its own, and on a run that reached the provider through more than one billed call it is their sum rather than the last one. It reports a price, not a settled ledger entry. On a model Comfy bills while your request is still open, the value is published only once the usage event was accepted by billing; on a model that submits and then polls, it is the price the asynchronous worker will bill, recorded before that charge settles - so a run whose billing later fails can still have carried this header. Treat it as what you will be charged, not as proof you were, and reconcile against the usage and billing API rather than against this header alone. Absent whenever no cost was reported: a request billed against your own provider key, a partner whose response does not carry every dimension its price is computed from, a usage event that matched no billable metric, or a charge that did not reach billing - so a missing header means \"not reported\" and must not be read as \"free\", and a report that sums absent headers as zero will not reconcile. A run that was rated and genuinely cost nothing reads `0`, which is a reported cost rather than a missing one, so branch on whether the header is present rather than on whether its value is non-zero. Coverage is partial today and widening, so do not assume the header is present for every model. On a response that also carries `Idempotent-Replayed: true` this restates what the original run cost, and that run is charged once however many times you retry the key - so do not add the header up across retries of one `Idempotency-Key`. Absent on an error response, with one exception: a synchronous `content_policy_violation` from a model whose `charges_on_policy_rejection` is `yes`, for which Comfy recorded usage because the provider refused the model's generated output, carries the amount Comfy recorded (a same-key replay of that refusal does not). As everywhere else, an absent header on a refusal means \"not reported\", not \"free\"; the settled figure is in your usage records.","schema":{"example":"12.5","type":"string"}},"RouterDroppedParamsHeader":{"description":"One JSON-encoded string holding an array of strings - decode it with a JSON parser rather than splitting it on commas, because it is a single string on the wire, not a comma-separated OpenAPI array, and each entry is a sentence carrying commas of its own - present whenever a translation produced this call's request body and could not express one or more native fields exactly on the provider that served it, naming each dropped field and why, whether the caller asked for that translation with `model_provider` (`strict_mode=false`, the default) or an automatic `fallback_provider` retry ran it. Absent when no translation ran, when translation ran but dropped nothing, and on an error response. On a queued submit it is on the `201` and any same-key replay of it, naming what the `model_provider` leg will drop; the queued status and result responses do not carry it. On a fallback retry it names what that retry's own translation (into the provider that actually served the call) dropped, never the primary attempt's. The disclosure is bounded three ways, so that it stays a fixed size rather than one that grows with the request body — some native arrays (`input.media` on the Wan video family) are deliberately uncapped, and entries quote caller-supplied values: at most 64 entries, each at most 300 bytes plus an elision mark, summing to at most 4096 bytes of the encoded header value. Whichever bound binds first wins. Shortening is never silent: an entry cut to the per-entry bound ends in `…`, and when entries are left out entirely a final summarising entry states how many. Treat that count as a lower bound on the fields affected rather than a tally of them: it counts disclosure entries, and a translator may collapse many dropped elements into one entry (the Wan video family's media groups do exactly that). Entries are also sanitised before publication — a media URL is stripped of its query string, which is what carries its credential — so an entry names the field it dropped rather than reproducing the value verbatim. It is stored with the `Idempotency-Key` record and replayed unchanged on a same-key retry (alongside `Idempotent-Replayed: true`), so a retry carries the same disclosure the original call did rather than reading as a drop-free run. In the one case where the stored headers were too large to keep in full, the record is marked non-replayable and the retry is refused with `409` rather than served without this header - a refusal a caller can act on, where a replay that silently carried no disclosure is the outcome this header exists to prevent.","schema":{"example":"[\"moderation (fal applies its own, non-configurable safety filtering)\"]","type":"string"}},"RouterErrorTypeHeader":{"description":"Coarse, machine-readable bucket for the failure, set by Router on every error response. It carries the same value as `RouterErrorResponse.error_type`, and on the `422` it is the only machine-readable bucket, because that body is the FastAPI `detail[]` shape and has no `error_type` field of its own. A client can therefore branch on this header alone, before deciding which of the two Router error bodies it received.","required":true,"schema":{"$ref":"#/components/schemas/RouterErrorType"}},"RouterEstimateSourceHeader":{"description":"Sent only on the status read while `status` is `IN_PROGRESS`, beside `X-Comfy-Estimated-Duration-Seconds`: where that generation-duration estimate came from (not the cost estimate's `source`), `historical` (measured on recent runs) or `default` (a per-media-kind fallback, used while too few recent runs are recorded).","schema":{"example":"historical","type":"string"}},"RouterEstimatedDurationHeader":{"description":"Sent only on the status read while `status` is `IN_PROGRESS`: Router's estimate, in whole seconds, of the generation's whole run once the provider has accepted it (not the time remaining, and never time spent `IN_QUEUE`). It is the median of recent runs at the closest level of model, endpoint and settings that has enough history, or a per-media default when none has. The same figure is repeated on every read. It is never sent on the collect `202`, and it can first appear on a later `IN_PROGRESS` read than the first one, once the provider has accepted the job; absent when no estimate can be given.","schema":{"example":30,"minimum":1,"type":"integer"}},"RouterEstimatedDurationP90Header":{"description":"Sent only on the status read while `status` is `IN_PROGRESS`, beside `X-Comfy-Estimated-Duration-Seconds`: the 90th percentile, in whole seconds, of that generation-duration estimate.","schema":{"example":90,"minimum":1,"type":"integer"}},"RouterFallbackProviderHeader":{"description":"Present, naming the provider, only when `fallback_provider` actually retried this call against a second provider and that retry succeeded - the provider that ultimately served the call, never one that was attempted and also failed. Absent when the primary attempt itself succeeded, and absent on an error response. It is stored with the `Idempotency-Key` record and replayed unchanged on a same-key retry (alongside `Idempotent-Replayed: true`), so a retry names the same provider the original call did rather than reading as an unsubstituted run. In the one case where the stored headers were too large to keep in full, the record is marked non-replayable and the retry is refused with `409` rather than served without this header, so a same-key retry never reads as an unsubstituted run either way. When the caller named no `model_provider`, Comfy Router selected the serving provider, and this header - while still present so a caller can detect the substitution - may read `comfy`, meaning Comfy Router chose the leg, rather than a specific provider name. See `fallback_provider` for the retry policy this discloses.","schema":{"type":"string"}},"RouterIdempotentReplayedHeader":{"description":"Present and `true` when this response was served from an `Idempotency-Key`'s record rather than by running the model again. It carries the original call's status, body and content type, and it is not billed a second time - the charge settled when the original completed. The header is absent on a fresh run rather than sent as `false`, so branch on its presence.","schema":{"example":true,"type":"boolean"}},"RouterNoSniffHeader":{"description":"Always `nosniff`, on every successful run of a Router model.\nThe 200 on `POST /v2/models/{provider}/{model}` carries the PARTNER's own `Content-Type`, echoed verbatim, and since the ElevenLabs audio operations were enrolled that body can be arbitrary bytes rather than a JSON document. A 2xx interstitial from a partner's CDN or WAF carrying `text/html` would otherwise be sniffed and rendered as a document on Comfy's own origin. This header is what stops that, so it is a REQUIREMENT of reading the response rather than a decoration: treat the declared `Content-Type` as the type, and do not infer one from the bytes.\nIt is stamped unconditionally on the success, not only on the models classified as binary - a header present only where someone remembered to classify a family is a header absent on the next one.\nA Router error rendered FRESH does not carry it: those bodies are Router's own JSON under a media type Router chooses, which is not the case the header exists for. A RECORDED refusal replayed against an `Idempotency-Key` does carry it, because the replay path stamps it on every record it serves rather than restoring it from the record - so a `4xx` marked `Idempotent-Replayed: true` can carry it while the same refusal rendered fresh does not. Do not read its presence on an error as a signal about that response, and rely on it only where it is declared.","required":true,"schema":{"enum":["nosniff"],"example":"nosniff","type":"string"}},"RouterProviderHeader":{"description":"The provider of the Router leg that served this call, present on every successful run response - the provider Comfy Router chose to serve a call that named no `model_provider` (the model's own, or another Comfy routed it to), the alternate provider `model_provider` named, or the provider a `fallback_provider` retry landed on (which `X-Comfy-Router-Fallback-Provider` also names, only in that case) - which is the leg Router dispatched to and not necessarily the vendor that produced the output, since a proxy-level cascade inside a native leg (the `vertexai` Gemini image chain, for one) can hand the call to a different vendor that no header names. When the caller named no `model_provider` at all, Comfy Router selected the serving provider, and the value may be `comfy` - meaning Comfy Router chose the leg - rather than a specific provider name, so a caller that named no provider should not read this value as identifying one vendor. Absent on an error response. It is stored with the `Idempotency-Key` record and replayed unchanged on a same-key retry; a retry of a call recorded before this header existed carries none, and a record written before the value was `comfy` replays its original value.","schema":{"example":"openai","type":"string"}},"RouterQueuePollAfterHeader":{"description":"Seconds to wait before polling this queued request again. It is Router's own estimate of when asking again is worth the round trip: while the request waits it grows with its place in the queue, while it runs it grows with how long it has been running, and it stops growing at 10.\nIt is a HINT, not a bound: a read that arrives sooner is answered normally rather than refused. Honour it anyway. A client that polls faster rarely learns anything earlier and spends its own request-rate allowance doing it, and the allowance is what eventually refuses the read for real.","schema":{"example":3,"minimum":1,"type":"integer"}},"RouterRateLimitRetryAfterHeader":{"description":"Seconds to wait before sending another request after a `429` carrying `error_type: rate_limited`: the time until the caller's per-minute request allowance has refilled enough to admit one more request. It is sent on every `rate_limited` refusal and on no other answer, so it is absent on a `429` whose `X-Comfy-Error-Type` is `concurrency_limit_exceeded` or `queue_backlog_full`. Nothing the caller does drains it early; a request sent sooner is refused again and spends nothing, but gains nothing either.","schema":{"example":2,"minimum":1,"type":"integer"}},"RouterRefusalSubjectHeader":{"description":"Which input or output a content-policy refusal was about, as a Router-level closed vocabulary: `input`, `output`, `input_text`, `input_image`, `input_video`, `input_audio`, `output_text`, `output_image`, `output_video`, `output_audio`. Present only when `error_type` is `content_policy_violation` and the provider named the refused subject with a machine-readable code; absent otherwise - so branch on its presence. Never provider text. Mirrors `RouterErrorResponse.refusal_subject`.","schema":{"example":"output_audio","type":"string"}},"RouterRequestIdHeader":{"description":"Server-generated identifier for this call, present on every Router response - success, 4xx and 5xx alike, because an error response is exactly when a user needs an id to quote in a support request. The same value is written into the call's usage/audit event, which is what lets a complaint about a charge be joined to the charge itself instead of searched for by timestamp.\nIt is minted by the server and is never read from a request header of the same name: a caller-controlled id would let two unrelated calls collide in the audit trail, which would make the join actively misleading rather than merely absent. Sending this header on a request has no effect.","required":true,"schema":{"example":"6f1a1a6e-6a53-4a5f-9d3a-2b3b0a1f9c21","format":"uuid","type":"string"}},"RouterRetryAfterHeader":{"description":"Seconds to wait before retrying the same request with the same `Idempotency-Key`. It is set on the three answers such a retry can actually collect from: a `409` carrying `error_type: concurrency_limit_exceeded`, where the original call for that key is still running; a `deadline_exceeded` `504`, where Comfy stopped holding the connection but still holds a handle to a generation the provider is running; and a `provider_error` `502` whose poll leg ended without a verdict on the generation, where the key is parked with that same handle. A retry after the `502` or the `504` normally collects, or is told to use a new key, rather than dispatching a second generation; the one exception is a `502` whose park itself failed (the reservation was gone, or the park write errored), which leaves no handle to collect and lets a same-key retry dispatch and bill a fresh generation. In every case the value is the interval Router itself would wait before asking again, which is the one honest number this route has for \"ask again later\". On an unkeyed call there is no handle to collect and the value is only a pacing hint. Absent when there is nothing to collect: a bound that expired before the provider accepted anything, or a `409` that refuses the key outright instead of asking the caller to wait.","schema":{"example":2,"minimum":1,"type":"integer"}},"RouterSchemaCacheControlHeader":{"description":"Freshness directives for the served schema document. `private` because the route is authenticated - the document itself is not caller-specific, but a shared cache must not hold a response to an authenticated request - and `must-revalidate` so a stale copy is revalidated against the `ETag` rather than served on.","schema":{"example":"private, max-age=300, must-revalidate","type":"string"}},"RouterSchemaETagHeader":{"description":"Strong entity tag over the served document's bytes, for `GET /v2/models/{provider}/{model}/openapi.json`. A per-model schema changes rarely and an SDK re-fetches it often, so a caller should store this value and send it back as `If-None-Match` to get a `304` instead of the document.\nIt is STRONG (no `W/` prefix) and it is a digest of the exact bytes served, so two processes serving the same schema issue the same tag - a tag that changed on restart would make the cache useless. `If-None-Match` is compared by the weak-comparison rule RFC 9110 mandates, so a cache that stored the tag weakly still matches.","required":true,"schema":{"example":"\"6b8c1f2e0a9d4c3b5e7f8a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f\"","type":"string"}},"RouterUpstreamDetailHeader":{"description":"A bounded, sanitized reason the model provider gave for rejecting the request. Present only when `error_type` is `invalid_input` and `X-Comfy-Upstream-Status` is a provider `4xx` or `2xx` - usually a `4xx`, and a `2xx` for a provider that reports a rejected generation inside a success envelope; absent otherwise - so branch on its presence. Mirrors `RouterErrorResponse.upstream_detail`.\nProvider-authored, so it is length-capped and stripped of URLs, hostnames, emails, tokens and id-shaped values before it is surfaced. It is never the raw provider body, and it is a human-readable hint rather than a machine-parsed value.","schema":{"example":"expected the height to be at least 300px, but received a 445x283px image instead","type":"string"}},"RouterUpstreamStatusHeader":{"description":"The model provider's own HTTP status for this call. Present only when the failure came from the provider, and absent whenever Comfy Router refused the call itself - so branch on its presence: present means the request left Comfy, reached the provider, and the provider's answer is what produced this response's `error_type`.\nIt is declared because `error_type` cannot carry that distinction alone. `invalid_input` is answered both by Router's own pre-dispatch checks and by Router relaying a provider's rejection, and a relayed rejection is returned as `400` whatever status it arrived with - so the bucket, the status and the `detail` are identical in the two cases, and this header is the only thing that separates them. Reading one as the other sends an investigation to the wrong side of the call.\nThe value is a status code and nothing else. No provider prose, provider host or provider response body is ever forwarded (see `RouterErrorResponse.detail`), so this says WHERE the refusal came from without disclosing anything the provider wrote.","schema":{"example":400,"maximum":599,"minimum":100,"type":"integer"}}},"parameters":{"AppProxyId":{"description":"The app's public id (a random UUID) from the app proxy catalog.","in":"path","name":"proxy_id","required":true,"schema":{"type":"string"}},"AppProxyJobId":{"description":"The job id the submit returned.","in":"path","name":"job_id","required":true,"schema":{"type":"string"}},"FallbackProvider":{"description":"Controls whether Router retries this call against another of the model's registered providers when the first attempt fails for a reason attributable to Router's own side or to the specific provider tried - never for a reason attributable to the request itself (an unretried failure is refused exactly as it always was). Omitted, or any value other than `false`, turns fallback on (the default) and Router scans the model's registered alternates in order (by provider name unless Comfy has configured a different order for the model) and retries once against the first eligible one. `false` turns fallback off: a failure is refused, never retried. A successful fallback response carries the `X-Comfy-Router-Fallback-Provider` header, naming the provider that served it; a fallback attempt that itself also fails does not carry the header, and no case retries a generation that may already have been submitted to a provider. Fallback also turns itself off, regardless of this parameter, on a request that resolved a bring-your-own-key credential, on a request whose body selects a multipart operation, and under `strict_mode=true` - each binds the call to one specific provider and cannot be faithfully replayed against another: the alternate leg would dispatch on Comfy's own key rather than on the caller's credential, no alternate translator is guaranteed to carry the multipart media field, and a strict body is already shaped for one provider rather than for the native contract. Each of those is inert, not refused - no retry is attempted and the first attempt's own failure reaches the caller unchanged. Only an explicit `model_provider` is refused, and see that parameter for the `409`s it answers with; note that fallback's multipart disable is unconditional, while `model_provider`'s multipart `409` applies only to a leg whose translator cannot serve the operation. A Seedance 2.x body carrying an `asset://` reference in a `content[]` image, video or audio url is likewise never retried on another provider (the ids are BytePlus virtual-library assets): its first attempt's own failure reaches the caller unchanged. A workspace configured for direct provider calls only never runs this retry, and refuses a non-default `model_provider` with `403` unless the request replays an already accepted `Idempotency-Key`.","in":"query","name":"fallback_provider","schema":{"type":"string"}},"ModelProvider":{"description":"Selects an alternate provider to serve this model, instead of its current default. Omitting it lets Comfy Router choose which provider serves the call: that may be the model's own provider or another provider Comfy routes the model to. The request body is always the model's native document. A call the model's own provider serves is billed at the model's published Router price; a call Comfy Router serves on another provider may instead be metered at that provider's own rate, as a `fallback_provider` retry is, and its response may carry that provider's own result shape and asset URLs. On the synchronous run route the provider that served the call is reported in the response's `X-Comfy-Router-Provider` header; the queued route does not report it, and the cost-estimate route, which serves no call, always quotes the model's own provider when this is omitted. `default`, `comfy`, and `comfyui` are accepted values that behave as an explicit request for the model's own provider on the first attempt and name no override, because Comfy Router is never itself a serving backend. The alternate providers Router can retarget a model onto are `fal`, `wavespeed`, `runware`, and `higgsfield`; which of them a given model supports is reported by `GET /v2/models/{provider}/{model}`. When an alternate provider is selected, the native request body is translated into that provider's real schema unless `strict_mode=true`; see `strict_mode` and `fallback_provider`. Its refusals are checked in a fixed order, and an earlier one answers whether or not a later one would. A value that is not a registered provider at all is refused `400` with `error_type: invalid_input`. Then a workspace configured for direct provider calls only refuses any non-default `model_provider` with `403` and `error_type: forbidden`, and Router never runs its `fallback_provider` retry for it; a resubmit carrying the `Idempotency-Key` of a request already accepted is answered as a replay of that request rather than refused. Then a request whose body selects a multipart operation (an edit - for example gpt-image's `image` field) is refused `409`, also with `error_type: invalid_input`, whose `detail` begins \"this request's `image` selects the edit operation\" - but only when the named provider's translator for this model cannot itself serve that operation; a leg whose translator does carry the media is not refused and proceeds normally, so this is a per-leg refusal rather than a blanket one. Then a request that has already resolved a bring-your-own-key credential for the provider in the path is refused `409`, also with `error_type: invalid_input`, whose `detail` begins `this request resolved a BYOK credential` - see the `409` on this route, where that `detail` is the only thing separating this case, and the multipart case above, from the `Idempotency-Key` one. That BYOK check runs whether or not the named provider has a leg for this model. Then the named provider's own gate refuses `403` with `error_type: not_enabled` when that provider is not turned on for you, and `503` with `error_type: service_unavailable` when the gate cannot be evaluated - a flag-evaluation failure, or a missing or nil gate entry. Only past all of those is a real provider that does not serve this model refused `400` with `error_type: invalid_input`, the same answer as a value that is not a registered provider at all - both mean the `model_provider` value cannot serve this model, and that `400`'s `detail` is human-readable and not a contract, so read `GET /v2/models/{provider}/{model}` to learn which providers a model does support rather than parsing it. Then, on a Seedance 2.x model, a body carrying an `asset://` reference in any `content[]` image, video or audio url is refused `400` with `error_type: invalid_input`: those ids are BytePlus virtual-library assets no other provider can serve, so send the media itself as an http(s) URL or a `data:` URI to use `model_provider`. Past those `400`s, this workspace's partner-provider policy for the named vendor is evaluated too and can refuse `403` or `503` of its own. Neither this parameter nor `fallback_provider` is available on a BYOK request, and the two are unavailable in different ways: the credential was resolved for the provider named in the path while every alternate leg dispatches on Comfy's own key, so an explicit `model_provider` is refused with that `409`, and `fallback_provider` is inert rather than refused - no retry against an alternate provider is attempted and the first attempt's own failure is what the caller receives. The same split applies to a multipart body: only an explicit `model_provider` reaches the `409` above, and only for a leg whose translator cannot serve the operation, while the automatic on-failure retry `fallback_provider` controls is simply skipped (inert, not refused) for any multipart body. Router defines no `provider_not_available` or `validation_error` `error_type`: these conditions fold onto `invalid_input`. The `error_type` set can still grow, so treat any value you do not recognize as `internal_error` rather than switching exhaustively.","in":"query","name":"model_provider","schema":{"type":"string"}},"PixverseAiTraceId":{"description":"Unique UUID for each request.","in":"header","name":"Ai-trace-id","required":true,"schema":{"type":"string"}},"RejectUnknownFields":{"description":"Opt in to refusing a top-level request-body field this model's input schema does not declare, rather than accepting it; nested fields are not checked, and nothing is refused for a model whose schema allows undeclared fields or has no authored schema, or on a queued submit sent with `strict_mode=true`.\nOmitted, or `false` (the default): unchanged behaviour. Most model input schemas here are open, so a field Comfy has not authored is accepted and forwarded, which is what lets a field a partner already supports reach it before Comfy documents it. The cost is that a misspelled field name, or a nested field written at the top level, is accepted too - and then dropped on the way to the provider, so the generation runs, and is billed, under the defaults that field was meant to change.\n`true`: a top-level field the published input schema does not declare is answered 422 with an `extra_forbidden` entry naming it, before any provider call is made and before anything is billed. Only the top level is checked, and only names that match no declared property even case-insensitively - a field whose spelling differs from a declared one only by case is already refused (`property_name_case`) regardless of this parameter. A model with no authored input schema declares no properties, so it refuses nothing here.\nWhat it refuses is a FLOOR, not a ceiling, in two stated cases. A model whose published schema sets `additionalProperties` itself is left exactly as it is: where that is `false` the schema already refuses undeclared fields with or without this parameter, and where it is `true` - as on the Anthropic and Gemini Interactions models, whose schemas promise fields such as `tools`, `temperature` and `safety_settings` pass through unchanged - the schema has declared that an undeclared field is allowed, and this parameter does not overrule it. And where a schema is a union (`oneOf`/`anyOf`), a field belonging to any branch is accepted, not only to the branch the body matched.\nThe parameter is per-request on purpose: closing every schema instead would start refusing bodies that succeed today, with no way for an existing caller to keep the behaviour they built against. It is accepted on both the synchronous `POST` and the queued `POST .../requests` submit, which validate the same body against the same schema. The one exception is `strict_mode=true` on the queued submit: that body is already in the alternate provider's own shape, so the queue does not validate it against this model's schema, and this parameter is accepted but has no effect there.","in":"query","name":"reject_unknown_fields","schema":{"default":false,"type":"boolean"}},"RouterCatalogCursor":{"description":"Opaque pagination cursor. Pass a previous page's `next_cursor` to fetch the next page; omit it for the first page. See `RouterPageCursor` for why the value is opaque and why this route paginates by cursor rather than by offset.\nA cursor that is malformed, over-long, or no longer valid is answered with a `400` carrying the Router error contract's `RouterErrorResponse` (`error_type: invalid_input`) - never a `500`, and never a silent fallback to the first page, which would make a walk loop forever.","in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/RouterPageCursor"}},"RouterCatalogLimit":{"description":"Number of models to return in one page. Values above the declared maximum are outside the contract, but this route does not reject them: it serves the maximum instead, and the page size actually served is echoed back as `limit` on the response, so a clamp is always detectable by the caller. Treat the maximum as the real page stride - a client that asks for more and assumes it received more will miss rows. 0 and negative values are also accepted and select the default, which is why no `minimum` is declared: sub-1 is meaningful here, not invalid.\nThe cap of 100 is the one the node-listing endpoints already use (BE-8098): an uncapped page size on a list route is a trivially exploitable amplification, and this route is hit by SDKs on cold start.","in":"query","name":"limit","schema":{"default":20,"maximum":100,"type":"integer"}},"RouterIdempotencyKey":{"description":"Caller-generated key that makes retrying one logical call safe. A call that reached the caller with an answer is recorded against its key for 24 hours, and a retry carrying the same key is answered from that record instead of dispatching - and charging - the provider a second time, marked `Idempotent-Replayed: true`. Keys are scoped to the workspace your credential carries, or to your user when it carries none - so the keyspace is shared by every member of a workspace rather than private to one caller. Make a key unique across the whole workspace, not just within your own client: a second member who reuses a key string is answered from the first member's record, or refused `409` if the request differs. Because the scope follows the credential and not the person, a credential that carries no workspace at all scopes to your user id instead - so retrying one logical call under a different credential can land in a different namespace, where it is dispatched and charged again. Retry with the credential you started with. A keyed request with no authenticated caller is refused `401`. The guarantee is a billing one: a key is charged at most once. It is not a promise that a key is dispatched at most once, and it does not make a lost call resumable. Some answers are recorded but not replayable for the full 24 hours, and the billing guarantee is the half that always holds: the key stays consumed - the retry never re-runs and never re-charges - but it is answered `409 invalid_input` instead of being served the original body. That happens whenever Comfy does not hold a copy of the response it can still stand behind; a response past the replay size cap and a result addressed by an asset URL Comfy does not host are the two you are most likely to meet. The second is the one worth planning for, because it looks like an ordinary success: which models answer with a Comfy-hosted asset link, how long one stays valid, and what a result carries when an individual asset could not be copied are stated in one place, under Result assets in the API reference, and this paragraph does not restate them. On a model that returns its result on the original call, an answer still holding a partner's own asset link is replayed for a few minutes - which is where a dropped connection puts an SDK's automatic same-key re-send, and while the partner's link is certainly still alive - and refused after that rather than replayed dead. So a prompt retry of a partially re-hosted result behaves exactly like any other replay, and only a later one meets the `409`. That short window is deliberately not offered on a model that submits and is polled, because there the partner may have minted the URL long before your call collected it and its remaining life is unknowable - and those models do not need it: a call cut off mid-generation keeps its key holding the generation, so the same-key retry collects the original result rather than a recorded copy of it. A response past the size cap has no window either and is refused from the start. The action on any of these `409 invalid_input` refusals is the same: use a new key. Only an answer a provider actually produced is recorded, though. A refusal Router raises on its own before dispatching anything - not enabled for you yet (`403`), unknown model (`404`), not entitled to the model (`403`), a body the model's schema rejects or that names a different model than the path (`422`), a malformed request (`400 invalid_input`) - dispatched nothing and charged nothing, so it releases the key: re-send the same key once you are on the rollout ramp or have corrected the request and it runs for real, rather than replaying the refusal or colliding with it as a `409`. That turns on whether a provider was reached, never on the status, so a `400 content_policy_violation` - the partner's own answer to a call that ran, which some models meter - is recorded and replayed like any other answer. Releasing a refusal that dispatched nothing frees nothing chargeable, so it does not weaken the at-most-once billing guarantee above.\nGenerate a fresh key per logical call and reuse it across that call's retry attempts; a UUID is the intended shape. Persist the key BEFORE sending the request - a key held only in the memory of the process that crashed cannot be resent, and the retry that would have collected the result becomes a fresh, separately charged run.\nA retry that arrives while the original is still in flight is answered `409` with `Retry-After`: wait and re-send the same key. The same key presented with a DIFFERENT request is a `409` too, rather than a silent overwrite - and \"different\" is judged on the whole request, not the body alone: the method, the path and query string, and the body must all match the original. One exception: a signed Comfy asset URL in the body (a Comfy-issued `storage.googleapis.com` URL, such as the `download_url` an input upload returns) is compared without its signature - the signing query parameters and any fragment - so a retry that re-signed the same input object still matches the original and collects its answer. Any other change to that URL, such as a different object or path, is a different request. A call whose recorded answer is an error is matched on the exact body instead, because the signature may be what failed: a re-signed retry of it is the different-request `409`, and the remedy is a new key.\nTHE KEY IS NEVER RETURNED IN ANY RESPONSE - not on the `200`, not on the `504`, not in any error body. It is yours to mint and yours to keep: a caller who did not keep it has no way to collect a generation they were billed for. A `deadline_exceeded` `504` on a generation the provider is still running answers a same-key retry with `504` and `Retry-After` again until it finishes, then with the result.\nOmitting the header is allowed and leaves the call unguarded rather than refused: there is nothing to check, so every retry is a fresh dispatch and a fresh charge.","in":"header","name":"Idempotency-Key","schema":{"example":"6f1a1a6e-6a53-4a5f-9d3a-2b3b0a1f9c21","maxLength":255,"minLength":1,"type":"string"}},"RouterModel":{"description":"Lowercase model segment of the canonical `{provider}/{model}` model ID - the model to run within that provider.\nAs with `provider`, the schema is the shared `RouterModelSegment` component and its `pattern` documents the contract rather than enforcing it - see `RouterProvider`.","in":"path","name":"model","required":true,"schema":{"$ref":"#/components/schemas/RouterModelSegment"}},"RouterProvider":{"description":"Lowercase provider segment of the canonical `{provider}/{model}` model ID - the partner whose model is being run.\nThe schema is `RouterProviderSegment`, the SAME component a catalog entry's `provider` field references, so an ID `GET /v2/models` lists cannot drift from the ids this route accepts. Its `pattern` is a CONTRACT statement, not enforcement: comfy-api installs no OpenAPI request validator and oapi-codegen binds path parameters as plain strings, so the handler must re-validate this segment itself before using it to select a provider or compose an upstream URL.","in":"path","name":"provider","required":true,"schema":{"$ref":"#/components/schemas/RouterProviderSegment"}},"RouterQueueRequestId":{"description":"The queued request to address - the `request_id` the submission returned in its body. It is not the submission's `X-Comfy-Request-Id`: that header carries the id of one HTTP call and addresses nothing, as the `RouterQueueRequestId` schema spells out.\nIt is scoped to the caller and to the `{provider}/{model}` in the same URL. An id that is real but was submitted to a different model is a `404` on every read here, not a redirect and not a silent success on the row the id names: the path parameters are redundant with the queued row, and this contract resolves that redundancy strictly so that one id has exactly one address.\nAs with `provider` and `model`, the `format` documents the contract rather than enforcing it - comfy-api installs no OpenAPI request validator and oapi-codegen binds path parameters as plain strings, so a handler must re-validate this segment itself before using it to look a request up.","in":"path","name":"request_id","required":true,"schema":{"$ref":"#/components/schemas/RouterQueueRequestId"}},"StrictMode":{"description":"Only meaningful together with `model_provider`. `false` (the default): the request body must be this model's own native contract, translated to the alternate provider's real schema - any native field that cannot be expressed exactly is dropped and disclosed via the response's `X-Comfy-Router-Dropped-Params` header, never silently. `true`: the body must already be the alternate provider's own real schema, passed through unmodified in both directions - no translation, so `X-Comfy-Router-Dropped-Params` is never sent, and provider fallback is disabled for the call because a body shaped for one provider cannot be replayed against another (see `fallback_provider`).","in":"query","name":"strict_mode","schema":{"default":false,"type":"boolean"}}},"responses":{"AppProxyError":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppProxyErrorBody"}}},"description":"An app proxy refusal or failure. `Retry-After` accompanies `free_runs_exhausted`, `concurrent_run_limit`, `upload_rate_limited` and the deployment's own back-off codes.","headers":{"Retry-After":{"description":"Seconds to wait before retrying, when retrying can help.","schema":{"type":"integer"}},"X-Comfy-Error-Type":{"description":"Repeats the body's `error_type`.","schema":{"type":"string"}}}},"NoPersonalWorkspace":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSORefusal"}}},"description":"`code` (and `error`) is `no_personal_workspace`: the account has no personal workspace (an account SSO created), so it has no personal customer to create or bill. Billing is managed in its organization's workspace. An existing account that linked to SSO keeps its personal workspace and is never refused this way. Checked only for credentials outside a personal workspace, and only while `ENABLE_SSO_KEY_POLICY` is on. Authentication can also answer 403 with `code` `sso_required` when an SSO organization holds the account."},"PartnerNodePaymentRequired":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerSpendRefusal"}}},"description":"The partner-node spend gate refused the call for funds. With wallet facts reported the body is `PartnerSpendRefusal`; otherwise it is `{\"message\":\"Payment Required\"}`."},"RouterConcurrencyLimited":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterErrorResponse"}}},"description":"The caller is holding as much in-flight capacity as they are allowed and the request was refused before it reached the model. The bucket is `concurrency_limit_exceeded` for every in-flight bound and `detail` says which bound was hit: the number of concurrent calls; the number of concurrent calls to models classed expensive, a quarter of the concurrent-call limit shared with partner-node calls, whose refusal also carries the `X-Model-Concurrency-Limit`, `X-Model-Concurrency-Current` and `X-Model-Concurrency-Remaining` headers; or the committed spend of the calls still in flight, whose refusal also carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents). Retry once one of the caller's own in-flight calls finishes - for the expensive-model bound, one of their calls to an expensive model, which may be a partner-node call. The same status also carries `rate_limited` when the caller has spent their per-caller request allowance: that refusal sends `Retry-After`, and the wait it names is the whole remedy, because finishing in-flight calls does not refill it. The body is `RouterErrorResponse` and the bucket is repeated on `X-Comfy-Error-Type`.","headers":{"Retry-After":{"$ref":"#/components/headers/RouterRateLimitRetryAfterHeader"},"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"},"X-Committed-Spend-Current":{"$ref":"#/components/headers/CommittedSpendCurrentHeader"},"X-Committed-Spend-Limit":{"$ref":"#/components/headers/CommittedSpendLimitHeader"},"X-Committed-Spend-Remaining":{"$ref":"#/components/headers/CommittedSpendRemainingHeader"},"X-Model-Concurrency-Current":{"$ref":"#/components/headers/ModelConcurrencyCurrentHeader"},"X-Model-Concurrency-Limit":{"$ref":"#/components/headers/ModelConcurrencyLimitHeader"},"X-Model-Concurrency-Remaining":{"$ref":"#/components/headers/ModelConcurrencyRemainingHeader"}}},"RouterDeadlineExceeded":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterErrorResponse"}}},"description":"Comfy stopped holding the connection at its own configured bound (`deadline_exceeded`). The body and the two headers are exactly `RouterRequestError`'s; what this adds is the optional `Retry-After`, present when a retry with the same `Idempotency-Key` will collect the generation that is still running rather than dispatch a new one. See the `504` on `POST /v2/models/{provider}/{model}`. The status is shared with `provider_timeout` - the partner not answering in time, rather than Comfy's own bound expiring - which is why `X-Comfy-Upstream-Status` is declared here too: present, it carries the partner's own status and the bound that expired was theirs; absent, the bound was Comfy's.","headers":{"Retry-After":{"$ref":"#/components/headers/RouterRetryAfterHeader"},"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"},"X-Comfy-Upstream-Status":{"$ref":"#/components/headers/RouterUpstreamStatusHeader"}}},"RouterEstimateValidationError":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterValidationErrorResponse"}}},"description":"The estimate's body was rejected against the model's schema, or named a different model than the path. The body is `RouterValidationErrorResponse`, the same FastAPI `detail[]` shape the run route's `422` carries for the same body. Nothing was priced. An estimate reserves no `Idempotency-Key`, so there is nothing to release or replay: correct the body and re-send.","headers":{"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"RouterIdempotencyConflict":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterErrorResponse"}}},"description":"This request cannot be served as sent, and on `POST /v2/models/{provider}/{model}` three unrelated conditions answer this status. The first, which every route declaring this status can raise: the `Idempotency-Key` on this request is already held, and this request cannot be answered from its record. Two buckets share the status there and `X-Comfy-Error-Type` is what separates them, because they are acted on in opposite ways. `concurrency_limit_exceeded` means the original call for this key is still running: wait `Retry-After` seconds and re-send the same key, which collects that call's result rather than starting a second one. `invalid_input` means the key cannot serve this request at all - it was already used for a different request (the method, the path and query, or the body differ from the original; a body that differs only in the signature of a signed Comfy asset URL is not different, unless the original's recorded answer was an error), or the original completed (and, if it succeeded, was charged) and Router holds no copy of its response it can still stand behind - for example it was too large to store, or it names an asset Comfy does not host and so cannot promise still resolves, which on a direct-return model is replayed for a few minutes after the original call and refused after that - or the copy it holds is content-encoded in a way this request did not accept - and the answer for the key is always a new key, never a re-send of this one. There is no `Retry-After` on any of these, because waiting changes nothing. `detail` says which case it is; the different-request case says nothing about how the call that does own the key turned out. The second and third conditions are raised only by `POST /v2/models/{provider}/{model}`, are not about the `Idempotency-Key` at all, and are both reachable on a request that carries no key. Router checks the third before the second, so a request that would trip both is refused for the third: an explicit `model_provider` naming an alternate provider on a request whose body selects a multipart operation (an edit, for example gpt-image's `image` field), when that provider's translator for this model cannot itself serve the operation - the swap is refused rather than silently billing a plain generation for the edit the caller actually asked for. A leg whose translator does carry the media is not refused and proceeds normally, so this refusal is per-leg rather than blanket. This one is not raised by the automatic on-failure retry `fallback_provider` controls, which is simply skipped (inert, not refused) on any multipart body, whether or not a leg could have served it - see the `model_provider` parameter. Its `detail` begins \"this request's `image` selects the edit operation\". The second: `model_provider` named an alternate provider on a request that had already resolved a bring-your-own-key credential for the provider in the path. The three are mutually exclusive - the multipart case is decided from the request body and the named leg's own translator, before BYOK is even considered - and the BYOK case is exclusive with the key case because that credential was resolved for the path's provider while every alternate leg dispatches on Comfy's own key for its own provider, so the call is refused before anything is dispatched and nothing is charged. Both the second and third carry `invalid_input`, the same bucket as the terminal key case above, so `X-Comfy-Error-Type` does not separate any of the three and `detail` is what a client branches on: the BYOK case begins `this request resolved a BYOK credential`, and a new key does not help - drop `model_provider`, or send the request without the BYOK credential. See the `model_provider` parameter, which also records that `fallback_provider` is inert rather than refused on a BYOK request. The body is `RouterErrorResponse` and the bucket is repeated on `X-Comfy-Error-Type`.","headers":{"Retry-After":{"$ref":"#/components/headers/RouterRetryAfterHeader"},"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"RouterModelValidationError":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterValidationErrorResponse"}}},"description":"The request's contents were rejected against the model's schema. The body is `RouterValidationErrorResponse`, the FastAPI `detail[]` shape, so each offending field keeps its own specific `type` and `ctx`. `X-Comfy-Error-Type` carries the coarse bucket for the whole response. A JSON request body that is not an object at all (an array, a string, a number, `null`) is refused here too, as `dict_type` at `[\"body\"]`.\nWhat this costs your `Idempotency-Key` depends on WHERE the rejection happened, judged on the same dispatch test every other status is judged on rather than on the status itself. Router validates against the model's own input schema BEFORE any provider call, and that refusal reached nothing: it is never charged, it does not consume the key, and the key is RELEASED - re-send the SAME key with the corrected body and the call runs for real, rather than replaying this `422` or colliding with it as a `409`. That is the common case, and it is called out because this is the one error a caller CAUSES, and therefore the one they are most likely to fix and re-send under the original key.\nOn the synchronous run route (`POST /v2/models/{provider}/{model}`), Router's own pre-flight check of a provider's request shape, when it can name the offending field in the body you sent, answers here too, on the same terms as the schema check: nothing was dispatched, the key is released, and the response carries no `X-Comfy-Upstream-Status`, which is present only on an answer that reached the provider. The queued route does not report that check in this `detail[]` shape.\nA model that performs its OWN validation can also answer `422` on a call that really ran. That one DISPATCHED, so it is recorded and replayed like any other answer: a same-key retry is served the stored response, marked `Idempotent-Replayed: true`, and correcting the body requires a NEW key.","headers":{"Idempotent-Replayed":{"$ref":"#/components/headers/RouterIdempotentReplayedHeader"},"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"RouterProviderError":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterErrorResponse"}}},"description":"The provider's own response could not be turned into a result (`provider_error`). The body is `RouterErrorResponse` and the bucket is repeated on `X-Comfy-Error-Type`. `X-Comfy-Upstream-Status` carries the provider's own status when Router's typed failure carrier held one; absent, either the failure came with no such status (a poll-transport failure, for example) or this 502 did not come from the provider at all. `Retry-After` is present when the poll leg ended without a verdict on the generation - the generation is still running and will bill on completion, and the `Idempotency-Key` is parked with its handle - and names when a retry with the same key will collect it; it is absent on a terminal provider verdict, which is the one thing that distinguishes the two on the wire.","headers":{"Retry-After":{"$ref":"#/components/headers/RouterRetryAfterHeader"},"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"},"X-Comfy-Upstream-Status":{"$ref":"#/components/headers/RouterUpstreamStatusHeader"}}},"RouterQueueSubmitForbidden":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterErrorResponse"}}},"description":"A Router request-level failure - the request never reached the model, or failed for a reason the model itself did not report. The body is `RouterErrorResponse` and the bucket is repeated on `X-Comfy-Error-Type`. On this route `not_enabled` also answers a model whose partner answers a generation directly as bytes: such a model cannot yet be queued, so the submit refuses it and nothing is queued or charged. For that refusal it is the model and not the account that is refused: run such a model on the synchronous route, `POST /v2/models/{provider}/{model}`, instead. The same redirect is given, in `detail`, to a bring-your-own-key request whose credential resolved but that the queue cannot carry. A credential that carries no Comfy workspace is refused `not_enabled` here too, with a `detail` naming the credential, while the synchronous route accepts it. Any other `not_enabled` or `forbidden` here is refused by the synchronous route the same way, so read `detail` rather than the bucket before re-sending elsewhere.","headers":{"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"RouterQueueSubmitTooManyRequests":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterErrorResponse"}}},"description":"Inspect `X-Comfy-Error-Type`: `queue_backlog_full` means you already hold as many unfinished queued requests as you are allowed, so submit again once one of them finishes; `rate_limited` means wait the number of seconds in `Retry-After`. Nothing was queued or charged, and the `Idempotency-Key` is not consumed. A submit at your in-flight limit is queued rather than refused, so `concurrency_limit_exceeded` is never answered here.","headers":{"Retry-After":{"$ref":"#/components/headers/RouterRateLimitRetryAfterHeader"},"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"RouterRateLimited":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterErrorResponse"}}},"description":"The caller has spent their per-caller request allowance, which refills continuously over a one-minute window, and the request was refused before Router did anything with it. The bucket is always `rate_limited`: wait the number of seconds in `Retry-After` before sending the next request. Nothing was charged, and a request sent sooner is refused again. The body is `RouterErrorResponse` and the bucket is repeated on `X-Comfy-Error-Type`.","headers":{"Retry-After":{"$ref":"#/components/headers/RouterRateLimitRetryAfterHeader"},"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"RouterRequestError":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterErrorResponse"}}},"description":"A Router request-level failure - the request never reached the model, or failed for a reason the model itself did not report. The body is `RouterErrorResponse` and the bucket is repeated on `X-Comfy-Error-Type`.","headers":{"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"RouterRequestUnavailable":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterErrorResponse"}}},"description":"A Router request-level failure - the request never reached the model, or failed for a reason the model itself did not report. The body is `RouterErrorResponse` and the bucket is repeated on `X-Comfy-Error-Type`. A `503` that was refused for capacity - the in-flight request-body budget was full, or no slot was free to scan an oversized body - carries `Retry-After` naming when to re-send the identical request; a `503` raised because a dependency faulted does not, because none of those rails knows when it will recover.","headers":{"Retry-After":{"$ref":"#/components/headers/RouterCapacityRetryAfterHeader"},"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"RouterRunRequestError":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterErrorResponse"}}},"description":"A Router request-level failure - the request never reached the model, or failed for a reason the model itself did not report. The body is `RouterErrorResponse` and the bucket is repeated on `X-Comfy-Error-Type`. On this route the status is also how the partner's own refusal of a call that really ran is returned - the `content_policy_violation` some models meter - and that answer is recorded against an `Idempotency-Key` and served to a same-key retry, so unlike the catalog reads' shared error this response can arrive carrying `Idempotent-Replayed: true`.\nTwo unrelated refusals therefore share this status and this bucket, and `X-Comfy-Upstream-Status` is what separates them: present, it carries the provider's own status and the provider is what refused the call; absent, Comfy Router refused it before the provider was reached.","headers":{"Idempotent-Replayed":{"$ref":"#/components/headers/RouterIdempotentReplayedHeader"},"X-Comfy-Credits-Used":{"$ref":"#/components/headers/RouterCreditsUsedHeader"},"X-Comfy-Error-Type":{"$ref":"#/components/headers/RouterErrorTypeHeader"},"X-Comfy-Refusal-Subject":{"$ref":"#/components/headers/RouterRefusalSubjectHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"},"X-Comfy-Upstream-Detail":{"$ref":"#/components/headers/RouterUpstreamDetailHeader"},"X-Comfy-Upstream-Status":{"$ref":"#/components/headers/RouterUpstreamStatusHeader"}}}},"schemas":{"APIKey":{"properties":{"created_at":{"format":"date-time","type":"string"},"description":{"type":"string"},"id":{"type":"string"},"key_prefix":{"type":"string"},"name":{"type":"string"}},"type":"object"},"APIKeyWithPlaintext":{"allOf":[{"$ref":"#/components/schemas/APIKey"},{"properties":{"plaintext_key":{"description":"The full API key (only returned at creation)","type":"string"}},"type":"object"}]},"ActionJobResult":{"properties":{"action_job_id":{"description":"Identifier of the job this result belongs to","type":"string"},"action_run_id":{"description":"Identifier of the run this result belongs to","type":"string"},"author":{"description":"The author of the commit","type":"string"},"avg_vram":{"description":"The average VRAM used by the job","type":"integer"},"branch_name":{"description":"Name of the relevant git branch","type":"string"},"comfy_run_flags":{"description":"The comfy run flags. E.g. `--low-vram`","type":"string"},"commit_hash":{"description":"The hash of the commit","type":"string"},"commit_id":{"description":"The ID of the commit","type":"string"},"commit_message":{"description":"The message of the commit","type":"string"},"commit_time":{"description":"The Unix timestamp when the commit was made","format":"int64","type":"integer"},"cuda_version":{"description":"CUDA version used","type":"string"},"end_time":{"description":"The end time of the job as a Unix timestamp.","format":"int64","type":"integer"},"git_repo":{"description":"The repository name","type":"string"},"id":{"description":"Unique identifier for the job result","format":"uuid","type":"string"},"job_trigger_user":{"description":"The user who triggered the job.","type":"string"},"machine_stats":{"$ref":"#/components/schemas/MachineStats"},"operating_system":{"description":"Operating system used","type":"string"},"peak_vram":{"description":"The peak VRAM used by the job","type":"integer"},"pr_number":{"description":"The pull request number","type":"string"},"python_version":{"description":"PyTorch version used","type":"string"},"pytorch_version":{"description":"PyTorch version used","type":"string"},"start_time":{"description":"The start time of the job as a Unix timestamp.","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/WorkflowRunStatus"},"storage_file":{"$ref":"#/components/schemas/StorageFile"},"workflow_name":{"description":"Name of the workflow","type":"string"}},"type":"object"},"AnthropicCacheCreationUsage":{"description":"Per-TTL breakdown of cache-write input tokens for an Anthropic Messages API call.","properties":{"ephemeral_1h_input_tokens":{"type":"integer"},"ephemeral_5m_input_tokens":{"type":"integer"}},"type":"object"},"AnthropicCreateMessageInputs":{"additionalProperties":true,"description":"Request body for Anthropic Messages API (`/v1/messages`). Mirrors the upstream schema with strict typing only on fields the proxy reads (model, prompt extraction, streaming, billing). Other top-level fields (`tools`, `temperature`, `top_p`, `thinking`, `metadata`, etc.) pass through unchanged via `additionalProperties`.","example":{"max_tokens":16,"messages":[{"content":"Reply with the single word: ok","role":"user"}]},"properties":{"max_tokens":{"description":"Maximum number of tokens to generate before stopping.","type":"integer"},"messages":{"description":"Conversation turns. See Anthropic Messages API docs for the full content-block taxonomy.","items":{"$ref":"#/components/schemas/AnthropicMessageParam"},"type":"array"},"model":{"description":"Anthropic model identifier (e.g. `claude-sonnet-4-5`, `claude-opus-4-7`).","type":"string"},"stream":{"description":"On the Comfy Router route `POST /v2/models/anthropic/{model}`, `stream` is INERT: Router SETTLES it to `false` before dispatch and always returns the completed message as one JSON document. On the v1 `POST /proxy/anthropic/v1/messages` route, `true` makes the response a `text/event-stream` of Anthropic message events instead of a single JSON body. Send `stream` false or omit it on Router; the `text/event-stream` half of the `/proxy/` operation's 200 has no Router counterpart.","type":"boolean"},"system":{"description":"Top-level system prompt. Either a string or an array of content blocks; both reach Anthropic unchanged."}},"required":["max_tokens","messages"],"type":"object"},"AnthropicCreateMessageRequest":{"allOf":[{"$ref":"#/components/schemas/AnthropicCreateMessageInputs"},{"required":["model"],"type":"object"}],"description":"Request body for the v1 `POST /proxy/anthropic/v1/messages` operation.\nIt composes `AnthropicCreateMessageInputs` rather than restating its fields, and adds back the one field only the v1 surface can demand. `model` is load-bearing: this route carries no path segment supplying it, so a caller must send it, whereas the Comfy Router route `POST /v2/models/anthropic/{model}` supplies it from the path and its input schema must NOT require it.\nRead the note above `AnthropicCreateMessageInputs` for the full rule and the guard that enforces it."},"AnthropicCreateMessageResponse":{"additionalProperties":true,"description":"JSON shape of a non-streaming Messages API response. Most fields pass through; the proxy reads `usage` for billing.","properties":{"id":{"type":"string"},"model":{"type":"string"},"role":{"type":"string"},"stop_reason":{"nullable":true,"type":"string"},"stop_sequence":{"nullable":true,"type":"string"},"type":{"type":"string"},"usage":{"$ref":"#/components/schemas/AnthropicMessagesUsage"}},"type":"object"},"AnthropicMessageParam":{"additionalProperties":true,"description":"A single conversation turn. The proxy only reads `role` and `content` (string or array of content blocks) for prompt capture; additional fields pass through.","properties":{"content":{"description":"Either a string shorthand or an array of content blocks (text, image, document, tool_use, tool_result, ...)."},"role":{"enum":["user","assistant"],"type":"string"}},"required":["role","content"],"type":"object"},"AnthropicMessagesUsage":{"description":"Token usage for an Anthropic Messages API call.","properties":{"cache_creation":{"$ref":"#/components/schemas/AnthropicCacheCreationUsage"},"cache_creation_input_tokens":{"type":"integer"},"cache_read_input_tokens":{"type":"integer"},"input_tokens":{"type":"integer"},"output_tokens":{"type":"integer"}},"type":"object"},"AppProxyErrorBody":{"properties":{"detail":{"type":"string"},"details":{"additionalProperties":true,"nullable":true,"type":"object"},"error_type":{"description":"Machine-readable code, repeated on `X-Comfy-Error-Type`: `unauthorized`, `not_found`, `invalid_input`, `unpriceable_workflow`, `upload_too_large`, `upload_rate_limited`, `insufficient_credits`, `free_runs_exhausted`, `concurrent_run_limit`, `unmetered_rate_limited`, `idempotency_key_in_flight`, `app_unavailable`, `upstream_error`, `internal_error`, or a Comfy API v2 code the deployment returned (`invalid_workflow`, `missing_asset`, `deployment_not_ready`, ...).","type":"string"}},"required":["error_type","detail"],"type":"object"},"AppProxyFreeRunsAllowance":{"description":"The app's free-run allowance: `runs` free runs per rolling `period`. Absent for an app with no free runs.","properties":{"period":{"description":"The rolling period as an ISO 8601 duration, e.g. P1D, P7D, PT12H.","type":"string"},"period_seconds":{"format":"int64","type":"integer"},"runs":{"type":"integer"}},"required":["runs","period","period_seconds"],"type":"object"},"AppProxyJobRequest":{"properties":{"workflow":{"additionalProperties":true,"description":"API-format workflow graph, forwarded verbatim.","type":"object"}},"required":["workflow"],"type":"object"},"AppProxyObject":{"additionalProperties":true,"description":"A Comfy API v2 object (Job or Asset) as the deployment returned it, with its follow-up `urls` rewritten to this proxy, anything naming the deployment host or carrying the sponsor key removed, and, on an Asset, `job_id` and `job_metadata` dropped. Output `url`s are short-lived signed URLs. Submit responses add `app_run`: the run's `kind` (free, paid or unmetered), `metered` (false only for an unmetered job), its `price_credits` (the price this run is charged on success) when paid, and the app's `free_runs_allowance` and the caller's `free_runs_remaining`.","type":"object"},"AppProxyPricePerSecond":{"description":"Per-second pricing of a paid run, absent for a flat-priced app. A paid run costs its output seconds times the rate for its tier, rounded up to whole credits.","properties":{"credits":{"additionalProperties":{"format":"double","type":"number"},"description":"Credits per second of output, keyed by the tier input's value in canonical decimal form, e.g. `{\"0.4\": 18, \"1\": 45}`.","type":"object"},"tier_input":{"description":"The workflow input whose value selects the rate, e.g. `megapixels`. When `tier_match` is `at_most` it is `megapixels`, the priced node's width times height in millions of pixels.","type":"string"},"tier_match":{"description":"How the tier value selects a rate. `exact` (the default when absent): the key equal to the value. `at_most`: the smallest key at or above the value; a value above every key cannot be run.","enum":["exact","at_most"],"type":"string","x-enum-varnames":["AppProxyTierMatchExact","AppProxyTierMatchAtMost"]}},"required":["tier_input","credits"],"type":"object"},"AppProxyQuote":{"description":"What the caller's next run of an app would cost (FE-2737).","properties":{"blocked_reason":{"description":"Why the next run would be refused, when `next_run` is `blocked`: `free_runs_exhausted`, `insufficient_credits` or `concurrent_run_limit`. For a per-second app `insufficient_credits` means the balance does not cover even its cheapest run (the lowest rate for one second, rounded up); the submit checks the real price.","type":"string"},"free_runs_allowance":{"$ref":"#/components/schemas/AppProxyFreeRunsAllowance"},"free_runs_remaining":{"description":"Free runs left in the current rolling period.","type":"integer"},"next_run":{"enum":["free","paid","blocked"],"type":"string"},"price_credits":{"description":"Flat price of a paid run in Comfy credits; 0 when the app has no paid runs or is priced per second (see `price_per_second`).","format":"double","type":"number"},"price_per_second":{"$ref":"#/components/schemas/AppProxyPricePerSecond"},"resets_at":{"description":"When the next free run frees up - the oldest counted free run's admission time plus the period. Absent while free runs remain, and for an app with no free runs.","format":"date-time","nullable":true,"type":"string"}},"required":["free_runs_remaining","price_credits","next_run"],"type":"object"},"AuditLog":{"properties":{"createdAt":{"description":"The date and time the event was created","format":"date-time","type":"string"},"event_id":{"description":"the id of the event","type":"string"},"event_type":{"description":"the type of the event","type":"string"},"params":{"additionalProperties":true,"description":"data related to the event","type":"object"}},"type":"object"},"BFLAsyncResponse":{"properties":{"id":{"title":"Id","type":"string"},"polling_url":{"title":"Polling Url","type":"string"}},"required":["id","polling_url"],"title":"AsyncResponse","type":"object"},"BFLAsyncWebhookResponse":{"properties":{"id":{"title":"Id","type":"string"},"status":{"title":"Status","type":"string"},"webhook_url":{"title":"Webhook Url","type":"string"}},"required":["id","status","webhook_url"],"title":"AsyncWebhookResponse","type":"object"},"BFLEraseV1Request":{"description":"Request body for the BFL Flux Tools Erase v1 object removal API.","example":{"image":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg==","mask":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAB+UlEQVR42u3TMQ0AAAzDsPIn3d7DMBtCpKTwWCTAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAGAAMAAYAA4ABwABgADAAGAAMAAYAA4ABwABgADAAGAAMAAYAA4ABwABgADAAGAAMAAYAA4ABwABgADAAGAAMAAYAA4ABwABgADAAGAAMAAYAA4ABwABgADAAGAAMAAbAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGgGvctyzUB/Dz3wAAAABJRU5ErkJggg=="},"properties":{"dilate_pixels":{"default":10,"description":"Number of pixels to dilate the mask by before removal. Dilation helps cover object edges. Maximum is 25 pixels.","maximum":25,"minimum":0,"type":"integer"},"image":{"description":"Base64-encoded input image or HTTP(S) image URL.","type":"string"},"mask":{"description":"Base64-encoded black/white mask or HTTP(S) image URL. White pixels indicate the object to remove; black pixels are preserved. Must have the same dimensions as the input image.","type":"string"},"output_format":{"$ref":"#/components/schemas/BFLOutputFormat"},"safety_tolerance":{"default":2,"description":"Tolerance level for input and output moderation. Between 0 and 5, 0 being most strict, 5 being least strict.","maximum":5,"minimum":0,"type":"integer"},"seed":{"description":"Optional seed for reproducibility.","example":42,"type":"integer"},"webhook_secret":{"description":"Optional secret for webhook signature verification.","type":"string"},"webhook_url":{"description":"URL to receive webhook notifications.","format":"uri","maxLength":2083,"minLength":1,"type":"string"}},"required":["image","mask"],"type":"object"},"BFLFlux2ProGenerateRequest":{"description":"Request body for the BFL Flux 2 image generation API.","example":{"prompt":"A single red maple leaf on a plain white background."},"properties":{"height":{"default":1024,"description":"Height of the image.","maximum":2048,"minimum":256,"type":"integer"},"input_image":{"description":"Base64 encoded image for image-to-image generation.","type":"string"},"input_image_2":{"description":"Base64 encoded image for image-to-image generation.","type":"string"},"input_image_3":{"description":"Base64 encoded image for image-to-image generation.","type":"string"},"input_image_4":{"description":"Base64 encoded image for image-to-image generation.","type":"string"},"input_image_5":{"description":"Base64 encoded image for image-to-image generation.","type":"string"},"input_image_6":{"description":"Base64 encoded image for image-to-image generation.","type":"string"},"input_image_7":{"description":"Base64 encoded image for image-to-image generation.","type":"string"},"input_image_8":{"description":"Base64 encoded image for image-to-image generation.","type":"string"},"input_image_9":{"description":"Base64 encoded image for image-to-image generation.","type":"string"},"output_format":{"default":"jpeg","description":"Output format for the generated image.","enum":["jpeg","png"],"type":"string"},"prompt":{"description":"Text description of the image to generate.","type":"string"},"prompt_upsampling":{"default":true,"description":"Automatically modify prompt for generation.","type":"boolean"},"safety_tolerance":{"default":2,"description":"Moderation tolerance level (Flux 2 Max only).","maximum":5,"minimum":0,"type":"integer"},"seed":{"description":"Seed for reproducibility.","type":"integer"},"width":{"default":1024,"description":"Width of the image.","maximum":2048,"minimum":256,"type":"integer"}},"required":["prompt"],"type":"object"},"BFLFlux3ImageRequest":{"additionalProperties":false,"description":"Request body for BFL FLUX 3 image generation and editing. A request with no images is a text-to-image generation; one to ten reference images make it an edit of, or a multi-reference generation from, those images. Bounding boxes have no field of their own: they ride at the end of the prompt text as a JSON array of {id, bbox, desc} rows for generation, or {id, from, src_bbox, tgt_bbox, desc} rows for an edit.","example":{"aspect_ratio":"16:9","prompt":"A mountain landscape at sunset","resolution":"1k"},"properties":{"aspect_ratio":{"default":"auto","description":"Output aspect ratio: auto, 21:9, 2:1, 16:9, 3:2, 7:5, 4:3, 5:4, 1:1, 4:5, 3:4, 5:7, 2:3, 9:16, 1:2, or 9:21. auto follows the first reference image when one is present.","type":"string"},"grounding":{"default":true,"description":"Let the model research the prompt with web search and image search before it generates. Set false to turn both off.","type":"boolean"},"images":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"maxItems":10,"minItems":1,"type":"array"}],"description":"One to ten reference images the prompt edits or draws from, each an http(s) URL or a base64 string. A single string is treated as a one-item list. Each image must be at least 256x256 pixels and at most 16 megapixels, with a base64 payload at most 20 MB; inputs are resized to the closest resolution bin, up to 2k."},"prompt":{"description":"Text description of the image to generate, or of the edit to apply to the reference images.","type":"string"},"resolution":{"default":"1k","description":"Output resolution class: 768sq, 1k, 1.5k, 2k, or 4k.","type":"string"},"safety_tolerance":{"default":2,"description":"Tolerance level for input and output moderation, 0 being most strict.","maximum":4,"minimum":0,"type":"integer"},"version":{"default":"latest","description":"Endpoint version. latest serves the current release; dated pinnable release tags are added as they are published.","type":"string"}},"required":["prompt"],"type":"object"},"BFLFlux3Result":{"description":"Completed FLUX 3 video result.","properties":{"cost":{"description":"Provider-reported task cost, currently null ahead of BFL GA.","format":"float","nullable":true,"type":"number"},"sample":{"description":"Signed URL for the generated asset. The asset is re-hosted onto Comfy storage and this field rewritten to the Comfy-hosted URL, valid for 24 hours; a result whose re-host could not be performed keeps BFL's own short-lived delivery URL instead - roughly two hours for video, roughly ten minutes for images. Either way the link expires, so download the asset rather than storing the URL.","format":"uri","type":"string"}},"required":["sample"],"type":"object"},"BFLFlux3ResultResponse":{"description":"Current state of an asynchronous FLUX 3 task.","properties":{"cost":{"description":"Provider-reported cost in credits, populated once the task is Ready.","format":"float","nullable":true,"type":"number"},"id":{"description":"BFL task identifier.","type":"string"},"progress":{"description":"Optional generation progress reported by BFL.","format":"float","maximum":1,"minimum":0,"nullable":true,"type":"number"},"result":{"allOf":[{"$ref":"#/components/schemas/BFLFlux3Result"}],"nullable":true},"status":{"description":"Task status: Pending, Reasoning, Generating, Ready, Request Moderated, Content Moderated, Error, or Task not found.","type":"string"}},"required":["id","status"],"type":"object"},"BFLFlux3VideoRequest":{"additionalProperties":false,"description":"Request body for BFL FLUX 3 video generation. The mode field selects the generation type and decides which fields are required: t2v needs prompt; i2v needs prompt and keyframes; v2v needs prompt and start_video; draft_enhance needs draft_cache and accepts no other generation parameters.","example":{"mode":"t2v","prompt":"A slow dolly shot through a rain-soaked neon street at night"},"properties":{"aspect_ratio":{"default":"auto","description":"Output aspect ratio: auto, 21:9, 2:1, 16:9, 4:3, 1:1, 3:4, or 9:16. auto lets BFL choose from the prompt and any references.","type":"string"},"draft":{"default":false,"description":"Draft mode: generate a fast preview whose result includes a draft_cache download URL. Send that bundle back with mode draft_enhance to render the full-quality version of the same generation.","type":"boolean"},"draft_cache":{"description":"draft_enhance only. Encrypted draft-cache bundle from a prior draft generation, as the base64-encoded downloaded bundle or its still-valid http(s) URL. The original inputs are embedded in the bundle.","type":"string"},"duration":{"default":"auto","description":"Video duration in seconds (any whole second from 5 to 20), or auto to fit the content.","oneOf":[{"maximum":20,"minimum":5,"type":"integer"},{"type":"string"}]},"generate_audio":{"default":true,"description":"Generate synchronized audio alongside the video.","type":"boolean"},"keyframes":{"anyOf":[{"type":"string"},{"items":{"oneOf":[{"type":"number"},{"type":"string"}]},"maxItems":2,"minItems":2,"type":"array"},{"items":{"type":"string"},"maxItems":10,"minItems":1,"type":"array"},{"items":{"items":{"oneOf":[{"type":"number"},{"type":"string"}]},"maxItems":2,"minItems":2,"type":"array"},"maxItems":10,"minItems":1,"type":"array"}],"description":"i2v only. Images that become frames of the video, each an http(s) URL or base64, one to ten total. Accepts a single image, a list of images (one starts the video, two start and end it, more spread evenly and need a set duration), or timestamped [seconds, image] pairs in time order, e.g. [[0, \"...\"], [3.5, \"...\"]]. A pair is a two-element array: number of seconds first, then the image."},"mode":{"description":"Generation mode: t2v (text-to-video), i2v (image-continuation), v2v (video-continuation), or draft_enhance (full-quality render of a prior draft). Spelled-out aliases such as text-to-video are accepted.","type":"string"},"prompt":{"description":"Free-form prompt describing the video. Required for every mode except draft_enhance.","type":"string"},"resolution":{"description":"Video resolution class: hd (720p), or fhd (1080p), qhd (2K) or uhd (4K) for a higher-resolution result finished by the video upsampler. Defaults to hd for t2v, i2v and v2v, and to fhd for draft_enhance. Exact dimensions vary with the aspect ratio.","enum":["hd","fhd","qhd","uhd"],"type":"string"},"safety_tolerance":{"default":2,"description":"Tolerance level for input and output harm moderation, 0 strictest. Sexual content is limited to level 3 and hate content to level 2 regardless of the requested tolerance; requests with conditioning media are limited to level 2.","maximum":4,"minimum":0,"type":"integer"},"start_video":{"description":"v2v only. The video to continue, an http(s) URL or base64 MP4; the generated clip carries on from its final frames.","type":"string"},"version":{"default":"latest","description":"Endpoint version. latest serves the current release; dated pinnable release tags are added as they are published.","type":"string"}},"required":["mode"],"type":"object"},"BFLFlux3VideoResponse":{"description":"Immediate asynchronous response from the BFL FLUX 3 video API.","properties":{"cost":{"description":"Provider-reported cost in credits for this request, when available.","format":"float","nullable":true,"type":"number"},"id":{"description":"BFL task identifier.","type":"string"},"input_mp":{"description":"Input megapixels, when reported.","format":"float","nullable":true,"type":"number"},"output_mp":{"description":"Output megapixels, when reported.","format":"float","nullable":true,"type":"number"},"polling_url":{"description":"URL to poll until the task reaches a terminal status. The host varies by region; treat it as opaque and pass it to the get_result proxy endpoint via the polling_url parameter.","format":"uri","type":"string"}},"required":["id","polling_url"],"type":"object"},"BFLFluxKontextMaxGenerateRequest":{"description":"Request body for the BFL FLUX.1 Kontext [max] API. Edits input_image when one is supplied; generates from the prompt alone when it is not.","example":{"prompt":"A watercolor painting of a lighthouse at dawn, soft light on the water"},"properties":{"aspect_ratio":{"description":"Aspect ratio of the output between 21:9 and 9:21, e.g. 16:9. Defaults to the input image's aspect ratio when one is given, otherwise 1:1.","example":"16:9","type":"string"},"input_image":{"description":"Image to edit, as a base64-encoded image or an http(s) URL. Optional; without it the model generates from the prompt alone.","type":"string"},"input_image_2":{"description":"Additional reference image, base64-encoded or an http(s) URL (experimental multi-reference).","type":"string"},"input_image_3":{"description":"Additional reference image, base64-encoded or an http(s) URL (experimental multi-reference).","type":"string"},"input_image_4":{"description":"Additional reference image, base64-encoded or an http(s) URL (experimental multi-reference).","type":"string"},"output_format":{"default":"png","description":"Output image format.","enum":["jpeg","png","webp"],"type":"string"},"prompt":{"description":"Text prompt describing the edit to apply to input_image, or the image to generate when no input_image is given.","type":"string"},"prompt_upsampling":{"default":false,"description":"Whether to upsample the prompt. If active, the prompt is automatically modified for more creative generation.","type":"boolean"},"safety_tolerance":{"default":2,"description":"Tolerance level for input and output moderation, between 0 (most strict) and 6 (least strict).","maximum":6,"minimum":0,"type":"integer"},"seed":{"description":"Optional seed for reproducibility. A random seed is used when omitted.","example":42,"type":"integer"},"webhook_secret":{"description":"Optional secret for webhook signature verification.","type":"string"},"webhook_url":{"description":"URL to receive webhook notifications.","format":"uri","maxLength":2083,"minLength":1,"type":"string"}},"required":["prompt"],"type":"object"},"BFLFluxKontextMaxGenerateResponse":{"properties":{"id":{"description":"Job ID for tracking","type":"string"},"polling_url":{"description":"URL to poll for results","type":"string"}},"required":["id","polling_url"],"type":"object"},"BFLFluxKontextProGenerateRequest":{"description":"Request body for the BFL FLUX.1 Kontext [pro] API. Edits input_image when one is supplied; generates from the prompt alone when it is not.","example":{"prompt":"A watercolor painting of a lighthouse at dawn, soft light on the water"},"properties":{"aspect_ratio":{"description":"Aspect ratio of the output between 21:9 and 9:21, e.g. 16:9. Defaults to the input image's aspect ratio when one is given, otherwise 1:1.","example":"16:9","type":"string"},"input_image":{"description":"Image to edit, as a base64-encoded image or an http(s) URL. Optional; without it the model generates from the prompt alone.","type":"string"},"input_image_2":{"description":"Additional reference image, base64-encoded or an http(s) URL (experimental multi-reference).","type":"string"},"input_image_3":{"description":"Additional reference image, base64-encoded or an http(s) URL (experimental multi-reference).","type":"string"},"input_image_4":{"description":"Additional reference image, base64-encoded or an http(s) URL (experimental multi-reference).","type":"string"},"output_format":{"default":"png","description":"Output image format.","enum":["jpeg","png","webp"],"type":"string"},"prompt":{"description":"Text prompt describing the edit to apply to input_image, or the image to generate when no input_image is given.","type":"string"},"prompt_upsampling":{"default":false,"description":"Whether to upsample the prompt. If active, the prompt is automatically modified for more creative generation.","type":"boolean"},"safety_tolerance":{"default":2,"description":"Tolerance level for input and output moderation, between 0 (most strict) and 6 (least strict).","maximum":6,"minimum":0,"type":"integer"},"seed":{"description":"Optional seed for reproducibility. A random seed is used when omitted.","example":42,"type":"integer"},"webhook_secret":{"description":"Optional secret for webhook signature verification.","type":"string"},"webhook_url":{"description":"URL to receive webhook notifications.","format":"uri","maxLength":2083,"minLength":1,"type":"string"}},"required":["prompt"],"type":"object"},"BFLFluxKontextProGenerateResponse":{"properties":{"id":{"description":"Job ID for tracking","type":"string"},"polling_url":{"description":"URL to poll for results","type":"string"}},"required":["id","polling_url"],"type":"object"},"BFLFluxPro1_1GenerateRequest":{"description":"Request body for the BFL FLUX 1.1 [pro] image generation API.","example":{"height":768,"prompt":"An impressionist landscape of rolling hills under a summer sky","width":1024},"properties":{"height":{"default":768,"description":"Height of the generated image in pixels. Must be a multiple of 32.","maximum":1440,"minimum":256,"multipleOf":32,"type":"integer"},"image_prompt":{"description":"Optional base64-encoded image to use with FLUX Redux.","type":"string"},"output_format":{"default":"jpeg","description":"Output image format.","enum":["jpeg","png","webp"],"type":"string"},"prompt":{"description":"Text prompt for image generation.","type":"string"},"prompt_upsampling":{"default":false,"description":"Whether to upsample the prompt. If active, the prompt is automatically modified for more creative generation.","type":"boolean"},"safety_tolerance":{"default":2,"description":"Tolerance level for input and output moderation, between 0 (most strict) and 6 (least strict).","maximum":6,"minimum":0,"type":"integer"},"seed":{"description":"Optional seed for reproducibility. A random seed is used when omitted.","example":42,"type":"integer"},"webhook_secret":{"description":"Optional secret for webhook signature verification.","type":"string"},"webhook_url":{"description":"URL to receive webhook notifications.","format":"uri","maxLength":2083,"minLength":1,"type":"string"},"width":{"default":1024,"description":"Width of the generated image in pixels. Must be a multiple of 32.","maximum":1440,"minimum":256,"multipleOf":32,"type":"integer"}},"required":["prompt"],"type":"object"},"BFLFluxPro1_1GenerateResponse":{"properties":{"id":{"description":"Job ID for tracking","type":"string"},"polling_url":{"description":"URL to poll for results","type":"string"}},"required":["id","polling_url"],"type":"object"},"BFLFluxProExpandInputs":{"example":{"image":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg==","prompt":"extend the plain white background upward","top":64},"properties":{"bottom":{"anyOf":[{"maximum":2048,"minimum":0,"type":"integer"}],"default":0,"description":"Number of pixels to expand at the bottom of the image","title":"Bottom"},"guidance":{"anyOf":[{"maximum":100,"minimum":1.5,"type":"number"}],"default":60,"description":"Guidance strength for the image generation process","title":"Guidance"},"image":{"description":"A Base64-encoded string representing the image you wish to expand.","title":"Image","type":"string"},"left":{"anyOf":[{"maximum":2048,"minimum":0,"type":"integer"}],"default":0,"description":"Number of pixels to expand on the left side of the image","title":"Left"},"output_format":{"anyOf":[{"$ref":"#/components/schemas/BFLOutputFormat"}],"default":"jpeg","description":"Output format for the generated image. Can be 'jpeg' or 'png'."},"prompt":{"anyOf":[{"type":"string"}],"default":"","description":"The description of the changes you want to make. This text guides the expansion process, allowing you to specify features, styles, or modifications for the expanded areas.","example":"ein fantastisches bild","title":"Prompt"},"prompt_upsampling":{"anyOf":[{"type":"boolean"}],"default":false,"description":"Whether to perform upsampling on the prompt. If active, automatically modifies the prompt for more creative generation","title":"Prompt Upsampling"},"right":{"anyOf":[{"maximum":2048,"minimum":0,"type":"integer"}],"default":0,"description":"Number of pixels to expand on the right side of the image","title":"Right"},"safety_tolerance":{"default":2,"description":"Tolerance level for input and output moderation. Between 0 and 6, 0 being most strict, 6 being least strict.","example":2,"maximum":6,"minimum":0,"title":"Safety Tolerance","type":"integer"},"seed":{"anyOf":[{"type":"integer"}],"description":"Optional seed for reproducibility","title":"Seed"},"steps":{"anyOf":[{"maximum":50,"minimum":15,"type":"integer"}],"default":50,"description":"Number of steps for the image generation process","example":50,"title":"Steps"},"top":{"anyOf":[{"maximum":2048,"minimum":0,"type":"integer"}],"default":0,"description":"Number of pixels to expand at the top of the image","title":"Top"},"webhook_secret":{"anyOf":[{"type":"string"}],"description":"Optional secret for webhook signature verification","title":"Webhook Secret"},"webhook_url":{"anyOf":[{"format":"uri","maxLength":2083,"minLength":1,"type":"string"}],"description":"URL to receive webhook notifications","title":"Webhook Url"}},"required":["image"],"title":"FluxProExpandInputs","type":"object"},"BFLFluxProFillInputs":{"example":{"image":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg==","mask":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAB+UlEQVR42u3TMQ0AAAzDsPIn3d7DMBtCpKTwWCTAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAGAAMAAYAA4ABwABgADAAGAAMAAYAA4ABwABgADAAGAAMAAYAA4ABwABgADAAGAAMAAYAA4ABwABgADAAGAAMAAYAA4ABwABgADAAGAAMAAYAA4ABwABgADAAGAAMAAbAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAwABgADgAHAAGAAMAAYAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGAAOAAcAAYAAwABgADAAGgGvctyzUB/Dz3wAAAABJRU5ErkJggg==","prompt":"plain white background"},"properties":{"guidance":{"anyOf":[{"maximum":100,"minimum":1.5,"type":"number"}],"default":60,"description":"Guidance strength for the image generation process","title":"Guidance"},"image":{"description":"A Base64-encoded string representing the image you wish to modify. Can contain alpha mask if desired.","title":"Image","type":"string"},"mask":{"anyOf":[{"type":"string"}],"description":"A Base64-encoded string representing a mask for the areas you want to modify in the image. The mask should be the same dimensions as the image and in black and white. Black areas (0%) indicate no modification, while white areas (100%) specify areas for inpainting. Optional if you provide an alpha mask in the original image. Validation: The endpoint verifies that the dimensions of the mask match the original image.","title":"Mask"},"output_format":{"anyOf":[{"$ref":"#/components/schemas/BFLOutputFormat"}],"default":"jpeg","description":"Output format for the generated image. Can be 'jpeg' or 'png'."},"prompt":{"anyOf":[{"type":"string"}],"default":"","description":"The description of the changes you want to make. This text guides the inpainting process, allowing you to specify features, styles, or modifications for the masked area.","example":"ein fantastisches bild","title":"Prompt"},"prompt_upsampling":{"anyOf":[{"type":"boolean"}],"default":false,"description":"Whether to perform upsampling on the prompt. If active, automatically modifies the prompt for more creative generation","title":"Prompt Upsampling"},"safety_tolerance":{"default":2,"description":"Tolerance level for input and output moderation. Between 0 and 6, 0 being most strict, 6 being least strict.","example":2,"maximum":6,"minimum":0,"title":"Safety Tolerance","type":"integer"},"seed":{"anyOf":[{"type":"integer"}],"description":"Optional seed for reproducibility","title":"Seed"},"steps":{"anyOf":[{"maximum":50,"minimum":15,"type":"integer"}],"default":50,"description":"Number of steps for the image generation process","example":50,"title":"Steps"},"webhook_secret":{"anyOf":[{"type":"string"}],"description":"Optional secret for webhook signature verification","title":"Webhook Secret"},"webhook_url":{"anyOf":[{"format":"uri","maxLength":2083,"minLength":1,"type":"string"}],"description":"URL to receive webhook notifications","title":"Webhook Url"}},"required":["image"],"title":"FluxProFillInputs","type":"object"},"BFLFluxProGenerateRequest":{"description":"Request body for the BFL FLUX 1.1 [pro] Ultra image generation API. Ultra selects the output size from aspect_ratio rather than explicit pixel dimensions.","example":{"aspect_ratio":"16:9","prompt":"A lighthouse on a rocky coast at golden hour, cinematic"},"properties":{"aspect_ratio":{"default":"16:9","description":"Aspect ratio of the image between 21:9 and 9:21, e.g. 16:9.","type":"string"},"image_prompt":{"description":"Optional base64-encoded image to remix.","type":"string"},"image_prompt_strength":{"default":0.1,"description":"Blend between the prompt and the image prompt, from 0 (prompt only) to 1 (image prompt only).","maximum":1,"minimum":0,"type":"number"},"output_format":{"default":"jpeg","description":"Output image format.","enum":["jpeg","png","webp"],"type":"string"},"prompt":{"description":"Text prompt for image generation.","type":"string"},"prompt_upsampling":{"default":false,"description":"Whether to upsample the prompt. If active, the prompt is automatically modified for more creative generation.","type":"boolean"},"raw":{"default":false,"description":"Generate less processed, more natural-looking images.","type":"boolean"},"safety_tolerance":{"default":2,"description":"Tolerance level for input and output moderation, between 0 (most strict) and 6 (least strict).","maximum":6,"minimum":0,"type":"integer"},"seed":{"description":"Optional seed for reproducibility. A random seed is used when omitted.","example":42,"type":"integer"},"webhook_secret":{"description":"Optional secret for webhook signature verification.","type":"string"},"webhook_url":{"description":"URL to receive webhook notifications.","format":"uri","maxLength":2083,"minLength":1,"type":"string"}},"required":["prompt"],"type":"object"},"BFLFluxProGenerateResponse":{"description":"Response from the BFL Flux Pro 1.1 Ultra image generation API.","properties":{"cost":{"description":"The cost of the generation task.","format":"float","type":"number"},"id":{"description":"The unique identifier for the generation task.","type":"string"},"input_mp":{"description":"Input megapixels.","format":"float","type":"number"},"output_mp":{"description":"Output megapixels.","format":"float","type":"number"},"polling_url":{"description":"URL to poll for the generation result.","type":"string"}},"required":["id","polling_url"],"type":"object"},"BFLHTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/BFLValidationError"},"title":"Detail","type":"array"}},"title":"HTTPValidationError","type":"object"},"BFLOutputFormat":{"enum":["jpeg","png","webp"],"title":"OutputFormat","type":"string"},"BFLValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location","type":"array"},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object"},"BFLVideoEditV1Request":{"description":"Request body for the BFL Flux Tools Video Edit v1 API. Charges are based on the delivered output duration; the output length, resolution, aspect ratio and audio come from the source clip.","example":{"prompt":"Remove the orange bucket.","video":"https://example.com/clip.mp4"},"properties":{"prompt":{"description":"Edit instruction. Names the objects, setting, style, on-screen text or dialogue to change; everything not named is preserved.","maxLength":4096,"minLength":1,"type":"string"},"safety_tolerance":{"default":2,"description":"Tolerance level for input and output moderation, 0 being most strict.","maximum":4,"minimum":0,"type":"integer"},"video":{"description":"Video to edit, either an HTTP(S) URL or a base64-encoded MP4. At most 15 seconds of source footage and 50 MiB, with each side at least 160 pixels; sources above 720p are downscaled to 720p.","type":"string"}},"required":["video","prompt"],"type":"object"},"BFLVideoUpscaleV1Request":{"description":"Request body for the BFL Flux Tools Video Upscale v1 API. Charges are based on the delivered output only; input resolution and upscale factor are not billed separately.","example":{"input_video":"https://example.com/clip.mp4","upscale_factor":2},"properties":{"creativity":{"default":1,"description":"0 preserves the source precisely and sharpens it; 1 allows creative detail enhancement, which does not strictly preserve faces or products.","maximum":1,"minimum":0,"type":"integer"},"input_video":{"description":"Video to upscale, either an HTTP(S) URL or a base64-encoded MP4. At most 20 seconds of source footage, 50MB and 2560x1440 (3.7 megapixels) per frame; downscale a larger source before submitting it.","type":"string"},"prompt":{"description":"Optional description of the clip's content, steering the enhanced detail. Leave empty for a neutral upscale.","type":"string"},"safety_tolerance":{"default":2,"description":"Tolerance level for prompt and output frame moderation, 0 being most strict.","maximum":4,"minimum":0,"type":"integer"},"upscale_factor":{"default":2,"description":"Output scaling relative to the source resolution. The output preserves the source aspect ratio and is capped at roughly 14.4 megapixels per frame, so very large sources scale by less than the requested factor. There is no resolution option; to target 2K (2560x1440) or 4K (3840x2160), divide the target height by the source height. A 720p source reaches 2K at 2 and 4K at 3; a 1080p source reaches 4K at 2 but cannot reach 2K, which needs 1.33.","format":"float","maximum":3,"minimum":1.5,"type":"number"},"webhook_secret":{"description":"Optional secret for webhook signature verification.","type":"string"},"webhook_url":{"description":"URL to receive webhook notifications.","format":"uri","maxLength":2083,"minLength":1,"type":"string"}},"required":["input_video"],"type":"object"},"BFLVtoV1Request":{"description":"Request body for the BFL Flux Tools VTO v1 virtual try-on API.","example":{"garment":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBAUEBAYFBQUGBgYHCQ4JCQgICRINDQoOFRIWFhUSFBQXGiEcFxgfGRQUHScdHyIjJSUlFhwpLCgkKyEkJST/2wBDAQYGBgkICREJCREkGBQYJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCT/wAARCAEgAYADASIAAhEBAxEB/8QAHAABAAIDAQEBAAAAAAAAAAAAAAEGBAUHAwgC/8QAXxAAAQIEBAMCBgsLBgoIBwEAAQIDAAQFEQYHCCESMUETURQiYXGR0RUjMkJygaGisbLBFiQzQ1JigpKjs+EXGCU0VcImKDVTY2Rlc3WDRVR0k7TD0uI2RmaElKTw8f/EABgBAQEBAQEAAAAAAAAAAAAAAAABAgME/8QAKREBAQABAwQBBQADAAMAAAAAAAECETFBITJRcQMSIkJhgRORsTNS0f/aAAwDAQACEQMRAD8A+qekRE9IiAQhCIEIQihCEIgfHERMReKG8N4XheAQ3hE3gEIQgEIQgJtC0ReF4CbRESYiAQhcd8Rcd4gJhEXHeImAQhEwEWhE3iIBCEIgQhCAQhCARFom8ReKEIQgG8N4XheARMIXgIhvAmJgEIQiAOUIdIiKF4XhCAQhCAXheEIBeEIQCEIQCEIQC8TERNoBCEIBCEV+uY+wzh2YTKT9YlUzy1BDck2rtJhxR9ylLSbqJPQWhJrsLBeODYjxY5mBmIrDycV1bDtOkph6UbFOnESrjzraLqcWoglQ4rpSnltfmdrbI5nu1nNmWwomVfkGJeTedebeKe0ceskpSeEkWSkk2udz5I+Tc3qEhrNKtKmJqVYaRUnkr7Z3hJSXCq4FiTsoR2xw03Z1fUjOVFd4QZLNjHIBFwXHWnhb40x7t5a45YUkt5uYk8U7BynS67+e43j44DqJIXanKmw2DYLQFBPpBEZcm9V5qXdnZWexG8y0oJW6yHlpQTcgXB25GOl+OS7pK+vF5Z4vmiUzebOLFJB3MvKsMfKExgzeUzwQVTuZOPnwnxrKqqWQSBfoB1j5GmahNtfh6pXAVEm73apJ/WMa18NTI41zE06AFKJUQTbrzMJhPJq+6MA1NVJrpwwqvzVdYelVzrEzOTaJh9socShbZWnmmy0KF9x43MWt0UGPjbSvLeA5lAttONh2nvqPHw7psgg7E7cucdgpGfVIw5iGv4exS++huQqrrEtOpbLgDRUSlLlt/F3AIB2tflHPP47b9qy+XaDCMKj1um4gkG6hSZ6XnpR33LzCwtJ8lx18nOM2OOjRCEIBEXiYi0AvCEIBCEIBCEIBCEIBCEIBCEIBEiIgICekRE9IiAQhCAQhCAQhCAQhCAQhC0AtEwhAIRUseZm0DL5lAqbrrk482pxiUZTdx0J5m52A859MVrDVbxtmMlFSnEHCuHnfGYl2PGnpxJ5EuKHtaD3hIUelucbnx2zXhNeHUeNNyniFxzF4pOZObmHctJIKqD3hNQdTxS9PYUO1c8p/IT+cfivHOc1s9JLBLbuGsHhmcrY9rccT7Y3KK/OJJLjvkJIHvj0ji+EcJ/drjyWlMY1abamqhMpQ9xguTTy1C4BvsjbqeQtZMdcPh5y2ZuXhcG8yM2c6Kq7TcPvKpkn+NEmS01LoPV173R8wNz0THTaHgXBOQ1DTiGrvGerRup2fdHE/MLI3Sygnxb8r87XKlRps4cYz2SkjSMNYGkaXTpZ+WdeLi2S44lSVAX3NlKN91KBMZWodhVVybp9ZSltT/bSUw64U+MsLQRz7rrBtyje+knSVHOaZmCZrOyiYzmpL2NlKjNcHDx8aQ0sFkK4rWVve5G10nuj2zpmZPBubdbqM/Llxh5piaQUtBakqUlIBF/zkEGNDiekuTWTeC60luzrLs7JLWkWt7cpxB+VcWvO9pjF2EMFY4cbLjNQk0yU8AbHiHjWv0PEl0R0s1vT9z/4kq3VTUXltizDL1KqdGrMxJz8vwOtCWbANx0PHsQdwehAMcPxHUcGU2nyzeDxjyR4ZpK3yuoI4ezseIpQg+7uE7nuMdcy7wHkzMYdSKtMyLU5KOradTM1dTarXuklPGLbEdOkb+ao+niWaMs49hsX24vDnFEfphW3pjjphtpWta4RhecwFiKkrVjmo47mZuXmXBLsNPIWhLRCbeMse7NrEi3IR2GmZt5IVGVaoU7RhKMS8umVbE9SUuENpTwgcaAo3t1PWNyjLbIiUQiZXUaWWli6QquEpI8njxqncmslcRTcxN0isoZ7NBUsU6rJc4QBueBfEbxZMP2a1qMoZGg0bMfElVolWmqnQKTSEFqcmkgLKFBKuE+Kn3KW1AEgGKFlRQqfmljups4ge4E1VM1NIT2vAsuqIKSjfdSe0Krb34eVosWFy1Scl8xKpK8aG52Z9j5ZSj4xQAlsC/fZw/LGwyUwiyjLPGWIZogXp77Eur3yClsrUsHoeIgAjfYxu9JdPSbtDVcOZg6eK6ufpU0tylOrAE0hBVLTHcl5s+5X/APyVR3HK7PejZhJRT5kJpddt/VHFXQ+epaV774J8YeXnFd044tqeOKLXaZiOeXV5eX7BKEziQ54iwsKQokeMPFHO8cUrdAksS5kzWHsE092RqDc3MNtS6JjiZJZKjxoWbKb2TexJAPIiJljMrcct5yTp1j7AqmMJXDp7SusuSMmTYT4Bcl0/DUBdvzqAT5Y3EnPylRlkTUlMsTLC90usrC0K8xG0cGy/zirNDnhg3NSTdlJopDbdRmUDhWk7BL/Sx3Ac5H33fGPmHlJX8Jvu4qysnZyQH4WZpUo4QCOfE0nkodS2Qfze6OP+KbVrV9EQjhGUepGXxA4zQ8Y9lJVNSg21PJHAy+rlZY/Fr+afJyjuDU7KvzD0s1MNLfY4S60lYKm+IXTxDmLjlfnHPLC43SrLq97RETCMqiELQgEIQgEIQgEIQgEIQgEIQgJ6RET0iIBCEIBCEIBCEIBCETALQhAmAXsI5nm9nbSstpVUlLdnP11xF25UHxWQeS3SOQ7k8z5BvGnzrz4l8EodoOH3GpivKFnHNlNyIPVXQr7k9OZ7jU8oskF1ZwY0x+FvdqozTMnNm5dJ37Z+/TqEnznbaO2HxyT6s9mbeI1+VeX+I8e4jTmVj6YSaekKfYZnk7TAAJSspJCUNJ2I6Gw2tuent1tGa9MmW8N4gek6S28qWnJuWbKJl02B4Wiq3AggjxwLnkmw3PKM1cwqrm5idGBcEds9TUngJYPCJ1Y5qUejKfLt1/Jjp+ReBJjL9uvUKcfbmVtzjEwHUJISsrYQSRfoFcQHmv5I6Z66a3/ST9ONaYwlzM5+XmJRnsRJTAaSpseKtK0eML9bX357mN1jot0rUvLTHIGoyDh/SS2DGJkSjwfOx5oCwAn0W8yj6onOIKXqJpkuk+M9N00/Kj1R02zvpneNjq4llOVbDbzaiPvaZQfLZaPXFqzMK0aaKY2o8anJOmoUs9BdBv8AJGm1YNkTWGiP83ND5zcWDH7fbaa6eHeYkacd+/ibjE7cPa81W6LRkYg0vqShF3JJ9+aR+g8ri+YpUYmB5T7tNOWIaLYLmaPMOTDCeoKbPC3nu4Pji2ZRPy0vkpLeEHgkXJ6Zam1hN0tsqK0qUruSLgk9I5vkxmXSMIt4spbEvM1ZDykBC2rIZWB2iOLiO9iCDyN4ty0+qfsk2a/COVcrmW/Rqm1V0Uwz0uuRmFGX7Xjm5fl74WKmSlXl4VR0RekmnmSdbexZPqWU7FuTQAD5io39IjhOB8yK9RsQuYeEy21S0znbqZbl0qIcaBCVJNwpJ2G6VD4+UdQns9n8c104bdl0S03IKcU1Ny61MtzOydihR4kEedXXlGf8lt0xukX6fLeSWkXs+EPYuHAlNh2dP8Y+e64o1QyklMrsR1iqrrLVXFFp6ptREt2ZYfc8SXQrcjiUpQVYckpPfHYMwcYT8rlsGqJJzU7NyUk3MzUyl8pS0psBSkcV7uL28ZI2te56H5nzGxliKkzDtAcm1uSlUZl56fYeAWXpk3JWVWve+221gNov+TLTXKp9M4dMxFKKw3psw9JLFnapNomF35kqK3d/iDcdHpVOFC021JsJ4XF0R19Z/OdbK/oWI5ZnVjGmYkw9g6jU9D0imTCmHGn08IDnA2hNlA2IsFb+m0dqx683JZOYwl2SC3JSxkkkcjwNNI+m8TLLWT2unWqbpGpoTQ8QThB8eeZbv5ENk/34pmnSnh/OWbnXFcSxLzrwJ58SlgE/OMdA0llxWEa6Tsj2RFvP2Kb/AGRRNNbpVms+km/3lNfXRGr+aeHjnpLv1jPlmSKzw3kJRIBtZKuEkfPVHYce46kMjk0aWYkJibpc666jwUP+NKoQEm7RV0ur3BNh0tHMMzR/jJSNhcqnKb9CIzdXswF1DDcsD4wl5ly3wlIA+iH06/TP0a71s85svsOYiwa7mbRlexTz0miaeQ63wCbQu1rpF+F43AvuDffvjyorUvjCUl8XZVTL1LxJRZZmTmaZNL4vDGUJslt0k2WSAeFfI8vFIFuqVKsYbw1RMO0LES5dErUmkSTSJhAUypSWh4q77Achc7XI5RxrGGHJjT7j2RxlQWnnsMza/B5yUCrlkK3LVzzG3EgnkU2J784XWaf6W9HZ8tc0qbmDKOMFtVOrkn4k7TH9nGVA2JF9ym/XmORtF3jj2KcFU7MmVksfYBqzcliBtIclp9k8KZmw/BvDor3tyNuSgRy3+WeaQxU69h/EEqaRiuQHDNSLg4e1t+Mb7x1tva/UWMccsOYsroULQhHNpEImItAIQhAIQhAIQhAIQhAT0iInpEQCEIQCEIQCJtCEAiQIcogmAk7RwTPPUCjDomMNYUmEuVPduankEFMp3pQeRc7zyT5+Wtz21BiU8Iwvg+au9u1N1Fk34ehbaI69CocuQ33HnkjkKmnJaxhjdhKX0jt5WnzFuGXA3Dr19uIcwk+55nfYd8MJjPqzZt16R45H5IrJRjbGzXCB98ysnNHc++7d7i9IB+EegjUZxZ0T2Pah9yODu3cprrgYUtgEuVJwnZKRz7O/Ie+5naGdOc83jyd+4/B5fepzrgZccZBLlRWTshI59nf9bnyjoeV2V9Gycw89ivFb8umrJZ4nn1niRJIP4tvvWeRI3J2G3Prbp92W/EZ/UeOBsMUfT1geZxBiRaHKzOAJeDZBUVHdEs0eveo8rgnkBGZkPjirY5rGKajVQUpW5LmXQkHs2UALHZpPW1wT1uq/WOUVapV7UXmMxJSKHJSkyt+zCxdMoxccTq+hWrYW77JGwJj6YwvR6DhZqXw5SChpUjLBZZvdfApX4RZ71KSd+tj3Rj5OmP3b1Z122fPOSjYTnjNKvsk1BXzj64/GYqvZHVFTEtpuliZpqFHy+Kr7RHlp9UutZx1N5o+1MSs24pXfxupH2xscRpaVqaY4QP8AKsmD5w2iO10ud9M7RuNVr4E1h1q24amV3+NAjdZvlQ090osnhT2NOvb8nhT/AAiuasnAioYd2uVS8yPnIix5j+36aaetXMSNNV8rcc524e15r9ZCt+FZIzsqCT7ZPtelN/70UzSkbYlrbCwFBdObUQd/cuf+6LxpoAcyvnmyNhPzA9LaIo2l7xMd1NI5GmLB+J1uLdszw0s3Rae5qTmaZUJVt2RnKq42pBFrdo0bEEcjdQ5RjTeV9KpWpFmguTM6xJTpCmXeJJWQuXNtyLe7SRyjc4vSGtSjJR7o1iSI85Dd46RmNhOQrmbFBnETTzU7KUx6YUGSUqQlDoShQUNweJ1XTYJNt+UzsmlvgmrVT9UpuB8STeB2ZRsKq9+BbahxTCQylTj7oHuVbKQeXFZJtsTHzhm0y5Vs0ky0u3clMu0kdBy5+mOh0jCUzUtTdTk5NxEu2A9wuLJXwDwdNwLm5sSYx80sOyuFs2ZeRYWt5REipx5fulqKhfzDyRjHH6rpWrdI2GemXL9IpVMfqbCE8c6tCUocBCx2d77eWOhy8q01pPU2hoJSaWparc1Httye87Q1XvIaw/QCrl4e4P2ZjLlXW/5q6l38X2GcN/0zFkn0439pb1rG0ovJOGa7Lpt4k+lW35zQ/wDTFA03tqTm3MXvtJTQP66Iuekt1C6diXgVcCal/qKisZHONy2eVQZRYoX7INpt5HL/AN2Ol3zZ8PDNd1TOoyWUnmJqmkfs49tV/E5jSjNC/wDk4pHkJeWPsEeebQtqJk1dRNU0+fdEbzVXJtIruF56/tjiH2Fi3vUuIUD6VGLjvj6LyvOcuV01mLhamO0yYtUKayVMS7lg3MhSU8Sb9FeKLHl0PO453lBin7uKbWMrMaF5xxLS25YTGzyUJ2U1c78bZAUm+4AI5CLZmPmrN5ZZh0IOpcmKJN0poTcsnmLLUO1QPywOnUbdxFQzzww8mo0/NvBMwFN8LT0xMyu/CR+DmPKCPEXfuF+ZjGGukxv8W76q2xM4104Yq7FweF0yYVcoNxL1Bse+SfeOAfGOtxHaJuQwxnrQJXEOH6gunVyRIMtPteLMyLo3DboHNP8A/qTzBx8GZgYVzzw6vDWI5OXbqhb4nZJRsHCB+FYVzBHOw8ZPlG8cfxRhPF2njFTdcoc24/SXl8DU0U3bdTe/YTCRtfuPXmkg7C910vTI29O/YBzGn36mcHY2l0U3FLCboUNmKk2PxrJ5E96R8XUDo0cfolfwhqEwyGHQuSq8lZ7gbc4Zqnu9HWV8ym/XkeSgDG/wli+rUWqM4QxwpHsk5dNOqyBwsVZI6fmPAc0HnzEcM8PDUroMIAwjk0gwiYi0AhCEAhCEAhCEBPSIiekRAIQhAICETAInlECPy882w0t11aW20JKlrWbBIHMknkICVKCElSiAALknpHzNnjn+7U1O4TwU84tp1XYTE6xcrmCduyZtvY8iobq5Dbc+ebudj+OJlzCOEFvmTeX2PbMg8dRWduzSOYQen5XWwjeZXZV0nLSRcxbiyYlU1JhHE4+4oFqnDlwoPvnDyKh12T3n04fHMfuy3Yt16R+MmcjJXCDKcX41DAqLKO3al3lDsqckC/GsnYuAfEnyncVLNnOKpZlVAYSwg3MqpTzoa9qSe2qS77C3MN33CevNW2w/OOMdYmztrSMMYVkZlFI4rolh4qpix/CvnklI5hJ2HW55dHw7hbCWnmgGtV2Zbna/MIKEqQLrWerbCTyT3rNr9bbCOm11y63iJ+ps/eWmWFDyYoTuK8WTMsKqlu7j6jxIk0n8W3+Us8iRueQ258wxVibFGf8Ai1ijUWVcZpjSipiWUbIaTyL75G17ejkLkm+5lqdjLUVXPDZxz2Nw9KuFKCAS0z3pQNu0dtzUeXk5Rcq3jXBuRFJcw7hiWana0d3uNV7Ktsp9Y69yBy/NG8NLL5y/4mvT9Ng4rDOnTA3YMlM5VpocQCtnJ54C3EfyW03+Id5O+gyFn63UJbG2Na2p1xc2hJEwsWStTaXFKSgfkpBSLchy740WEcp8TZr1YYpxnNzDEi+QsFY4XphHMJbT+Lb7j6AecdgxK9S0ZX4mkMMLlQxTqdNSaUS/4NlaWjdFxzIvv5ee94xnpJ9O9u6zy4vpNlEtYirk0qyVCQQFXN1ErcuSf1Y09Vm3JvVG202TwIr7KSR5Am/0RuNIckDUsTvKUVnweWTcnvWs/ZGDKtNuamVkWua+snzgH1R0/PL0nEWDVgjin8NgJvZiZ+siLPmAng02SKFDfwCnD5W4qWrCdQzVqCharWk31D9dPqiyZvTng+nOQLQuVS1MSB5+A/ZGJ24e15rN022ayxqC7j+vzB9DaI55pXnfCseVbgR4qaYo8XndRF203tuqyfqC3CQpc3OG3d7WkRSdJ7BYxhVgORpY/eohdszw88SntdT8sDuBWpQfMbjskivtc/amkhI7HDUulPfvMLPxRxOrqV/OmbStW3s5L2H6CI7PSz/jB1rb/wCW5ff/AJxifJtPSxz6jKRKarJ1pO3auPXHwpUKPyiK5qESljOKVd2upiSWfiWR9kWOX8XVi7sLFxW//wBnFY1Gsdpm9KHiI+9ZMfPVG8e6embs6BqvZS5hihlQvaorHpaV6o9Keyl3Sm4jp7DPj0OKiNVqkownRiSf8pH90uP1R3QnSo6q3/Q0zb/vF2jE/wDHj7a5rUaRmA1TsTWPOalj8xcU3JW8rqEm2FHxe1qQF/IVRdNI/EabiZR2vNSw+YqKfk8C9qEfcI2MxUj9eNXfNJtGdnY+zKZ70yZ2PZinurHfZz1CNzq9lnktYZnW1AhKptopPeQhQPyRU9SzK5bN2TmWrn7zlFKt5HFfYI6HquKFYRoriuEWqRTci9rtL2+SLjeuBeVrxjgKnZsZf01l9bbFREk1Myc1a5ZWpsc+pQrkR5LjcRyDJrHL+XWI53L3GzYlpF11TQ8JsW5V5XMG+xacB58rkHkoxnYgxtVsKYVywxjS1grTIOyEyyongmEI4AW1fqEg8wReLVirCGG9QmFWcR4efblq2yjsgt3YpI3Mu+B59ldL3FwbRmTSaZbG+yoZv5ETuGXjirAgf8FYV27kpLqPbSZG/aMkblA52G6elxysOVWddMzEkDg/HTUqqfmUdilx5I7Cog+9UOSXPkJ3FjtFYy6zhr2VtTOEMdSs4ZGWUGwXBxPyI6W/zjXdbp7kkbRZMz8iqZjeS+67ADsqX5lPbqlmVAMTl9+Js8kL8nInuMW+M/5SeYpGZOUdfygq6cXYOmps0yXX2iXWzd6Q70uflN9OI7W2UOp6dl5mlhvO2iKw1iSWYaq/CFLluIpS+U7h5hXNKxzsDxJ5i4ioZYZ8TNGd+5XMLtuzaJl0z0wg9qwRt2cwk7kdOLmOtxvH7zV093ti3Lc9m8kiZ8BlF2CuocllA7Hrwg2PvbcjMpxlv5J+nbKHU6jh19qi4gmlTjCyG5GrrABe7mn7bJd7le5c8itjbbx89ZP57S2MWhhHHAZRVVgy6Hn0BLc90LbiTsl3ybBR5WO0dikpp/DqhLTr7kxTSrhZmXTdct0CHSeaegWfIFb+MeGeFjcqxwgIRzUMREwIgIhCEAhCEBPSIiekRAIQhABExAiYCRGpxXhuSxfh+dodQ7US0432ay0spUnqCD5CAbHY9do2whCUcCwvgLDuSNMqNfr8+09U2OJC5xbdgw2SQlLKeZWsW3G5N0iwBjmFTxPibPrELNEo8s6xLMqK5SUUolptHIuvqHvuvFyF+EcwT9QZj5cUbMqgLpVURwOoPaSs0gePLOW2UO8b2I6gnzxQUz+D9OmDTKS7XhNbf2U0qyX5x0D3aj71oX26AGwuq8enD5NevLFn+nvMzmHdN+Afcom6m+LJvZLtRmLcz1S2m/6I71HfjGB6BibPrGT9Zr8y+KYyseFzKfFAHMS7I5A2/VG5uSL7fC+CcSZ/15zEGIHnJenIXwOTYTZJSD+AYSdtvyuQ63MdCzFzPw9k9QUYQwdLyxqrLfZoaQOJuRvzW4ffOHnY7k7q22O+uN0nXKpv6Y2cWbktltRm8HYRQzK1PsQ2AyBw05ojY/7wjcA8r8R6XreQ2TxqHBjfF6eKUF35NiaOzx5l93i951F+fujta+JktkvNY0nxjHGCXXpBxwvtNTBJXUHCb8a7/i7/AK3wee8zQx9P5lYiZy0wKtK5Z1fZTs237hwJ90kEfikAeMR7oiw25tvsx/tP3XnjPNnE+aNbmMJZbScw7IoHDMTzaw2Xk3sVFZt2bZOw34lfJFhyslO0ybxVhxwMmakHKjIv9kviSpZbvcHqN7X8kc2r1fq2XeJJnAuXE2hclS5LtqxOJlkOremglSluOLseBLaQLAGySLc4tWm6opdw5i+WWpxTKeB3icPjLK2nOJR8p4b+iJZLh9uxz1YekMhM5iVFgCqXlVfOXGjlkKa1QXubGvufKFeuNnpCbV7N4gWo2CpJiw/TO8eM4yJfUulR2vXGz+skeuN6ffl6TiMvVnT/AAmuYfWpRAEi+Pnj1xc81mEHT7TAU3AYpp9ARFf1VItUMOqNhdiYTv8ACR64sGZjyXdN8jM3HCiSpyz6WxGJ24X9rzWRp9ATlJOhIt98zf1BFC0rqT92VUSCN6X/AOaiLhpvmVzOUtRXvbw2cAv/ALtEUDScw6nG9TWpW3sUdv8AmtxbemZ4MWpDWpdlwbKTWpM386W/XHYaRZWoHEBubt4flUnu3dJji2M2nntTKAlXi+zUl9DUdkooW9nxjJoEWNHkfGI5G5jPyds9GKh09KX9WMwu5JS658VpQCK7qMuc3ZNKeZlpMD/vFRvsP9pMarJ5ZKQG3H02A58MsE3PlPOK9n2y7NZ4STfHZARIIHxr/jGse6ei7OgaruzVhSipUCVmpK4d+XtSr/ZH7kwG9KSr/wBjOj0uKjD1YcPsTh0KCyPDHz4qgD+DHeN4zHUhOlThSqwNHG6h3udbX74xOzH2vNYOkhA9g8RL33nmRz7m/wCMUXIUmYzzeeKlHafXz71H1x0PSewWMJ1x0qbUFVEboVfk0n1xQdNrSX82Zl9DyXCmTm3CEpVYXWkcyB3xq75p4Zufcq1PZshCw4VJl5FCbLsBdauY63vFx1YKQcKURgjdVSUoEdLNK9cVPNZ0TeerkoniUvipjdtrD21s+f35je6tpptMjhyVLiQsvTDxTfewSlINvOYuPdgXarLl/hGhYlyIochiRtpUsplbqX3VBCpdS3F8KkLPuVeNt38t72jmlWwZi7T5VkYnoE4KrRXCETCuApStBOyXki4F/euJ2B7r2PQc6CxhXJ6k4flCEMurlZNJVyKUI49/OUC/njmWD8W4typpUjOV2S9lsC15S2kyjqwstE34ggH3F7K8RXiqseR3hhrZbxbsXw6pNyWDNSGEhMy6zJ1aVTwhZAMxIrPvVj37ZPxHmLGOPYexbjDTxit2i1iWW/THFcbspxXafQTbtmFHYH6eSgDuNlX8OP4Gel8zMq6guYoCye1Qm6zJ3PjNPIO5b8+6drnkqOnUusYQ1GYQXTKkymVqsunjWyFDtpRzl2rSj7pB/gocjDtnnH/hv7eWN8B4Xz3w23iXDc2w3VCizM4BbjI/EzCeYI5XO6fKI5Jl7mniXJutrwriWRm3qa27wOyKt3ZUk+7ZPIpPPh9yrmCDGKj7t9OmM+zSnwiVmlWCAD4NU2wen5Kxf4ST3g79un6fg3ULhczUo8mUrEqjsg8AkzEgs7lC7e7bJvyNjvwkG8O2aXrDf2r+Z2U9EzTpRxjgmZlPZd5JPatqAbnbc0r/ACHenEd+h7xgZGZs1+emprBOLKbPTMzT21IM243dbSU7dlM37+QVzPI35xoMpcMZk4FzMew7Lyo8GAS7UEOqPgrzFyEuoP5RsQkje4IVsCI+iPuRW9MOzDrzLTjxBcLTW6rCwudr2G28c/ky+mfTusmvVm4anmHpQSjSFNlgWCSoqATfaxO+3K3kjddIwqZTGaWyW2rqKjdS1c1GM3pHnbRCEIgiEIRQhCEBPSIiekRAIQhAIAwhATExAMIgmKfmJltRswJOWFRlQ5MSbgdaUlfApab3U0VDcJUNj3GxHKLhC0alsusHzrm5nqzhCQGEMFyiqfOMtBl9xTPZ+x4t+DQk7cdj7rcC9wTe41uT2R66+GsXY4ZWiVPt7Uo+bGb69q/fcJ62O6uZ259vxFlhhfE2JKfiSpUxD9QkBZBPuHbbp7RPv+E7pvyJ68o5TiSu4ozprk1h+jJmsP4XprhTUpyaBaVxJPjdpe24ts3f85W1o9GGWs0x6eaxZ16mYOZtVx/OHAuWzLr7To7OZnmPEC0cilCuSGuhXtfkNudGrtZlMl6TNYXwvNtzeKptPZVSrMjaWHSXY63vzPO/lsE7rEmZNPwrSzhfKiXUkzDvZTFWQjimJt07WbFr3O9lWtz4QLXj0pGXdMyowrMY3xspt2vcCjTpBR4y1MFJKBb371977hG55i8demOPXb/vtnet1kdJS8rkTiiYfYQ2p1ypCZdUnxnQhvhFzzNrH47x56VpGXqGHsUIePtr0y2hSe5sslKfpXH4y4W6xpUrLbh4XWpWoBSifdKuSTfruTGo0vOuyWGsT1JMw5YTbfEAfettFX94xymv05RrmJ01LFFzFqlHeAQ4uTdY4fz2nE3Ho4o1eYNURTNSzLQbIUqp09YI68Qa/jGt0z0+o4nzHrGIrq7ZmXcmEqW4UgLfcsT5duL0x71mQdq2p9lU6vtSisyzW3LhbSi30GOn1a52zwmnTRbdXlRZbThgN+O8VTQ27va4ycc9t/NZpCHFHjck6ck+YrSfVGn1ddkxO4caQkcQlplXpUj1Rbc0WRL6bqS2BYJlaYPkRGJtjFu9eum5sNZOzwH/AFucPzExTNKQvi6rq7qYB+1T6ou2nLfKCoD/AFubH7NMUfSirhxfWU99MSf2qfXFu2aeGDiAl7U+0m+3s5LD0JR6o7FhVsKz2xy5fdNOp6Of5pMccqe+qJu/Sus/UTHZcFHtM6MwlWHiNU9F/wDlGJ8m38XFznCQUvVPVl7WD03+5AjS54KUc9pJKRvxU8X/AExG3wE8XtT9f8Ungen9/MAI0OcIfntREmylPChMzTW7+W6CfpjU7v4l2XHVwVexeGUpJH33MHn+Yn1xspu7OlJPFufYVv5XB640+ru6pXC6Be/bTStvM2I3mJGzLaWG0nn7DSg9K2/XGJ24+15rx0nuBzBtaTbb2S+llEUbTHwJzPqIHWQmAPidRF50pDhwJWV/7SV8jKIoWlxHHmZPrPSnPn0utxq/mnhn4qPBqg7OaVdpyfpykk8hs2QD8YEYurqWCcUUGdClq7WnuoIJ28Ry+360euYSkr1IbHdM7Sx85mM/WCyhKsMuAAHgnEfF7WYuPdj6LtW21MPleX2Fljk5NIV/+ufXFIq1YrNJwPhCXqco9O4HmaaHKiEMlawS6pKh2lj2ZR4riLW8YdRtFw1DXfyiwhMf6aWPplTHpxz8lkngOt09sPmTT2MzKObtTcu6FpW04OqTwjzGxiTLTCe101rnnHinIbELczIzCKlQ6kgLadIvK1WXIuAockr4T5xe4ukxsK1hyVmZRGZWVExMyvgq+OepbRvMUxw8ylI900d7jcW5bXA6xhHCNIk8B07B2IZlVUolTF6cZxIQ5LEjjTL8YJ8dIJKFi17EW2API8V4MxNkLXkVujTLz0o6soYngm6OC9+xfRyKj5djzTY8tY5/V7/6zZo6rg7HOHc7sPO4VxM0w1Wg0S400rh4yBYuy6uihfcDlvzTHJv5O8b5U5pUeSoMy485UHuCSmWEApmGAR2gdbvYBKTdQOw2IN7RrJyTpuK6rS8Q4LcVSKxMTzbUzRpY+2yj5uozEtyBZsFKNyOC1jsQI+uKJh5uVmBVp4NzVZXLpl1zqmwlfZA34Bb3KSfGIHUxzzymHSc8NSa7thIyRlwp15YdmHLcawLDyJSOiR3fHzjLhCPM2CBhEEwExF4QgEIQgEIQgJ6RET0iIBCEIBCEIAImIiYBExEICSLxynPzCGIq7hThwt2i7zAcnaewAkzoISkKJ2uU2FwdiNz7kR1aIIvGscvpusSzV894BomHspGFzk+6itYrcRZQZN2ZO/vEq5X718zyFhzo+ZtZquL53wmZK5h5KVBphpJ4WkAXUEp7rC5PPbeOz4syimp6u+EURyWl5SaJW8lwkBhXUpA5g93Q+SPXEmDaRl7lliedZHbzxpb6FzjoHGeJBTwpHvU3PIfHeNfXcstaaaRzTCynJ3S7XkIc4ezTP2t1HElX0ExmaXaQmby0xI5ue2nHm7dCfB0gfWjTYPmyzphxQlPukrnWx+klsf3oumk4IRgKqSo9yipqFvhNI9Ud8+kvtmcKRpImDLYorcorkqmtrH6LgB+tH4YV2upcg8xXlfIDGPpnfS1mtPyqPcmRmkE+RLiPVGRPgymqdIRsFVlon9JpPrjf5ZemeI2uq5KF1yhBSQSJF4i45eOIt2cCP8X+nNg29qpw+RMUnVo+5L17D6gjiSqQfHxhYi55yTKE5BUt0+5UinH0pTGJtgt5e+ndrsco5/yzc2fmJih6VkWxpVfLS/8AzURftP7iVZOzjiSLF+cPzRFF0rWOL6sq42pg/eIi3bM8NVXmVs6o2nE+5NcliR50ojs2BnQnNbMl42IQ5IIsP9yecckrakq1MtAnf2bl7fElEddy8CXc08ylFI/rEkg7c7MmM/J2/wAMd3PMt222dSuJU3bcUpU8pK0G43UhX22jSZkX/nIy97cPsjTvoajc5ZtoRqQxEQkBXaVDf/mJjQ5pvFjUbLgC5XP036G43j0z/iXZZtWqHFqwyUoUpCBNKUR0/B9O7yxYMdDh0xsJvsaXTx85qNBqzeSj7l7LKHAqasQbEfg94sGPnFPaaZd0Hc06nk3AI90305RiduHtrmvHS+kN5b1ZQ5+yDp/YoigaV0j+UGoL33pbn71uOhaYPbsuaolVj/SLo8VISPwSO6OdaYZhYzInGeBpsKprwPZthJNnG+sW/mnhkY8Sr+ceLgpDlTpiUX99bsibeQW5xs9YBunDA8k4f3caXHJCNTDHcKpIfVaja6vF3mcMt9zE0r5zYjWM+7H0cVsc+98kMInr2kl/4VUWzBCWl5CUBt5IKVyrKRf8ovWHymKjn1f+Q/CH+8kr/wD4qotGHFmX0/YeWOaWJFXpmkeuMZdk9rN1pk8HM13Csm2tSUuNJKAh5HaMupSslIWg93RQspPQxrDU5ij0+eomMZN+rU7sSmy2+3ecRyCFWHtqSbAOABQ24wLccXzDieCjy6e7i+sYyKhTZepM9m+i9t0qGykHvBjzatuPZZZdUfBE45OFhKZycdPaqK+08GZKrpYSs7lKdrq5rIudgBHaor8thFtt5K3ppTiEm/AE2v5zeLDE1t60IiEIBEWiYgwCEIQCEIQCEIQE9IiJ6REAhCEAhCEAgIQgJhCEAiYiJEBBii55gHKXE9+QkifQpMXqOf5+OhrKDE6j1lQn0uJH2xrHuhXGcH0xatMdfmA4LOCbdKU9D2qEkehHyxZtKTpGHq+2eSag2r0tfwjBykllVDTRiNkgkFupBPxAK+kRlaUDxYfxEevh7X7mPTb9uXtz5ijaZwBmzMqtuuUnPrpjOrav8adq39syw/ZojB02E/ysL8spN/SmMysEnVI3/wAbl/qIjen3X0nDZauFcNVw9te8nMfXTFnzgbLmnWkJ69jTPqpirauD/TGHR/qcx9dMW/OJXZafqQP9HTR81Mc5ti1d6/en9tTeSc8nr2s99WKHpKbcbxZWipXEPYxH71MdByIUf5E51R/Lnz82KNpO3xNWz3U1v94IXbM8NbPP9rqgCSlQKa80N+tkpjs2Wr3aZn5mbDxZ2TT+yMcamrfzo0KUkkezqR8fAI7Flck/yi5mOHh3qsukWHQNH1w+Tt/hi5tljN9rqUxJYbJcqJPxOARo8xQqo6nZXjHChuo05q3fYNn7Y3eR8sqYz9xdNLA8UT5Bt3zKRGjxS2XNTzZJv/TkoPQGo1O7+Jwsmr9PE5hcDYhM2flbiyY+cVK6YpZKhcimU5PpU1FZ1drvOYaTfkzNH5zcWvNazWnGXR3yVNT8rcYm2K815aVXuPLypqO39Jufum45xpleS5mlMBJv/R8yfnojo+mJAZyqqDu28/Mq9DSI53pUl2/5Qqg7Y3RSnDv5XG41/wC54MxTw6kUEdKnTz81qNrq6J9lMODp4LNfXRGmx06mZ1MJQP7XkEegNRvdXaLTuHF7by82PnIjWPdj6Z4rcZ9ME5E4ZV/mnJD5ZdQjclwSmmqmulXCEUySUT3e3Nm8YefbYOQ9MHVC6eU/qWjzrD6ZzSal5tZSE0VgeL3pdSD8ojG+M9tcu10K3sY3blxL+sY2EaTBby5jDNPcc/CKZQpfwikE/TG7jytkIgmEAhCEAiIQgEIQgEIQgEIQgJ6RET0iIBCEIBCEIBCEIBExEICYQEIBFEzzl5KayoxI3UJlMsx4Lx9oo2HGlQUgeW6glNvLF7jmGpFN8o6qqwPC7LK3/wB8mNYd0S7KlkWVuafq32jPZM/0iGgRzR2e5/W4owNJC+Ki4kbvynJc+lo+qLDlooNabH3UiylU6orPnu76oq+kRweB4kSSAPCZU/MX6o9F2y9s+FU02ptm04D0lJv6RHvU18WqRH/HmR81MfnTmkDOGdAIPBLzo2/3giJ/bVIkH+32vqpjpe6+mZs2+rf/AC5h7/sL/wBcRbs6jbICkfBp31BFS1a/5dw//wBhf/eCLbnYbZBUjzU76gjnNsGryysjLJyMnFcv6+fkMUbSYOLEldV09j2h+0i7ZILKshp09bVH6FRStJI/p2vHukGR88wu2aThrH2u01QJVxnavpNvMkR17LFC3cc5mBopSoVtk8V+ftXKOOsKVM6qeAA8KK6sn4kH1R2fKQWxtmWbAXrifj9rifL1x/kWOfZCrC868aLuASibPZgGyfvoRWasXJzVOhsCyE11i/l4UJP2RZshyBnRjI96Jv8A8UIrj6uLVOCP7dQP2Yjf5X0nDa6uFE1vDyAbcMlMK9K0+qLpnSC1p/lGwfxVOT9T1RSNWqh90dCH+znv3kXbPYkZFSlu+n/QIzNsFvJp09qybn1f6zOK+Yn1RQdJ6AcZ1dfUUofK6j1RfMgFcOSE+rudnz8yKLpLT/hXWj/stH71MW7Zp4a+uJ8I1QpTz/p6WHoSj1RuNXzhVUsNtj/qsyr0rRGqUO31TW52rwP6qP4RnatHOPFGG2b8pFw+l0D7I1+WPo4q7ahEiSyXpcqTv4RJND9Fon7I10hLrOk1xpZuXZBxLY7yZohIHxkRnap19jl3RmgOdRb28zK4ipNGU0vU/gPCpMjIupINrKMy2q/pMYnZPa8uxYXZ8Ho0uzy7McHo2+yNt1jAodvY5HwlX/WMZ/WPK2iEIQCIiTEQCEIQCEIQCEIQCEIQE9IiJ6REAhCEAhCEAhCEAhCEAETERMAjnmoJlD2UGIuL3jTSx5w6giOhxzrUK8Gcn8Q39+hlA+N5Eaw7ol2VXLxfZ6ZHiTypdRPznYrGkSVDtKxC+b8SpyXR8QbJ+2NxhKa7HSzMFIJtSqgLj4bg+2PHR8yE4RrbnU1NA9DSfXHe9Jkz4UrTYngzbm0/6pOfvEx61xJa1UNjvrcsfS2iPPTgeHOGaB6y06P2iYy8bIErqoklHbjqVPc9KED7I6XvvpmbMzVttXKAf9RfH7QRa87CVafaSpP5FNPzBFZ1dt2qWG1/lS0yn0LR64tGaqfC9N1Nd58MpTF/UH2xibYtc1+shiXciZ5HM8VQT80+uKVpGdSrEFeRf/o9k/tIvOm9HbZQT7RG3hc4j0tp9cUTSbLdjjKsJJ2VSxt5nUeuF2zPDElVIl9Uatxc11Yt8JB9cdjylB+7LMlRN714Dn/o445VpdtnVG0oDhvXWFHykoT646/lW83K4hzEfUFWViRSNtzsgQ+Xt/kMXPsgBx5zYyWEn8HN7n/tQjRPgI1SjbY1xPytiN1p3ZeRmzjMuuJK0NvpISbi5mv4RXH5kvapwB0r6E7fmpA+yNa/dfScNrq4RxYlofP/ACa7+8i8Z+qLOSEkm34yQT83+EUjVyq+IqCE+6NPe/eRd9RHiZMSSe+Ykh8wxmbYLeUZE7ZEz6vLUD80xSNJQviauH/ZrX7wRd8kPEyDnVD8mon5FRSdJJ/wkrv/AA5n95Fu2aeGBTLO6qFjurj59DavVHrqhcD2ZGHmOfDItD9aYV6o86Bvqpe/43Nfu1xOfrXshnjQ5RaglBZkG/1nlX+mNflPRwu2rdwIwpQmfyqis+hpXrjYYgb4dNVOasTxU6mpAHW7rPrjQ6vpgCn4blgdy/Mu+hKB/ejfY3JltOVOQlXCrwOlIB8pcZMc524rzXXqJ/UE/DX9YxsOsa+h/wBQT8Nf1o2EeZtEIQgIMIQgEIQgEIQgEIQgEIQgJ6RET0iIBCEIBCEIBCEIBCEIBExETAI5TqceU1lHUQkGzkzLIV5B2qT9kdWjl2pV6Xayhq4fCiVuS6GgP852qbfFsY1h3RLso+Cl9rpZqI58MjUU+haz9sZWkE/4HVod1USf2SI12WvFM6ZK2juYqYHoJjM0fqvhSuj/AGk2f2SY9GXbWZvFJ08HhzmfT3szw+cIzM2F+Dal6S9y++KYr5wEYeQI4c73kjomfHzo9s8+NrP6nPIBJSacrbyORu9/8ThY9XrP/wALO26zaP3ZjfYwUH9LkgpfM06n284W3Gt1apSZTDBVbiS9NqA8nC3GwzTApOm+ksdBL05Cvmn6YxO3D2t3rN06DsMpqgs8jOTSvQ2kfZFA0szTTeMqwoqG1L/81EW7IyqLRkfUn2mySF1BY/RRFO0fyKfZzEEw9ZbvgLAF+gKyT9Ahb3EmzXzfaV3VWlIK2pZutIG2xJbaH2pjsmTjKFV3MRJAU390jgCVbjZAjkNOJGqNQP8Abr31FR2HJhV63mENtsSvcvgiHydv8hi5tpr4Gsx8XpuLllfyTJ9caCnpbmtVRSn3teeV8aUKP2RvtNBR/KTjFPCCotqN+775Pr+SNNg9KXNT7yiLn2anT812Nc5ek4jK1Zvf4X0Vo+9pa1el1Xqi+akTw5QU8HrOSY/ZqiharWO1x9TAf7LQB/3rkX7U+goyvpzY5eyEuPQ0uJPwW8pybHZ6eptfL2ipK+v6opWkhF69iBXdIsD9ofVF1ywPg+muac7pGpK+VyKlpEavUMTOd0vKp+cv1RLtkeGjoCv8at+39tzX7tce2oAeDZ3UN/ldqQV6H1eqMTDC+01TuHvrk4fmuRnanR2GZ1BfG33kwq/wZhUbndPScM/V8tQqOHE3NgxNm36aIueaB7HIuis292qjt27/ABm/VFT1hSqwrDU6PwZE2wT5SEKHyAxZc7HTL5T4ZZHJU/SknyAJv9kY/HFea67hZ7wijtO2I4io2PTeNvGgwOoqw7L3573jfx5a2iEIGAiEIQCEIQCEIQCEIQCEIQE9IiJ6REAhCEAhCEAhCEAhCEAiYgRMAjkGqcKOVDwSQLz8tck9OIx1+OL6sXg3liw3fd2qMJ9CVn7I38fdEuzQ5RMgacqsFqBSWap9VUNHgP3K12//AF9r90I/WXqvAdL1Retbikakv0qWmP3pCb4ML17u9kG/kaEdsu3JmbxTcgmuLOycWPeIn1fPt9sZuZbQqmpWnymygJunNEebhUfpiNNrYmc1KzMjcIk5ld/hPpjHrc6leqZlTh9zWZdsX8jaQI6XvvpOG11dTZRU6A0TZAlJhY85WkfZGzzrnnJ3T3RyBYOppgP6gP2RWNYE0mZrWHWWjuJKYUrzcaQPoMXTO2UQxkDS0NiyUextv1AI5zbGNeXrkSwDkFNtDmRUUkjyhUUrSK4tOI660eSqc0r0Ofxi9afPHyTnUnkHp8fNij6SGv8ACatr6Cmtj0uD1ReMk8Ncy6GNVBSra9eUB+kg+uOzZLJJqmP18NgrE7/x2SneOPFlud1SBQ5prt/jQj/2x17KJt0z+PGmVhLzeKX1L32KeFJAifL0x/kMXOdLvCcd4vWTdZaufJeYVGhw197aqHAg3SqtzgI86XI3+mAgY7xglLRbQWrhJN7ffCrD4or1O4mNU6trA1975yVeuN3fL0nEZuqyaCMeUniHDelJN+/21cdE1Ne25WU9y/Kflj6WlxzvV21x4roiuppiwD5nVeuLzqNdcGTlOdI4gJqSUT521euMz8FvL3y5PHpmnUjpT6kPlcivaRGwHMUK8koP3kb/ACcWJzTtPN3uCxUkfIv1xXdIj48IxKz1U3KOfK4Pthe3P2cxVMAnwnUytfdV59XoDsZGqx0jH9KSL3RS0H9q5H5y1Z4NS76TzTUal9DsfjVMb5mSKT0pjA9Ljkb/ADnpOF+1aSvbZcUec/GM1BAB+Gwu/wBEM7an4Tk1hZ9lvj8Kmaa6FAbJs3xfZaM3VMAcspBs9akwP2TkV2tvrrWlSkTKRxOSSZNJJ972b/Zk+iOeG0v7W7123L5faYbYVe+53+MxZopeULinMC05S/dlsE+kxdOsee7togYQiCIQhAIQhAIQhAIQhAIQhAT0iInpEQCEIQCEIQCEIQCEIQARMQImARwPV/NhvB1DlT+NqRX8SWlf+qO+R806xZoLcwtIm9kiamFd34tI+2OnxTXKJls2VKQZXSe6eHhDlJdN+/tHz64ydMiTTstcQz/IeGuqH6DCY/OPVnDumKlSJHAp+TkJcj4RSsj0Ax7ZITTErkVUnSoeMqoKV5wi30AR1vZfbPKnaVH0nFtccUfGNMSo/G6m8aKsJ9kdVqWGDf8Apto7fmtpJ+gxlaTmHZyv19+9ginsoP6Tl/7seFJb7PVOpSjdXs+4m/6CgI1ldcrSdJGy1YSwYxDQAALimu7/APNMX/Orx9P8gv8AMpp+RMUrVwn+n8PqtzkHh+0Hri45yrH83imX98zTPqpiTbE8mQzvg+RVWeOwQuoL9DcVzSKwDN4kf6pYlUekrP2Ru8tkqpumSrzPIuytSdHx8SfsjRaS5lSVYmQ2kqUpcogHoPwkLtkThXsMzAf1ROE3Vw1mdXYfmod9UdnygcIxfmOzZKQmupVwjoVNAmOJZRo8M1Gzc08ONxUzU3Ld2zg+2O2ZS3GOcyxZI/pxvYdPaofJt/COdZAPdhnRjCUTsjs5sW+DNC30mNFV7SWqduxsDXWCf00I/wDVG5yIB/lvxovuTOWHnmxFcxEszGqRIHSvyqfQG/VGvyvpOG41dgpxDQF99PeHocHri7agCF5ISAVbxnZDn8C8UvV7vWcOn/Upj66YuWoAD+Q2nKPR2nn5kZn4reUZEtn+QWooBPOogfGkxTNIUyr7oa82o/8AR7KvQ5/GLxkV4uRM+fLUD80xRNJLfFiWvK7qa0PS4PVC7ZHhGFAmR1UTSDYBVUnUj9NpZ+2MLVQ2RmZIOd9NYPoccjzS8tjVYQCeFVft6UW+2NpqxYDWLKDOD8ZT1JP6DpP96NTvnpLtV21TuhOXtLSeSqm3+5cjW4fku20pT6ed5CceHnS+pQ+rGw1RqD+WFLdTuDUWFA+QsuR+cEAv6W5psjf2KqAHxLcMZnZPa8ul5YBBwlION2CFyzBA/wCWD9sW6OcZDT3huXdJWVXIlW0/q3T9gjo8ebLetxEIQMQRCEIBCEIBCEIBCEIBCEICekRE9IiAQhCAQhCAQhCAQhAQEwhCAR8z6vJQqquF3lG7a2phpQHTx2zf0GPpmKXmbl1Ssd0gmbkBMT8qk+DOocU24kEgqSFJI5gdesbwy+nLVLNY5nqlcclssKfLMpS3LpqMu2kJ6JS05b6BGNlXJpZ02T76T4y5KpuE/ne2D7BHjmNQ8w8c4aNFk22J5lhxt3spqQKHQUAgAOjxb2J90n443eGaVPYIydnsNYkYYky5LzbbbyXkJSVPJUQjhUQoqubbDfujeOcs0NFL0gJSio4mSBv4JLH5640yCW9U5H/1CflH8Y3ekxPg2IMRy5Kg6ZFkqacQUOIIcN7pPnjTTqSzqqSCCCa+2d+4pTv8sdfyvpniN5q7FqthxW/9TmB89MWHO+YEvkFhpgmyn/Y9FvgsFX2RXtXB46xhtoe6MpMfKtIjdaoUexuWuF5QbJam22rfBliIk2xPLJps41J6T3ikgFdImh8anVj7YwdHsuEUPEbpHjqnmEk9bBs+uPGnSqzpRfddJt7GuLT5jMkxm6RSPYDEFv7QZ/dxL22r4UrJRQVn7NL71VI/KqOyZQq7TGeZbtieLECU3HkaAjimRzl89nySLn2S/vR2vJhXFiLMZQUDfEixty9wIvycpi5vp39vzcxtMAG3BMbnyzf8Ira0KmdVVuf+EIP6qb/ZFn0z2VmDjVRO/CflmVxXsMgTmqt1Z3Ca3OK/VQ56ot3vo8M7V1ME4gw+yOaac8v0uW/uxedQqSxkbINKPjJdkE/GEfwjneq9ztsf0tgb8FLQLfCdcjoeqJzwfKynS/IqqEui3wWlmJPxLy9ck/E0+Tbh2u1UlfIr1RTdIjd6tiNy3KTlk+lavVF0yrHgemt5w7Xp9Sd9Jd9UVTSA37didf8Ao5RHyuGF2yOYrklaa1TqtvbEDnzUq9UZ+rp5SMQ4fb5pTTnjbzufwjX4NCprVC6Rvw1qecPkAS7Gx1TSblUx7RJJpQLxpoQhlCVLcWpTq7BKEgkk2i6/dPScLnn4FO5FUlbw4XEuU9Rv+UWiD9JjJyxUJzTU8yCEqFOqTRKuQILu/wAsZmc1GmcVYFkcMUtl12aD8stRdQtttKW0EHxuE73I2j2wDQZnD+WRwdUGmkOLRMtLeYd7QcLpV4wBHMBXI9RHO5SY6Xy1p1frTW8V4AkUk3HAeHyjY/bHXoo+XGHpPC0oxSaf265aXaKQt1XEo8tybAegCLyI42621qIgYQiCIQhAIQhAIQhAIQhAIQhAT0iInpEQCEIQCEIQCEIQCJiIQEwiIXgP1eHOIhATaNdXcPUnE1PXTq1TZWoyjnumZlsLT5xfkfKN42F4m8BR8M5RYZwY+5MUmTecWSez8KmFOmXQfeNFR8VPk+WOMYgk6wrPKn1D7laxJTCpxp1ll4h5Ez2YspxK/GRbhAJAUki3Inn9Px5vyzUy2W3UBaD0MbxzsSx806naLUqjWaFOiS7QMsOthDD6VLNlhRUEEBRTuNxyjcZu+DZ14Zp1Mwk49OTknPoddQthxlDYLSgeJak2FuIRf8x8l6VmMiWVNVaqycxKJUlhbbiXEpCiCQpKweLkOZvHplzlxM5f0RymOTqautyYL3hCyprawCRwXUBYDex3J5CN/XNJ+k0c4oC1VPJd7LtEq+useAPyrIZKVodUFqWkAkp3sLb2F4/GnNCMBN1+lYmmE0abXNS7yGaiPBlrTwKFwF7KFxzBMWXA+V+NMM4ubqdUnaTO05Ie9rlnFBxKlA8Oy0C4F/yoxc0MN42qGKPC6ThxVQpvYsgqS62FpUL8QCS4L+jrF+qbGjlmVsmMP56LfqTzUmwt6oIC5jiaSeILIsVgA388doyMDLszjmYYeZeS9iZ9xK2nAsFPCmx2Me+c8pWJ3DsiukUacqy2poKclm0EuJSUEAhNjexO/dGmkMGzOJcsuzek6lQ6siWmmlSq2i0txZJKbm297iyvLbpDLLWEio6XWeyxVjN2ZcaQ6S2CkrFx7c4Tfu3ivZXSqZrUZPTyphgobnai5cKPM8YAva1/G5Xiz5BYepdOnqxIVWiVORmHkNPJVVmXG0uBJUCAVJSkkcQNt+sZdBl6xTc1CtvClWTTG6k7eal5VamQhRICwQkAp8YG4PK/dGrl1poqmftFnK9mxKraamBKty8oyXjLOdnbjJUeK1rDiNz5D3RctVgcnMNUOVl7lvw5x5ai2spSA3YXISbe66xtc5aViaaq1PmqFQpmrIWx2KwyglTS0qJHFcgAEK2N+hjcZiUPGmMsP0RVCkmZKYuFzMrPuJQthRTb3Y4kmxBBABvcEHpE+rY0aSiBFH0x9k7MS7a1UJ/cuCxU4V25b78Q6XiqaXX2aFKYmeWmZfUosK4W2Fe5QlxR7z17rnoI6i5lHKV3ADeH6xKSUjPKZAW/IrU4lDoVxBaeIJ4gTuUkW3I7oz8tcqpTLaSmJWUrNSnUzCgtaHuzQ0lY98hKEjhJ5Hc8hGbnNLDRxTKaboNVzOnp1Xsy7Upt951pVOaPBKlwq4u1CASjZVgpZvf3qY6QNPkjM4nVWZrEdaMuohZZS5wTLivz5kHj4fzU8MdVlZCVke08FlmWO1WXHOzQE8ajzUq3M+Ux7xjLO3ZdHkzLNMNpQhJISkJutRUbDvJuTHmumyTi+0VKtFXfwxkwjCvy20hocLaEoHckWj9QheAQiLwgEIQgEIQgEIQgEIQgEIQgJ6RET0iIBCEIBCEIBCEIBCEIBCEIBC8IQEwiPiiYBE3iIQAwhCAQhCAQhCAggHmL+eJhCAc4QhAIQhAIQhAIQhAQTCEIBCEIBCEIBCEIBCEIBCEIBCEBAf/Z","person":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBAUEBAYFBQUGBgYHCQ4JCQgICRINDQoOFRIWFhUSFBQXGiEcFxgfGRQUHScdHyIjJSUlFhwpLCgkKyEkJST/2wBDAQYGBgkICREJCREkGBQYJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCT/wAARCAIAAYADASIAAhEBAxEB/8QAHAAAAwACAwEAAAAAAAAAAAAAAAECAwQFBgcI/8QATBAAAgEDAgMFBAYFCQUHBQAAAAECAwQRBRIGITEHE0FRYSJxgZEIFDKhscEVI0JS0SQzNGJygpKishYXJVOzQ3OTo8Lh8FRjdIOE/8QAGgEBAQADAQEAAAAAAAAAAAAAAAECBAUDBv/EACYRAQEAAgICAQMFAQEAAAAAAAABAhEDBBIhMQUiQRMyM1FhgSP/2gAMAwEAAhEDEQA/AO/pDwCQ8AGB4DAwDA8ANIBYHgeAwAYHgMDwAYAeB4AWB4GGAFgeBhgAwA8BgoWAwPA8ATgMFYDBBOAwMAFgMDDAE4DBWBYAWBYKDAE4E0UGAJwLBQsASJlCaAklopgwIwJooQEsTRWBAS0LBTE0BImisCwVE4FgrAmgNhIMDHgilgeB4AAHgB4ABpBgeADA8BgeAFgeB4HgBJDwGB4AQ8DDACwPAwKFgMDAgWAGcLxLxfovCdvGtq17Gi5/YpRW6pU90Vzx69AOYA8suO2S91DL0PRKcaH/ANRe1c/HbH+JxkO2XWbKs1eLTblp4dGFNw+CkpPJh5xn+nk9mDB0rgvtW0TjC5/R6UrHUebjb1XlVcddkvF+jw/ed16mc9sLNAQwAQsFYACQHgMASLBWBAS0IpiaAlktF4EBDEymJoCWJlMWAJE0UICcCaKYmES0JlCYGwkPADwFGB4AYBgeAQ0gEkPA8DSASQ0h4HgBYGCGAsDwPAYAMBgeAwAAPAYAQDDAHH67rVpw9pVxqd9PbRoRzhdZvwivVvkfOWvcQXfF2sVNY1a6tLKjH2KcZP7EE+UV4vqew9tFJz4Ozl7Y3MG4pcpcn1Oo9mfZZp+tqOt6pCNak3i3t2vZil1k14vJ4c2fi2evx+VeX6nXur64UdGpuWeXeWylifvWFn5GjPhHiJqdR2F01j21tfI+yLXh/TLG1XcW1KG392KRxmsxUXJKPLHI1rz5Yz4bk62GV1t8hW9a70+/t7qbq29xRnGXeYacWual700fUPAvaLpPG1vCFvW7vUI0lUq281tePGUf3lny6Hm3G1nbVqlaU7enGSTX2Tzay1m54Z13Tr+zk4VLGopRw+qT5xfo1lfE9+Hm85trdnrfpXW318GCaNSFelCtT+xUipx9zWV+JZtNMsAMMEE4AeAAliKFgCRNFCAlolosTAgTKwICWIpoTQE4E0UJoCRMpoQEtCKaE0BsYGPA8ALA8AisBCwPA8DwFJIeAwMAwMMDwAsDwMMACQwwPACHgeAAWB4DA8ALAYHgMAdM7WaEq3BF24ptQqUpyx4LdjP3ow9l9eOn8GU7q9qRo0KUp+3LklFPGTtOvaZDWNMq6fVcY0bj2Krkukebz6c0uZxHDOgOfCFppznGMsVJqokpYbnLEo55eqZp9my3TodTCzHy/FbL7T+GnUdpG5qTb/b7qSj82jjOIOOdH0mylUuLiO6Ud9PKftJ+XmaH+6SyWrSud93VjJqU51rucmsLovecP20abb1aGg77f+SUqjpzcHtfklk177sjcxmpufLpfEHFuma1OUoTrre8qcqeInTOItL/AEfqMe9wo1qPeeifNHfNT4EoObudOhSt1UxKb71uLXkotckcFxNpsrjR7O+rpVI28p2j57e8fJxX4nvxXGfta/Yxzy15Po7QFJaDpil9pWdFP/w4m+dU7K9RudU4B0i4u3N1YwnR3S6yjCbjF/JL5HbMG5Lubc3LHxtlIWCsCKxLAmisCAnAimhAS0IpiAkRTJYEsWChASLBTEESxNFMTAloWChYCpEU0IDZwMBgCGA8AGBgMADA8BgAHgEPABgeASGUGAwMADADDBAh4GACwMBgROnGrTlTmsxmnFr0ZNWn3EaUYSS7tKMXHyRlNW/ahRyuXPJr8+G55Nvrctl8GK61C4uZOlawi40oOVSUpY3yxygn6+LPG+1jXdcrULC2udMoS7rnXjRm5U4OXTDeG36npVxO6r3MqdpXp0aUItylODm5Sb8FlfedB42vajVa3nXuJzyvs2tNb5JcsvrjmamF97ro63PXpwlxrdWvoNspVIxruMYyUX4+ZXEelvUeFNE0GyU53F5ftNxWcz2PDb8Flr4I4CjbzdHFdvvXNz+zhRgln8j2vsysXb6FCrOOHOMeq8er/FI9uLj96jw7HPfVv4dk0fS6Wi6TZ6ZQ/mrShCjF+e1Yz8Xl/E3MDA3XKt37IBhgCcCwUJoCWhNFCYEiKaEBLQmihNAQ0IoTAkTRTQgJaEUJoCWhFNCYRImUxBWyPADSAENAMAHgBgA0CHgoQxgiAQwHgADAwwABgeAwAYDA8AAsBgYALBhvKaqW1SL8vkZzBc1YqM6efaXJry8TDlsmF29eHG3OSOq1NWo6bOcK8FDHPL6SOp8R8b0bmNSlRoRliOI+znmdx1XTaN7FqrHoeb8VaFGzhKrb1XHa+cWc7HKX1XXy48p7xcFSqqfeXuo7YweEor8F7z3Dgiv9Z4atKuEt27kvDmfN2pXtevOhSlLMab6Lpk9t4I400bSdEtLDUruFo9qlTq1M7J7njGfBp+fmbnHZK0OfG3F6EGATyk1zT5p+YzYaRYAYASIpiAloRQMCGhNFCKJEUxNEECKYmgJaE0UICRFMTKJaEUSwiQYxEG1gYDCgeAGkADwCQwAaAeADAAMAwMBoASGAyhYHgMDIFgMDMztakcbljKyBhwZIW8pdeSMsKO3ngypFE06EIc/HzfgaupWzuI7opd4uq816G/gUorHPmY54TKarPj5Lhl5R07UKc6cJcmseDR5zxJdUr6VSnCOZ9Ht8z2q5oqomnGLXlJZOFXCulwuZXUNNtlWk8uS8X546GnepZfVdLD6jjrWUfNfEFi9NlQoyT7+t7Sglz+RVtoetXtGn9YhUpUqaahGaw8eb8kfRd7w9bTrOurW2VbGHUUFux5ZOGuuHVJ5lFyS8F0NjDi1PbT5ux537Zp59wtq3EPDm2lbXlSdH/kVvbg17n0+GD03R+N6F5FQv7edpU/eWZU3+aOKjw/Hd9hG9baLHC9n5Hs1XbKdSFWCqU5xnCXSUXlMo67Ss7mwlm2qThnnhdH8Deoay4zjTuqag5SUVOHTL814AcoLAwIpCYwAliKZLQEiZTEwIYmUxMCWIolgSJlMTAliZTEBImMTKjbQwGgBDQhkUxiGA8DAEAYHgBgCGAwABhgAwPAIaWeS6gbdjQi815rlHlFPxZnlVUnz55HUSo0o0ovG1ff4mrObxkoyucds5J8o9RQl3mWn7K8TUrQdw42ybUKlVzqNcvYik2vi2kbqcduIJKK8ugBklvAEyYGOfUhr5Fzl5kKXPARiqw5eHQ1pW6kvxN2eMPq8kJLxA42paKLylnzFSo8sw5yXgzfnjrjJqzShPfCSjJeD6MAhUp1t8FzdNqLXk+uDqfE15s1VWlN47i3+sSx4ty2r5JP5nOXN1G01GlcRzGncyVKtF/s1EvZfuayvgjpvE1ynxld08+y9Jg/j3mfzCu8cP6l+ktPhKTzUh7MvXyZyZ0XgfUk72rRUswlOUfvePwO9ECEVgTARJTEwJYmimiQJYmUycASxMpiAlklMTAliKYgJEUJgbSGCGAIaAaABoEPAAkMEMoMDAZAIYAgHgAGgAy26zXpp/vIxpGW2X6+Ho8gXd12qj6YNKpeRgmpSWVnqZLhbpvr5nHXdrJxe188ey/NeRRsaXeR1KuoYfd0YZqJ/tzb5L3LDfyOZck/I6Twxd1bfUriyqyblOWU312rng7cqifJAW5epMmTKWF4/Axzqeq5BCqT6vnyMdKq5fAwXFwop8yLSru5gcj4MxSSz5/ArfmGUYZ1MLqwJqSXmcfd14wi8+XiZrittTeDqmv61G3pyTePQDjOKNejRtbqlCTVSFN1afvi1Jx+SyvJo6lqvESvuItTv6HOP1Sla08/vy2v8ABNnF8QapWrwrXKSm1GVOnFvCk5ezz92c/A4zTLetcxhSotvLe2b5bm+Uqj9XjCXgkRXfeBLpxvYy3ew6sacG/wBrHV/M9hZ4TYVvqCpVbf7NKSp0F+88pyn9x7rTqKtTjUj0mlJfFZAAGDQEiaKYmgJZLKEwJZLKaEwJZLKYmBLEMQEiZTEwJYihAbSKQkMAGgGgGhiQ0AxoQwGMSGADAAGNIRQAZ7ZYc5/ux+9mA4rX6mqUaVOpp2o0rVZxKlUtY1Y1H5ttprC8ETLKYzdZYYXPKYxytSLlnHvT8jWrtKDTwl6/ss4u11fVIwX1ulY12usqW+k/k9xi1DiS3p05KrTr0WlhtJTj/H7jznY47+Xrl1eWfh13UtUpWXE9Cp9Y7qcqdSEIpZdSbwlFevNs7tb36pU6cbnFKptTcG+aPM9I1J6px5ThpytateFpVqRqyTfcNyispeEmsr5nfLXRKlOo5V7h17mpyb8IntLt4WWeq3LrWIJpxUowxlSfLcYLm+nC1pVZZUquWsvojWuqKvNcVtTX6umlTXuXUNdkqmqULSmlsppLCKi/bnBTm8ZWUbNl0z45LuqeynGKSWFjBFD2YZ5dcEHI1JYoNt9EaKq5pTllvbBvGTbuGladVg421mpU6kcvowOGpanK7UefKT6HQeJtRV/qFWnRcowpycJbvFp/gdn0us6Oo3VnJ/zdRuK9GdE4kzZa3eR5c6jl8+YquscTX1D6zS06G7vaP6yXk1JY+J2HRaGLCCWIOovan4xj4/HwR0jXr1S1ii6sYr2GlPzWeh3vS9Rt6FhTzSrVHtXJYj97MLnjj81njx5Z/tm3IWlnUu6nfd26dCnHbSjjw8z13he7+uaFazbzOEe6l748v4Hhz4xrTnGFHTaUYvlmrVcn8kj2LgC0qW+iOtUuKVaNzU72EadNwVNYSw+by/XkMc8cvUXPiywm8o7IIoRk8ywSUxMCWSymJgSyWUxNASySmSwESymJgSxFEgITGJgbaGCGADQIYDQxIYDGhDAYAhgAwGAIYhgBoavHdTp8+jbOQOP1WSSjnwR49j+Otjq/yxxuFtydT4lr4t5vPXJ2G6vI0aUot82sI6ZxNdpw2o5c91256m1cH6NLTOJtH1OMtsdUsa6qP1p1cL7mj1uChb0p1Fzai3lnTFpc6NDg1r2Y0qVSNR+W6Cl+J2a5lG2tGsPEn4s7OE1jI+f5LvK1raDSUr24up89uXlmnafyzWatZ5aUuTwchav6tpVSo+UqjNfRqezL/afPmZvNvXmMLPXy8TWbcKcEusp9DYvGnlY9TVqyfe0cvOHyIN66f8mx0eDh7Oqo15wz1XmcnezxQXg5Z+R1ylW2XvLx6Adc1ao9P4yUm8QuIrPvOq9oVPbqUa6fKpBPK9DsfaJGVG6s7yPVM6/xfL6/pVG4jluHUVY6PU0CWp6Nret+1t0qVrGP/wC2o0/uX3nZdMp79PpPHgjmeDdFnedlnHE2sqvCDp++lHf/AAOO0LE9Mpvw2pml2viV0+hfdjiLe3xeQptct7j957/wVS7nh22p+KyeGX9N0brvorPNSPcuCq6udAoVI9Hz+5DrXdO9NSOdEMDccxIihMCWSUxMCWSUxMCGJlMlgSIolgJiY2JgJiY2JgbY0IYDGhFIAKQkMoaGJDRAwQDQANAMAGAABxGp1VUr92nlRXM5dvEW/JZOt1KnKUn1k8s1O3lrGY/23elhvK5f06lxXqLsZx9pZk84XgjrNGU9c1S1s4v2q9WNP5vn92TluLqTuZTcfacp4+/kZ+CdLp0OOranKUJTo0alWUY89klHCz68zW4cZbHQ5s7jhXqGo29P6pFxS22zU4eiXLHyNO7lO8uYW8Iy2xWWzlasVOjOD6NNGva28KG6Tm5ylzlLodVwmrqslTpU6EekY8/InTYtU859l9Wa19Vde48svlk5G3iqVJRSxyCMdZOUm3jGfmaNTdK9pxz0fRHIzkk8vPLqcYpN3Dn4t8gNy+m+7yvBYOpSrOOowWW3nLO0XrxS9y5nS3PdqlR5xzAxcf0FV0ndjnFpnTaFZXWl1KEuuDv3EUVdaXVT6OGFhcjzSzm6NedPz6Eqx6z2V6Ov9gpWtWCUb2pcRf8AWjJbE/uPItLqzsLeVpVWKlCTpST8HF4f4HtnZpqKvOGadu+VSyqSotf1ftRfyf3HlGpWtGvx7r1CSxGN/V2rw+1nBr9ifbtu9PLWdjfo6SrmzVaazy6Y6HbeyrVUqV3o1WX6y3e+CfjH/wBjWt7aNPTpRfXb8Dh+Dqvccf0FDkqlOcWvPkanBlrON7s4+fFd/h7CAAzpuITEMQCJZQmBJLKZLAliZTJYEsTGxMBMT6DYgJEMQG2ihIaAYxIYDQ0IaAoaEMAGCABoaBDABiGBFZpUpt/us6hK6pyhKMnzjJrqdsvJbLSq/wCqefTnGdSbbfXcjn93L3I6n0/HcyrhtYqLdKal0lle/JyHZpQ3cTV62M7bWbb9ZSijhtTzOvtX2U2kvzOydlclUv8AUWvChTX+dmPW/dHt3PXHXoNaWEorqzBdT7m3cY53S5LBU5N1JTfKCeMs1LjdXnzXLPJPwR03FYLSlurb2+nryRvt56tsihBQioqmkl6jlNJvnheSCMdZqMXj8TjYP9cuXz5G3c1X08TUp4jPvJS6eoFajVapPmm2dRlHZWlLKyzsmoVt/JLOPU69XWaqXrySAzXz32koYXJPnk8z1GDtL6T5ezLw8j0C4uI4lDEuazlvB0vXqO64eElFrxeSVY7T2Va0rTiSenTninqFHEF/9yGZL5rcjjdYsnQ7S9ehjlO4VZe6cIy/M6hbalW0bU7K/hL27OtCqmv6rTx8so9E4mcZ9pmoSh9ipQt5w9U6awa3Pfsrd6s1yRyU33di8/unVeEa6l2hWST/AHvwOZ124nRspbG0sYwl4tHTuB68v94FlOUuk3H38jT4f3x0ef1xV9DAwA6rgkJjEwEyWUyWBLEymSwJZJTEwJZLKZLATF4DfQQCJZRIG4NCGA0NCQ0AykSigGhiQwGMQ0AxiGAwAANXVXt0+u302nm1WpKmlVgk30afQ9J1aG/TblLr3bfyPOKMd8J8llHN7s+6Ov8ATr9mTr2q3EKcK1RNbllL3s7T2NRc6WqXL6bqdNP/ABP+B0viahK0s0s531Op6R2R2TteEYXElh3dedX+6vZX4Mz6mPvad/LWOnI3PC15UuHcUOIr63hGTbp7Izjt8sMwyu9W0iTV5GFxQz7FzTTXwlH9l+vQ536xTpPE5ybbziCyRLWdOblGpUWejU44+46DkuG/TdW4kowi17mcha0HGlK6u2404rKUvEt6xpFnHNKFLl0UIpHA6rrlXVZKnGO2l4RzjIRleoO4qycW3HOct8jG67k8ZhLPmzFRp91btbYp+SZs2unQhT76rFSb5pZA176r3UMza6eZx1Kp3kpSWWkvB4MuqSdWrhPas5bz1NBXKhT2qSxl9UBilUjDvK1eD2LxlLCXxOp8Qa1bQUqjgoQ/ZS+1U/gjLxXqtSnVhSjGU6cY5UF0cvNnTK9lqWrV906VRRJWUcnwvN8TcRWWnVqNvQtr2q6Cqyhu2y2trnn4fE9K45s46dxrZ1KaahW06lBN+Pdtw/DB5losKui6jaznCVPuq9Oqml0cZJ5+R7N2o2qqVdHv4LKhVqUW1+7JKS/0nhzTeFbXXuuXF1LXbjNrNrOdmV70dS4OTXGmmJPMnWWX5tnbtdpRp2im14Pr4o4Ps2sVd8fW6jHNOg5VF7kso0uCfc6XZuuOvfgADqOETExsTATJZTJYEsTKZLAlkspiYEsllMlgJiY2JgSIYgNwYhgNFIQ0AIoSGA0MQwGNCGgGMQwGgEMBTgqkJQfSSa+Z5raqFC8rUanKTbj6HpZ5rrKVrrd3uXJVW8Y5/A0u5PUro/T792WLqvHlaMYRoxX8293xaPYNFs1pPDljaQWO4tqcP721Z+9s8a4loyuLuhKo+Ve5pweOmG0j2/U591SjBJ+1PaseSMupPttT6hfukatSagspJZ/afJmvXtrW8WKij7+mPiZasuSfP3M1akt79l7WbjnNSrw1SclKFeSXgmyI8P7JZ75e9Gac60X7E9y9DBKvVS9pSSAzfVKVulmpF4ecYNa/vUqbbqxfgkTKW/rJ/M19QglRSTy28Z8gOGuZzq7s1YeOOb8jgalWdGKjJxk4t88nM1e7juST+ZrSq28Z+3RjL4IDgbutbzcalRRcovK3FWt5d3lVQtaUY0l9qe32UjsEalnVfsabQm/VZN2EHKm96jb0kucY4RFdL1KhXlZ9/XwoyqKMMtRc1nwXkes8ebKnC9tWxiMK9CfuTTX5nm+vunewVOjHvMZb28lHl5s73qlw77swpVZc5d1Rz481NI8s/iz/AB78V1ljf9dF4ounKwjCU1LYly80zkuxK3lcX99dyScaUHGLxzTk1/A6vxXcKnbqMU+8wqePNY5nofYnaqlw/d18c6ldL5R/9zV62P3bb/dy1hp6IIYjfckMQ2SwESUICWSyiWAiWUyWBLJZTJYCZLKZLATENiYG4MQwKGhDQDQxIaAY0JDAY0IaAYxDABiGgA6BxRTU9auMfabWPkjv50Li60qW+t1LhNyjXhFxXr0a+77zV7c3g3uhZOX/AI6hxRHZToVXLnQqQrYX9WSbOe7We018F6vo9tT0+neq5oVLieazpuC3JLGE+uH1OM1vTqtxaPD6xkkvFp+B5/2xXFbUp8MVaicrqnp8rOvFfv059V6SUk/mYdPKe8a9vqPHfWcdvofSBsKqX1jQr6n60rmE/wAUjdpduXDNT+dpavRz13W8Zr7pHgvOnLu5Y3Lql4FOR0dOW+haXbNwZU+3qs6X/fWVSPL3qLNul2pcF117PEelc/CpOUPxSPm/evEPZl5MniPpuHGXCtx/N6/oss+V7BfizFea1o1aEVS1OwmvF072n/E+ZpUaT60qb98Ua9WlRjHEKVNefsomh9KK40h+1KtbT9HeU/4mN6loVBvdV0+P9u+p4Pmz6vRw33VP/CjG6VPwp01/dQ0afSlTizh+g/a1LRqf/wDdF/gaN12gcMU+X6a0b4VJT/A+d9qXhFe5Ck/UaNPXNZ4+0Kq9lK/0ya840Zv8Tv3C3EFnxH2eK3sruFXu7xW1Vxg4bF9vCTx4YPmDDqTUU+bPdez7hq+4W4YuaupTdGpeTjcO38aPs7Vn+s89PA1+fKY43/W11cLnnJ+I1eKZq8vVFbYxlJqEfLy/D7z0/secf9lakV1jdTT+SPIOIYSd/TinKbUs7U+iR7r2faPDRuFrSCy6lyndVG/3p8/uWEePVjZ79nw7GIYjccwCGICRMpkgSSUSwEyWUyWBLJKZLAliGxMBMljYmBujEhoCkNCQ0UMYhkDQxIYDGhDQDGhDQACAEAzrPF0FOvbLCyoS5vwy0jsx13iim5XNvJJZ7uSWenVHj2J/51s9T+WODdpTna4WF1bk+iPN+L9Ple1LmnCo5VZylVppr7PLov8A54nfpajSoWtXvJxjtfKOcts8vrahdVeMlGLlOLp1IRfPDfLJo4bl3Pw7OeMssy/LzmtTVOo1hpp4afmJe82eInXoa9d0rl5qOe5vzyjT6o6+OW5t8/nj45XFeIvxQbF5mKUaeec1n0MU2l0mVizSnGPLfz8jDUbbxldefMxQl7efIxU571PzzkmxnrVcrEei8TBlvxMsVmDMaivFgL4ifQrESJdAO69kfDkdZ4lV9c04ztNOxVal0lVf2I+vRy+CPatZcLi0U3PdTzvfPq/B/A8r7Ne807hDVL7nHvrjbSfnthhv5s7dwpqlPWOF7mc5vFCc7eT6vKXX3c0czn3lnf8AHb6mMw45/ddevk7jUaC+zJOpnn0wn/A+jdGedHsHjH8mp8v7qPnelVpXOt1KlLbGlHLTlzz4Nr15to+hOH5Oeg6dKTbbtqeX5+yj36800+9d3bkBMYjZaAENiAkQxASxMZLARLGxMCWSUyWBLExsTAliY2SwN5DQkNAUhkopAMYkNANDEMBjQhoBggABggABnXOOrOdbRnc0m1Ut5ZePGEuT/JnYyK1GncUZ0asFOnUi4yi+jT6oxyx8ppnx53DKZT8PDKu9TjGctymm4vPPK6J//PA4691G30m30d3FRwp22pVVUm+kYVqSSfwlTeTvnEnAWoWne1tMpq6obnOFOL/WQXXGH1x5o851vRp6pCdKvbtVYPLoVI+1Tl4NJ9feaUlwusvh2ryY82MuF9z24DtU4TvbBUNd/VTtqk+6cqc08J84tryfM6RGbcEbnEVTVtPa0m5vbipaQanTpOT2fBPpg46jPMDe4ZrHTk9jLy5LdaYpLm36k7mnzK6+JE3HOFk9HgvPJ4Na1knVqrxwmzPB5izk9B4eeo6BxFrEVJ/oqFs3h8kqlbY8ko0qX2GYpdcIy0/5tkJNvKKCFN9WYpcot9cGxLKSyzDNYyiUeu69X0Xg7gLTdPo6hRu9QlQT7qlJNb5LLlyfRNvn6EaXt4f7PLCl3spVtR3Xc88lBS8Pkl8zpnAvCtjqXeavqlWH1K2qqCtV9q5njOH5R5rPn0PQpaNqXGN13NrZVHHCUdkcRhHyS6JevQ0csZL4z/rr8WduPnfUk1HDaBQudSube1oxzcXc1Tjjltzy5fM+nKNGFvSp0aaShTioRS8ElhfgdL4D7OIcL1pX9/Vp3N7KChCKjmNBeOH4yfmd3Njjw1N1odjlmd1PwBDEejXBI2JgJiGSwEyWUyWBLExslgSyWUyWAmSxsTAkTGyWBvIpEoYFIYkNFDRSJQwKGICCgEhgMYkMBgJDAYAADPM/pBuVLgWnc0pSp1oX1KPeQe2W1qWVlc8dD0w82+kFDd2bV5fuXlu/va/MsHy9q97d31eNS8uatxOMVFSqycml5GCk9sX7jPqMM1INeMIv7jWXKEvcXWl3v5DMM3tllGZ9MmCryCMkX4+Z7p2S8FSuuxHjC5lTzW1qnVVD1jbxbi/jPd8jwmnLEcvoubPtPsy0p6T2e8O6dXp7ZRsKbqwa8Zpykn/jIPjWD3Ut3nzHCOTd1vTpaPq2oabNYdpdVaGP7M2l9yRqQTawZKUl4+CMFTqzPV8IoxVViTFRsaRqd7p1WcbO4lR79KM9qWWviuXvR7r9G+8r3l9xHO4r1a1Turdbqk3J43T8zwK0/pNP+0j3L6Msm9T4iXh3NF/55GOou7rT3sAAiAQxAJiYxMBEsbEwJYmNksBMllMlgSyWUyWBLJZTJYEsTGyWBvoaJRSAaGhIZRSGSUgGhoSGQMZIyigEMgY0IAGPIgAZ0Ht1o992Y6pjn3dS3qfKql+Z306v2o2n13s64hopZf1KVRe+LUvyLB8iV47+79KcTUmsQkcht3TS8oL8DRrrEX7zJWJc1gw1FmLXijL0Rjqcnn5kRynB+kviDibSdKS3fXLylRkv6rkt33ZPuN4y1FYj4JeC8D5N+j3pn17tOsajWY2dGtde5qG1ffNH1iQfJ3bfpf6M7S9XSWIXUqd3H+/BN/5lI6Qntiz2P6S+nd1xFo+opcrizlSb83Tn/CaPHJLkkZQRCOXuZjqrMmzNLktqMdZYXwAi2WK1KX9dfie6fRkpv69xHU8O7oR/zzf5HhtNbVRf9ZfifQH0ZbbFhxHdeErihST90Zyf+olHtYDEYhAAmAEsYgExMbJYCZLKZLAlkspksBMljZLATJY2JgSyRslgb6GSUA0UShoCkMlFFDGJMCChkjQFAIYDQyRoBjEADNXVbFanpd7Yvmrq3qUf8UWvzNocPtx96A+JoUZU61SnNNTpx2ST8GuTOMuV7LXjk7XxFBf7Ua80kkr2vhLw/WSOr3Xsy+J6X4GonmJjk88mVP2JZ8GY31x1MB7f9FywU9c1y+a/mbSnRi/WdTL+6B9FHiP0X7ZQ0jX7jHOVxRp590JP8z23JB5F9JHT1ccN6Re4/o95Km36Thn8YHzs3mTkfVPbjZ/W+zi/ljLt61GsvTE9r+6R8ryX7JlBEI7nuZjrvPyM0uijEwV8cl6FVbjijSfqfTn0e9NdjwBK5lHDvb6tVXrGOIL/AEs+ZanK0jNfs5Z9l8FafQ0rhDRbK3z3VOypNN9W5RUm/i5MlRzYgAxAJjEAmIbJYCYmMTAkXiMTAlkspksCWSymSwJZLLZDAlklMlgbyKRKGgKQ0JABQ0JDRQ0MQ0QNDECAoBDAYxAAxiABji/aj70IFyaYHyNxTT7viXiBeV/XX/mSOo3fN4O88cUu44u16j4y1Cu/83/udGu+U8M9L8DTnzWGRBYlllTftAujeOibMB9M/RstJUOCr64lHCuL57X57YRT/E9aOv8AAOhUeG+DdI0yivsW0KlRvrKpNKcm/i/uOfIOtdp1s7vs+1+lGLk1Zymkv6rUvyPkKryqSS8z7hnTp1oSpVoRnSmnCcZLKlF8mn8MnxfxTpn6F4j1PTVFxja3VWjFPwjGTS+7BliOLefAw1sLCRmWZZSRgnzaKNhrdYS9P4H2fwrLfwvo0vOwt/8ApxPjOgt1nVT8mfY/Bk9/B+hS89Pt/wDpolHMgAGITAAAkTGDAkQ2JgSIolgSxMbEwJZLKZLAlkspksCGSy2QwN1FEjAoYvAYDQxDKhoYkMimMSGA0MkYDHkQAMYgAYdQHD7cfevxA+Vu0KUbnjniCtB4pxvqiz65x+KOiagl9aqbecfA57jDUXLW9QjF5buq05Pzk5yOtupNv25JeO3B6UarTcsG/omnT1XVbTT6Scp3NaFFJecpJfmarSjOMvDPP3He+xS0o1e1HRoV47ownUqwX9eNOUov5rJiPrJQjTXdw+zD2V7lyQxDMQYPmP6Qeiw0vjt3dNrbqVCNy15TXsS+bjn4n04fPn0mLef6f0atj2ZWUor3qq8/6kWDx5/q7Zy8ZvCNfGTPeNRnGkulNYfv8TUqqcnujLkvDyMhv2WGu7zzkmvmfYPAUt/A/D8vPTqH+hHxjbV5U6kZeKZ9k9nNSFXgHh6dOSlF2FLDXuwSjsYABiEAAAhMAYCZJQgJJLJwBLJZbRLQEslltEsIhkstoloKhkMyNENAbaKRapj7sCEMvux92BCGX3Y+7AgZfdj2AQMrYPYUSBewNhBIF7B7AIAvb6BtAnBq6rdTsdLvbuCzOhb1asffGDa+9G7tNbVKPe6Xe02sqVvVjj3wkB8VOLrTlXrS3Tk90m/FvmzQu3mu36I5K4ymoYwkkcXdf0h+5GdEZysM9E7DqbrdpOiTisuKrOXwpT/iedeB6X9Hld52jWib+zQuJL/w8EH1LgMF7Q2mIk8a+khSpqx0G6lFOVOrXWfTbB4+aR7PtPGvpML/AIDosfO4rf6IlnyPnScnOTk+bbywx7EvcNoH9iXuMlTTjv5L7S6ep9TdgF5Vuuza1p1cv6rdV6Ec/uqSkv8AUz5YpvElg+ruwejGHZvZySx3lzcTf+PH5GKO/wCAwXtHtIMYjJsDYBjwIy7BbAMWBYMuwNgGFoloz92LuwMDQmjP3Yu7A12iWjZ7oXdegGs0S0bLpegnS9ANVoho23RJdEDf7ofdGzsDYBrqmPu/Q2NnoGwDX7sfdmfYGwDB3Y9hn2BtAw7A2GbaG0DDsHsMu0NoGLYGwzbQ2gYdobTLtDaBi2iqUu8pzh+9Fx+awZ9o4R9uPvQHw5qEO7uJxf7LaOHuv6RL3I7Brsdup3P/AHs/9TOvXX9Il8DOjG2emfR0We0q1/8Axrn/AKZ5k+h6d9HTH+8yxWcZtrr/AKZiPqvb6D2mTaG0gx7TxP6TcsafoEM9atxLH92H8T3DaeDfShrKM+HaOeey4nj4wX5Fg8BfUJfZl7gl1E/sy9xkqKa9pH1x2GQx2ZaW8dald/8AmM+SKX20fXnYbJT7MtLSX2KlxB/CrL+JijvG0e0ybQ2kGPb6BsMu0NoGLYGwy7Q2gYtgthm2htAw7BbDPtDaBg7sXd+hsbRbQMHdh3Zn2htA1+7E6RsbQ2ga3degnS9Da2BsAz4DBQATgMFABOAwUAE4DBQATgMFABOAwUAE4DBQATgMFABOCqa/WQ/tL8QwVSX6yH9pfiB8R8RR/wCJXLX/AD6sflUkdYuv6RP4fgdr4hj/AMR1OOMOnfV17k6kjqd1/SZmdGNvkeh9gtfuO1HQVnHeOtT/AMVKf8Dztvkdz7H63c9qPCz6ZvoQ+cZL8zEfZ6XIeBpckPBBOD55+lNSf6W4dqOT2u1rxS9VUi/zPojB4H9Kmi9vDVbw/lMP+mywfP0g/ZfuBoH9l+4yU7SO6vBeGcs+r/o91HV7MrbP7N7dL/On+Z8pWnsqpUfhF/efUf0aqvedm84f8vUq6+agyVHqeB4GBiDAYGAE4HgYALADDICDAxAGAwAZAWAHkQAGAAAwLA8iyBmGJMAGAZAAAQwAAAAAYAAAAAAAAAAAIqn/ADkP7S/ERiurhWlpXuZPCo0p1X/di3+QHxXq0u81nV4Np7rmu8p5y1Ukzqd0/wCUVPec9Go3V7+XWctz9c9fxOv33s3laPlJozoxtnaeyucn2l8LyhFt/pOh/qOqKEp+h6D2FWCu+1fh6O3Ko1alw/7lKb/HBiPskeASAgWDxL6UtDdoPD9f9y8rQ+dNP/0ntuefieR/Saod5wLY1sfzWpQ/zU5osHy8yZfZZkaIcc8jJVN93bY8Zs+lvovVt/BGqUv+XqbfzpQ/gfMlWe6oorpHkfR30WKv/AuIaH7t5Rnj302v/SSo9wAWQyYh5DIsiyBWQyTkWQLyGSNwZArIZI3C3AXkMkbhbgMmRZMe4NwGTIbjFvDeBk3BuMW8NwG6AAAwEMAABgIYhgAAAAAAAAAAAANAI4Pjy7+o8E6/c7tuzT62H6uLX5nOnSu2ejcXHZbxHC2zv+rRk8ddiqQcvuTLB8j17mhB7e8SS5HF3KpVLmpUUk9zzn4F1bCTbypNmpXsnSSack35czKjNtjjkes/RlsHc9o9a6xmNnp1aefJzlGC/FnjsFUXqfRP0UtMXd8R6tLq3Qs48v7VR/8ApJR9AAJsWTEM8z+kVRVTsxuKj/7G9tp/5nH8z0ts6D262VTUOynXoU4uUqMKVxheUKkW/uyWD47qXiT9mOSPry6OLizNChFeGQr0FUpyTWOWc+Rl7GKFxHPgfQv0WK0ZU+JKafjbS/6iPnONpPwZ9D/RU065oUOI76cf5POVvQhLznHfJ/JSj8zEe/5DJG4W4gvPwE5epDkJzAvcLcY94nMDLuFuMO8W8DNvFuMLqeqFvAzbgczDvFvAzbxbzC5huAyuYbzDuHkDLvFvMeR5A5YeAAAwAAAxAMAAQAMBAAwAQDAAAAAQFGG8tKGoWlezuYb6FxTlRqR84yTT+5mQUpRjFyk9sYrMm/BeLA+KeKNBuOGNZvdIuoVO9tqsqaex+3FN4kuXRpZydcuZPduw9uOXI9C7Qr+fFHFl9K0m7hVq0qtWUpy/U08+zFtclmKSUUspL1On6jR2T7twpvm3hZ5/NjzZeLg3W588M+xuxPhN8I9n1hSrx23l/wDy+4WPsymltj8IKPxyfL3CGi2NzrFGtfUHVtKFSE6tPdhSipLK9zXL4n205JP2ViK6Y6YG9sbDeAwiHMl1PUDI2a93RoXltWtbmmqtCtCVKpTl0nCSw18UxusvMl1QPjPj/g+vwLxPd6PUcpUIPfbVX/2lGXOEvfjk/VM4HuKkoOSpzcX+1jl82fQ3a/Tt9T4jp06tvSqTsrWDg5RTftNyZ41r9KW/lGFSTk4x3S/Ly8x5spHV4ZmsRhJvGcY5s+w+y3QYcMcA6PYqKVWdBXNdr9qpU9p/LKXwPk+WmztbelcN5t44jVnClulRXhNL0Z792Wa3WoaBD6ptq0beEqlWzpPMa1GOHUqUfKpDcpOPScJLpKOW3tLHrjqCdQ11UUoqUZKUWk1JdGn0YnPHiEZ3PnyYnUNd1fUnvSDZdQnejX3NjWWBmcxbyFFspQYBuHnIbCtgEYyPGC9gbSiMPzGi9g9gEYDBe0e0CMDwVtHtA5QAGACAMgABkMgAACAYgDIAABhAGQyLINoB5Anehb0BR5t2pcaYsq3D+kXeyvWzTvLimsujDxhB9N76N89q9enauNdclofDd5dUakadxKKpUHJ/ty5cvXGX8D511TiG2hTdOorqNxJ4yklBerfVktWRNd2WkadK2tadGinnK6yk/Ft+L9TpGqfrZZUunNNGbWL1UbvH1t14eLpZ/M1Z3dOulGhSmkus5+RjpntyGnanT0lQoOl30t0alVp4i/FJv7+R9e/pWFSEZRTxJJpe9Hx3YaDquv6lOnQpKnTlLEZ9fZ8Gkup9O6HLVLihTVzbxppRUc+LwsGUYV2R6g30TBXFSfgFvaUopOc+ZuQVvHo8lRgiqj6mRQkZ99NfZQpVH4YQHhPa1qztONqlOtQUqVK3pLdTyp7XHLz54fToed3VvCVzc1dyrKsm6c+iUeqSXr1Z7f2j9mFzxVfy1jTb6FO8dOMJ0K6xCaisLbJfZePNNe48b1fS9Q4bvoWOpxoQvreCjVp0JqSjn2lh+PstZx4mNjLGtHQrpUasqVRQcXlNS8fQ7bwVPTuHNRnSuKUq+i3T3ztm3m2qc0qlNpp4xKUZR8Yya59DpV3Usa1ZunOvQkk25zXj5JING4khbVJUrr61W/dcJLHxyFr6po31O4owq0JwnSnFOEofZcfDHoWpzn0POexzXKWoVrvTK09mYqvRpOWcYeJY8uqeD1ylb0Y+CKwcbGjUl5maNrJ+ZycYU10SKUY+RRxytPQuNs16m/heQYQGmqBXc46mzyBpeQGuqQ+69DPhC5eQGHuw7szYQAYe7DYZWIDHsDYZMiAjCDb6Fg0UbgE7gyQUBGQyBQZJACsoW4WAwA3MNwsAAbmDbDIsgAhhgCRPkVgW3IHXOOeHq3E/D1WxtqsKdxGSq0e8eISks+zJ45J5fPwPmDizQeItAuprVeHtSt4p8qtOKqUn6qceTR9gunkXdJ59eoHwjXv6VZ4lCupesFn8TsXDPBnEnFUo09M0W7q0spO4uKfdUYrzcpcvlln2NLTLWUtzt6Ll592s/gZPqsOWV06DRt0LgngK34W0u3t5qFxdRgu9qqOFKXjj0O2RoTS5ROTjRhHwRW1eCA4xUZ/usfcz8jktotiA49UZh3c/CTN900S6aA0JKojyntM7MNT1/VK2taPVo161WMe8tas1TeYxSzCT5c0lyePeexukiHQi+sUB8d6tw1xPo1SSveGdYpvPOSo74v3SjlM4u203W72uo23D2r1ajfJQoSz/AKT7XVCMfsxS9xSi1+1L5jRt4f2R9nnE1jfx1bWbWWmQjBxhSqTTqyz4tLoe3QWIpdSlHBSfoBPMabK3LyDK8gFufmPew5BhAPew3+gtvqLaBW5BuROGJpgZMoMmJ5DLXmBkBmPcG9gXyETvDcBQhbg3AbQyRgMBBgB5FkMDwAh8wwPACDA0h4An4MMFYABYDAwKFgYZAgBDEyhPoJjABAMQAIYvgAIWBr4jaz4EEtZEoJLGMFYYbSiHEW0yYDAGNxFtMuBYIMLi0/QRmaI9nPUCMPxAv2fNCwAshuYNBgB7g3E4FgCsoHggMgU0LAt2BbgHjAg3BnICYZDIMo//2Q==","prompt":"TRY-ON: The person of image 1 wearing the garments of image 2."},"properties":{"garment":{"description":"Image of one or more garments (maps internally to input_image_2).","type":"string"},"output_format":{"$ref":"#/components/schemas/BFLOutputFormat"},"person":{"description":"Person image (maps internally to input_image).","type":"string"},"prompt":{"description":"Text prompt for VTO generation.","example":"TRY-ON: The person of image 1 wearing the garments of image 2.","type":"string"},"safety_tolerance":{"default":2,"description":"Tolerance level for input and output moderation. Between 0 and 5 for public use.","maximum":5,"minimum":0,"type":"integer"},"seed":{"description":"Optional seed for reproducibility.","example":42,"type":"integer"},"webhook_secret":{"description":"Optional secret for webhook signature verification.","type":"string"},"webhook_url":{"description":"URL to receive webhook notifications.","format":"uri","maxLength":2083,"minLength":1,"type":"string"}},"required":["prompt","person","garment"],"type":"object"},"BeebleAlphaMode":{"description":"Alpha mode: auto, fill, custom, or select","enum":["auto","fill","custom","select"],"type":"string"},"BeebleCreateSwitchXRequest":{"description":"Request to create and start a SwitchX generation job.","example":{"alpha_mode":"auto","generation_type":"image","max_resolution":720,"prompt":"A cinematic product photo of a glass lamp on a marble table","source_uri":"https://img.freepik.com/free-photo/portrait-woman_395237-33.jpg?w=740\u0026q=80"},"properties":{"alpha_mode":{"$ref":"#/components/schemas/BeebleAlphaMode"},"alpha_uri":{"description":"URI of a custom alpha matte. Required when alpha_mode is custom or select. Ignored for auto or fill.","nullable":true,"type":"string"},"callback_url":{"description":"HTTPS URL for webhook notification on completion or failure.","nullable":true,"type":"string"},"generation_type":{"$ref":"#/components/schemas/BeebleGenerationType"},"idempotency_key":{"description":"Idempotency key for safe retries. If a job with the same key already exists for your account, the API returns the existing job's status instead of creating a duplicate.","maxLength":256,"minLength":1,"nullable":true,"type":"string"},"max_resolution":{"default":1080,"description":"Maximum output resolution: 720 or 1080 (default: 1080).","nullable":true,"type":"integer"},"prompt":{"description":"Text description of desired output (max 2,000 chars). At least one of prompt or reference_image_uri is required.","maxLength":2000,"nullable":true,"type":"string"},"reference_image_uri":{"description":"URI of the reference image for style transfer. Accepts the same URI types as source_uri.","nullable":true,"type":"string"},"source_uri":{"description":"URI of the source image or video. Accepts beeble://uploads/{id}/{filename}, https URLs, or data:{mime};base64 URIs (max 50 MB).","type":"string"}},"required":["generation_type","source_uri","alpha_mode"],"type":"object"},"BeebleGenerationType":{"description":"Output type: image or video","enum":["image","video"],"type":"string"},"BeebleSwitchXOutputUrls":{"description":"Signed URLs for SwitchX job outputs.","properties":{"alpha":{"description":"Alpha matte URL.","nullable":true,"type":"string"},"render":{"description":"Composited output URL.","nullable":true,"type":"string"},"source":{"description":"Preprocessed source URL.","nullable":true,"type":"string"}},"type":"object"},"BeebleSwitchXStatusResponse":{"description":"Status response for a SwitchX job.","properties":{"alpha_mode":{"description":"auto, fill, custom, or select","nullable":true,"type":"string"},"completed_at":{"description":"ISO 8601 timestamp when the job completed or failed.","nullable":true,"type":"string"},"created_at":{"description":"ISO 8601 timestamp when the job was created.","nullable":true,"type":"string"},"error":{"description":"Error message (present when status is failed).","nullable":true,"type":"string"},"generation_type":{"description":"image or video","nullable":true,"type":"string"},"id":{"description":"Job identifier (swx_...)","type":"string"},"modified_at":{"description":"ISO 8601 timestamp of the last status change.","nullable":true,"type":"string"},"output":{"allOf":[{"$ref":"#/components/schemas/BeebleSwitchXOutputUrls"}],"description":"Output URLs (present when status is completed). URLs are signed and expire after 72 hours; re-fetch this endpoint for fresh URLs.","nullable":true},"progress":{"description":"Progress percentage (0-100).","nullable":true,"type":"integer"},"status":{"description":"Current job status.","enum":["in_queue","processing","completed","failed"],"type":"string"},"webhook":{"allOf":[{"$ref":"#/components/schemas/BeebleWebhookStatus"}],"description":"Webhook delivery status (present only when callback_url was provided).","nullable":true}},"required":["id","status"],"type":"object"},"BeebleUploadRequest":{"description":"Request to create a presigned upload URL.","properties":{"filename":{"description":"Filename with extension. Accepted: .mp4, .mov, .png, .jpg, .jpeg, .webp","maxLength":255,"minLength":3,"type":"string"}},"required":["filename"],"type":"object"},"BeebleUploadResponse":{"description":"Response with presigned upload URL and beeble:// URI.","properties":{"beeble_uri":{"description":"beeble:// URI to reference this file in SwitchX generation calls (source_uri, reference_image_uri, or alpha_uri).","type":"string"},"id":{"description":"Upload ID (upload_...)","type":"string"},"upload_url":{"description":"Presigned PUT URL for uploading your file. Expires after 1 hour.","type":"string"}},"required":["id","upload_url","beeble_uri"],"type":"object"},"BeebleWebhookStatus":{"description":"Webhook delivery status for a SwitchX job.","properties":{"attempts":{"description":"Number of delivery attempts so far.","nullable":true,"type":"integer"},"last_error":{"description":"Error message from the last failed delivery attempt.","nullable":true,"type":"string"},"status":{"description":"pending, delivered, or failed","nullable":true,"type":"string"}},"type":"object"},"BreezeBlueLocalizeRequest":{"additionalProperties":false,"properties":{"language_code":{"description":"Target speaking language.","type":"string"},"name":{"description":"Display name of the preview. Defaults to the source voice name.","type":"string"},"voice_id":{"description":"A catalog voice or one of the caller's saved voices.","type":"string"}},"required":["voice_id","language_code"],"type":"object"},"BreezeBlueRemixPrepareRequest":{"additionalProperties":false,"properties":{"preset_id":{"description":"ID from the remix presets.","type":"string"},"prompt":{"description":"Desired voice change. Required unless `preset_id` is set.","type":"string"},"voice_id":{"description":"A catalog voice or one of the caller's saved voices.","type":"string"}},"required":["voice_id"],"type":"object"},"BreezeBlueRemixPrepareResponse":{"properties":{"instruction":{"type":"string"},"language_code":{"type":"string"},"preparation_token":{"type":"string"},"source_voice":{"additionalProperties":true,"type":"object"},"text":{"type":"string"}},"type":"object"},"BreezeBlueRemixPreset":{"properties":{"category":{"type":"string"},"guidance_scale":{"type":"number"},"id":{"type":"string"},"language":{"type":"string"},"name":{"type":"string"},"preview_audio_url":{"type":"string"},"prompt":{"type":"string"},"script":{"type":"string"}},"type":"object"},"BreezeBlueRemixPresetsResponse":{"properties":{"example_voice_id":{"type":"string"},"presets":{"items":{"$ref":"#/components/schemas/BreezeBlueRemixPreset"},"type":"array"}},"type":"object"},"BreezeBlueRemixRequest":{"additionalProperties":false,"properties":{"guidance_scale":{"maximum":10,"minimum":1,"type":"number"},"preparation_token":{"description":"Token from Voice Remix Prepare.","type":"string"},"preset_id":{"description":"ID from the remix presets.","type":"string"},"prompt":{"description":"Desired voice change. Required unless `preset_id` is set.","type":"string"},"voice_id":{"description":"A catalog voice or one of the caller's saved voices.","type":"string"}},"required":["voice_id"],"type":"object"},"BreezeBlueSaveVoiceRequest":{"additionalProperties":false,"properties":{"accent":{"type":"string"},"age":{"type":"string"},"gender":{"type":"string"},"language_code":{"description":"Language of the saved voice. Omit it for clone previews to keep the language Breeze detected; a different value is rejected (422 VOICE_CLONE_REFERENCE_LANGUAGE_MISMATCH).","type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"tone":{"items":{"type":"string"},"maxItems":3,"type":"array"},"voice_description":{"type":"string"},"voice_name":{"type":"string"}},"type":"object"},"BreezeBlueSavedVoice":{"properties":{"accent":{"nullable":true,"type":"string"},"age":{"nullable":true,"type":"string"},"created_at_unix":{"nullable":true,"type":"integer"},"description":{"nullable":true,"type":"string"},"gender":{"nullable":true,"type":"string"},"language_code":{"type":"string"},"name":{"type":"string"},"origin":{"type":"string"},"preview_url":{"nullable":true,"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"tone":{"items":{"type":"string"},"type":"array"},"voice_id":{"type":"string"}},"type":"object"},"BreezeBlueTTSRequest":{"additionalProperties":false,"properties":{"instructions":{"description":"Free-form delivery instructions for the voice.","type":"string"},"language_code":{"description":"Language of the text (e.g. `en`, `zh`).","type":"string"},"model_id":{"description":"The BreezeBlue model to synthesize with.","enum":["breeze-tts-2","breeze-tts-2-multilingual"],"type":"string"},"text":{"description":"The text to convert to speech.","maxLength":1000,"minLength":1,"type":"string"},"voice_settings":{"$ref":"#/components/schemas/BreezeBlueVoiceSettings"}},"required":["text","model_id"],"type":"object"},"BreezeBlueVoiceCloneRequest":{"properties":{"description":{"description":"Description stored with the clone preview.","type":"string"},"files":{"description":"One reference audio sample, at least 3 seconds and at most 5 MB.","items":{"format":"binary","type":"string"},"maxItems":1,"type":"array"},"name":{"description":"Display name of the clone preview.","type":"string"},"reference_language_code":{"description":"Set `zh` for Chinese reference audio. Omit it for automatic language detection.","type":"string"},"remove_background_noise":{"description":"Remove background noise from the sample first. Defaults to false.","type":"boolean"}},"required":["files"],"type":"object"},"BreezeBlueVoiceCloneResponse":{"properties":{"generated_voice_id":{"type":"string"},"requires_verification":{"type":"boolean"}},"type":"object"},"BreezeBlueVoiceDesignPreview":{"properties":{"audio_base_64":{"type":"string"},"duration_secs":{"type":"number"},"generated_voice_id":{"type":"string"},"media_type":{"type":"string"}},"type":"object"},"BreezeBlueVoiceDesignRequest":{"additionalProperties":false,"properties":{"guidance_scale":{"maximum":10,"minimum":1,"type":"number"},"language_code":{"description":"Language of the preview (e.g. `en`, `zh`).","type":"string"},"model_id":{"description":"The BreezeBlue model, `breeze-tts-2` or `breeze-tts-2-multilingual`.","type":"string"},"preview_count":{"description":"Number of previews to generate. Defaults to 1.","maximum":3,"minimum":1,"type":"integer"},"text":{"description":"Preview script. BreezeBlue writes one when it is omitted.","maxLength":500,"minLength":3,"type":"string"},"voice_description":{"description":"Text description of the voice.","maxLength":500,"minLength":3,"type":"string"}},"required":["voice_description","model_id"],"type":"object"},"BreezeBlueVoiceDesignResponse":{"properties":{"previews":{"items":{"$ref":"#/components/schemas/BreezeBlueVoiceDesignPreview"},"type":"array"},"text":{"description":"The script the previews read.","type":"string"}},"required":["previews","text"],"type":"object"},"BreezeBlueVoicePreviewJob":{"properties":{"generation_job_id":{"type":"string"},"status":{"type":"string"}},"type":"object"},"BreezeBlueVoicePreviewJobStatus":{"properties":{"comparison_audio_url":{"nullable":true,"type":"string"},"comparison_text":{"nullable":true,"type":"string"},"error":{"additionalProperties":true,"nullable":true,"type":"object"},"generated_voice_id":{"description":"The preview to download or save, once the job is `ready`.","nullable":true,"type":"string"},"generation_job_id":{"type":"string"},"guidance_scale":{"nullable":true,"type":"number"},"instruction":{"nullable":true,"type":"string"},"language_code":{"nullable":true,"type":"string"},"source_voice":{"additionalProperties":true,"nullable":true,"type":"object"},"status":{"description":"`admitted`, `queued`, `running`, `ready`, `failed` or `cancelled`.","type":"string"},"text":{"description":"The script the preview reads.","nullable":true,"type":"string"}},"type":"object"},"BreezeBlueVoiceSettings":{"additionalProperties":false,"properties":{"guidance_scale":{"maximum":10,"minimum":1,"type":"number"},"speed":{"maximum":2,"minimum":0.5,"type":"number"},"use_speaker_boost":{"type":"boolean"},"volume":{"maximum":2,"minimum":0.01,"type":"number"}},"type":"object"},"BriaAddObjectByTextRequest":{"description":"Request body for Bria Add Object by Text API","example":{"image":"https://img.freepik.com/free-psd/close-up-delicious-apple_23-2151868338.jpg","instruction":"Place a red vase with flowers next to the pie"},"properties":{"image":{"description":"The image to edit. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"instruction":{"description":"A text instruction that describes the object to add and its position (for example, \"Place a red vase with flowers on the table\").","type":"string"}},"required":["image","instruction"],"type":"object"},"BriaAsyncResponse":{"description":"Asynchronous response from Bria API (202 Accepted)","properties":{"request_id":{"description":"Unique identifier for the request.","type":"string"},"status_url":{"description":"URL to poll for the result.","type":"string"},"warning":{"description":"Optional warning message.","type":"string"}},"type":"object"},"BriaEraseByTextRequest":{"description":"Request body for Bria Erase by Text API","example":{"image":"https://img.freepik.com/free-psd/close-up-delicious-apple_23-2151868338.jpg","object_name":"the pie"},"properties":{"image":{"description":"The image to edit. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"object_name":{"description":"A text description of the object to remove (for example, \"the lamp\").","type":"string"}},"required":["image","object_name"],"type":"object"},"BriaEraseForegroundRequest":{"description":"Request body for Bria Erase Foreground API","example":{"image":"https://img.freepik.com/free-photo/portrait-woman_395237-33.jpg?w=740\u0026q=80"},"properties":{"image":{"description":"The image to edit. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"preserve_alpha":{"description":"Controls whether partially transparent areas from the input image are retained in the output.","type":"boolean"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_input_content_moderation":{"description":"When enabled, applies content moderation to input visual. Returns 422 if the image fails moderation.","type":"boolean"},"visual_output_content_moderation":{"description":"When enabled, applies content moderation to result visual. Returns 422 if the output fails moderation.","type":"boolean"}},"required":["image"],"type":"object"},"BriaEraseRequest":{"description":"Request body for Bria Eraser API","example":{"image":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg==","mask":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAB+klEQVR42u3TMQEAAAzCMPyb3l4c8CQa2gQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJg7phRoAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwABI0AAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAeuAhLMg9zyQgAAAAASUVORK5CYII="},"properties":{"image":{"description":"The image to edit. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"mask":{"description":"The mask defining the area to erase. Base64-encoded string or URL pointing to a publicly accessible image file. White pixels (255) mark the region to remove, black pixels (0) are preserved.","type":"string"},"mask_type":{"description":"The type of mask provided, either \"manual\" (default) or \"automatic\".","type":"string"},"preserve_alpha":{"description":"Controls whether partially transparent areas from the input image are retained in the output.","type":"boolean"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_input_content_moderation":{"description":"When enabled, applies content moderation to input visual. Returns 422 if the image fails moderation.","type":"boolean"},"visual_output_content_moderation":{"description":"When enabled, applies content moderation to result visual. Returns 422 if the output fails moderation.","type":"boolean"}},"required":["image","mask"],"type":"object"},"BriaErrorResponse":{"description":"Error response from Bria API","properties":{"error":{"properties":{"code":{"description":"Error code.","type":"integer"},"details":{"description":"Additional error details.","type":"string"},"message":{"description":"Error message.","type":"string"}},"type":"object"},"request_id":{"description":"Unique identifier for the request.","type":"string"}},"type":"object"},"BriaFiboEditInputs":{"anyOf":[{"required":["instruction"]},{"required":["structured_instruction"]}],"description":"The Bria FIBO edit fields, shared by the v1 `POST /proxy/bria/v2/image/edit` request body and the Comfy Router input schema for `bria/fibo`. See the note above this component for why the two surfaces share properties but not `model_version`'s constraints.","example":{"images":["iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg=="],"instruction":"make the background light blue"},"properties":{"guidance_scale":{"default":5,"description":"Determines how closely the generated image should adhere to the instruction.","format":"float","maximum":5,"minimum":3,"type":"number"},"images":{"description":"The source image to be edited. Publicly available URL or Base64-encoded. Accepted formats JPEG, JPG, PNG, WEBP. Must contain exactly one item.","items":{"type":"string"},"maxItems":1,"minItems":1,"type":"array"},"instruction":{"description":"Text-based edit instruction (e.g., \"make the sky blue\", \"add a cat\"). Either instruction or structured_instruction must be provided.","type":"string"},"ip_signal":{"default":false,"description":"If true, returns a warning for potential IP content in the instruction.","type":"boolean"},"mask":{"description":"Optional mask image URL or Base64-encoded. Black areas will be preserved, white areas will be edited.","type":"string"},"model_version":{"description":"The version of the model to use. Comfy Router supplies this from the `{model}` path segment, so omit it there; the value Bria runs is `FIBO`, which the v1 route also defaults to when the field is absent. Not constrained to an enum on this half: Router writes the value in after the caller's body has been validated.","nullable":true,"type":"string"},"negative_prompt":{"description":"A text prompt specifying concepts, styles, or objects to exclude from the edited image.","type":"string"},"prompt_content_moderation":{"default":true,"description":"If true, returns 422 on instruction moderation failure.","type":"boolean"},"seed":{"description":"Seed for deterministic generation. If omitted, a random seed is used.","type":"integer"},"steps_num":{"default":50,"description":"Number of diffusion steps.","maximum":50,"minimum":20,"type":"integer"},"structured_instruction":{"description":"A string containing the structured edit instruction in JSON format. Use this instead of instruction for precise, programmatic control.","type":"string"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_input_content_moderation":{"default":true,"description":"If true, returns 422 on images or mask moderation failure.","type":"boolean"},"visual_output_content_moderation":{"default":true,"description":"If true, returns 422 on visual output moderation failure.","type":"boolean"}},"required":["images"],"type":"object"},"BriaFiboEditRequest":{"allOf":[{"$ref":"#/components/schemas/BriaFiboEditInputs"},{"properties":{"model_version":{"default":"FIBO","description":"The version of the model to use.","enum":["FIBO"],"type":"string"}},"type":"object"}],"description":"Request body for the v1 `POST /proxy/bria/v2/image/edit` operation.\nIt composes `BriaFiboEditInputs` rather than restating its fields, and restores the one constraint only the v1 surface can carry. `model_version` is that constraint: this route has no path segment supplying the model, so a direct caller names it here and `FIBO` is the only value Bria's edit route runs, whereas the Comfy Router route `POST /v2/models/bria/fibo` supplies it from the path and its input schema must neither require nor enum-constrain it.\nRead the note above `BriaFiboEditInputs` for the full rule and the guards that enforce it."},"BriaFiboGenerateRequest":{"description":"Request body for the Bria FIBO Generate API. Send one of these input combinations: prompt, images, images and prompt, structured_prompt, or structured_prompt and prompt.","example":{"prompt":"A red vintage bicycle leaning against a brick wall in soft morning light"},"not":{"allOf":[{"not":{"required":["prompt"]}},{"not":{"required":["images"]}},{"not":{"required":["structured_prompt"]}}]},"properties":{"aspect_ratio":{"default":"1:1","description":"Output image aspect ratio, one of \"1:1\", \"2:3\", \"3:2\", \"3:4\", \"4:3\", \"4:5\", \"5:4\", \"9:16\", \"16:9\", \"16:10\", \"10:16\", \"2:1\", \"1:2\", \"21:9\", \"9:21\", \"3:1\", \"1:3\", \"4:1\", \"1:4\", \"5:1\" or \"1:5\". Bria refuses the ratios from \"16:10\" onward with \"4MP\", with a refinement that sends both prompt and structured_prompt, and with images that have no prompt.","type":"string"},"images":{"description":"A reference image that inspires the new image. Publicly available URL or Base64-encoded. Accepted formats JPEG, JPG, PNG, WEBP. Must contain exactly one item.","items":{"type":"string"},"maxItems":1,"minItems":1,"type":"array"},"ip_signal":{"default":false,"description":"If true, returns a warning for potential IP content in the prompt.","type":"boolean"},"model_version":{"description":"The version of the model to use. Only \"FIBO\" is accepted; omit it to run the same model.","type":"string"},"output_type":{"default":"png","description":"Output image format, \"png\" or \"jpeg\".","type":"string"},"prompt":{"description":"Text-based instruction. Use it alone to generate a new image, or with images or structured_prompt to guide or refine the result.","type":"string"},"prompt_content_moderation":{"default":true,"description":"If true, returns 422 on prompt moderation failure.","type":"boolean"},"resolution":{"default":"1MP","description":"Output image resolution, \"1MP\" or \"4MP\". \"4MP\" improves image details but increases latency by about 30 seconds.","type":"string"},"seed":{"description":"Seed for deterministic generation. If omitted, a random seed is used.","type":"integer"},"structured_prompt":{"description":"A string containing the structured prompt in JSON format, from the result of an earlier generation. Use it with the same seed to recreate that image, or change part of it to refine the image.","type":"string"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_input_content_moderation":{"default":true,"description":"If true, returns 422 on images moderation failure.","type":"boolean"},"visual_output_content_moderation":{"default":true,"description":"If true, returns 422 on visual output moderation failure.","type":"boolean"}},"type":"object"},"BriaGenFillRequest":{"description":"Request body for Bria Generative Fill API","example":{"image":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg==","mask":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAB+klEQVR42u3TMQEAAAzCMPyb3l4c8CQa2gQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJg7phRoAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAANgAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYAAMYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwAAYwABI0AAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGwAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAGMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAeuAhLMg9zyQgAAAAASUVORK5CYII=","prompt":"a small green leaf"},"properties":{"image":{"description":"The image to edit. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"mask":{"description":"The mask defining the area to fill. Base64-encoded string or URL pointing to a publicly accessible image file. White pixels (255) mark the region to generate into, black pixels (0) are preserved.","type":"string"},"negative_prompt":{"description":"A text prompt specifying concepts, styles, or objects to exclude from the generated area.","type":"string"},"preserve_alpha":{"description":"Controls whether partially transparent areas from the input image are retained in the output.","type":"boolean"},"prompt":{"description":"Text description of what to generate inside the masked area.","type":"string"},"prompt_content_moderation":{"description":"When enabled, applies content moderation to the prompt. Returns 422 if the prompt fails moderation.","type":"boolean"},"refine_prompt":{"description":"When true (default), the prompt is automatically adjusted for optimal generation results.","type":"boolean"},"seed":{"description":"Seed for deterministic generation. If omitted, a random seed is used.","type":"integer"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_input_content_moderation":{"description":"When enabled, applies content moderation to input visual. Returns 422 if the image fails moderation.","type":"boolean"},"visual_output_content_moderation":{"description":"When enabled, applies content moderation to result visual. Returns 422 if the output fails moderation.","type":"boolean"}},"required":["image","mask","prompt"],"type":"object"},"BriaGuidedRemoveBackgroundRequest":{"description":"Request body for Bria Guided Remove Background API","example":{"image":"https://labs-assets.bria.ai/api-examples/guided-remove-background/yoga_studio_input.jpg","prompt":"the person with the mat and the plant"},"properties":{"image":{"description":"The image to remove the background from. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"preserve_alpha":{"description":"Controls whether partially transparent areas from the input image are retained in the output after background removal.","type":"boolean"},"prompt":{"description":"Optional plain words that change what the default cut keeps, for example \"the person with the mat and the plant\", \"the woman at her desk without the lamp\" or \"only the chair\". A missing or blank prompt returns the standard Remove Background cutout.","type":"string"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_input_content_moderation":{"description":"When enabled, applies content moderation to input visual. Returns 422 if the image fails moderation.","type":"boolean"},"visual_output_content_moderation":{"description":"When enabled, applies content moderation to result visual. Returns 422 if the output fails moderation.","type":"boolean"}},"required":["image"],"type":"object"},"BriaImageExpansionRequest":{"description":"Request body for Bria Image Expansion API","example":{"aspect_ratio":"3:2","image":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg=="},"properties":{"aspect_ratio":{"description":"Aspect ratio of the expanded canvas, either a predefined ratio string (\"1:1\", \"2:3\", \"3:2\", \"3:4\", \"4:3\", \"4:5\", \"5:4\", \"9:16\", \"16:9\") or a float between 0.5 and 3.0. When provided, canvas_size, original_image_size, and original_image_location are ignored.","oneOf":[{"enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9"],"type":"string"},{"maximum":3,"minimum":0.5,"type":"number"}]},"canvas_size":{"description":"Width and height of the expanded canvas in pixels. Defaults to [1000, 1000]. Maximum canvas area is 5000x5000 pixels.","items":{"type":"integer"},"maxItems":2,"minItems":2,"type":"array"},"image":{"description":"The image to expand. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"negative_prompt":{"description":"A text prompt specifying concepts, styles, or objects to exclude from the expanded area.","type":"string"},"original_image_location":{"description":"Position [x, y] of the original image's top-left corner on the canvas. Required together with original_image_size when aspect_ratio is not provided.","items":{"type":"integer"},"maxItems":2,"minItems":2,"type":"array"},"original_image_size":{"description":"Width and height of the original image placed on the canvas. Required together with original_image_location when aspect_ratio is not provided.","items":{"type":"integer"},"maxItems":2,"minItems":2,"type":"array"},"preserve_alpha":{"description":"Controls whether partially transparent areas from the input image are retained in the output.","type":"boolean"},"prompt":{"description":"Text prompt guiding the content generated in the expanded area. Auto-generated when omitted.","type":"string"},"prompt_content_moderation":{"description":"When enabled, applies content moderation to the prompt. Returns 422 if the prompt fails moderation.","type":"boolean"},"seed":{"description":"Seed for deterministic generation. If omitted, a random seed is used.","type":"integer"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_input_content_moderation":{"description":"When enabled, applies content moderation to input visual. Returns 422 if the image fails moderation.","type":"boolean"},"visual_output_content_moderation":{"description":"When enabled, applies content moderation to result visual. Returns 422 if the output fails moderation.","type":"boolean"}},"required":["image"],"type":"object"},"BriaImageRemoveBackgroundRequest":{"description":"Request body for Bria Image Remove Background API","example":{"image":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg=="},"properties":{"image":{"description":"The image to remove background from. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"model":{"description":"The background removal model. Accepted values are RMBG2 and RMBG3. Defaults to RMBG2 when omitted.","type":"string"},"preserve_alpha":{"description":"Controls whether partially transparent areas from the input image are retained in the output after background removal.","type":"boolean"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_input_content_moderation":{"description":"When enabled, applies content moderation to input visual. Returns 422 if the image fails moderation.","type":"boolean"},"visual_output_content_moderation":{"description":"When enabled, applies content moderation to result visual. Returns 422 if the output fails moderation.","type":"boolean"}},"required":["image"],"type":"object"},"BriaIncreaseResolutionRequest":{"description":"Request body for Bria Increase Resolution API","example":{"desired_increase":2,"image":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg=="},"properties":{"desired_increase":{"description":"Resolution multiplier to apply. Supported values are 2 and 4. Maximum output resolution is 8192x8192.","type":"integer"},"image":{"description":"The image to upscale. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"preserve_alpha":{"description":"Controls whether partially transparent areas from the input image are retained in the output.","type":"boolean"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_input_content_moderation":{"description":"When enabled, applies content moderation to input visual. Returns 422 if the image fails moderation.","type":"boolean"},"visual_output_content_moderation":{"description":"When enabled, applies content moderation to result visual. Returns 422 if the output fails moderation.","type":"boolean"}},"required":["image"],"type":"object"},"BriaProductHoldingRequest":{"description":"Request body for Bria Product Holding API","example":{"person_image":"https://labs-assets.bria.ai/api-examples/product-holding/person.jpg","product_images":["https://labs-assets.bria.ai/api-examples/product-holding/product.jpg"]},"properties":{"aspect_ratio":{"description":"Output image aspect ratio, one of \"1:1\", \"2:3\", \"3:2\", \"3:4\", \"4:3\", \"4:5\", \"5:4\", \"9:16\" or \"16:9\". Defaults to the aspect ratio of person_image.","type":"string"},"instruction":{"description":"Optional extra direction for this shot, for example \"Replace the paper coffee cup in her right hand with the can, logo facing the camera\". Send only the detail you want to steer, not a full prompt.","type":"string"},"output_type":{"description":"Output image format, \"png\" or \"jpeg\".","type":"string"},"person_image":{"description":"The photo of the person to edit. Publicly available URL or Base64-encoded. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"product_images":{"description":"One to three images of the product, such as packaging, a second angle, or a companion item. Each entry is a publicly available URL or Base64-encoded, same as person_image.","items":{"type":"string"},"maxItems":3,"minItems":1,"type":"array"},"seed":{"description":"Seed for deterministic generation. If omitted, a random seed is used.","type":"integer"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_output_content_moderation":{"description":"If true, returns 422 on visual output moderation failure.","type":"boolean"}},"required":["person_image","product_images"],"type":"object"},"BriaRelightRequest":{"description":"Request body for Bria Relight API","example":{"image":"https://img.freepik.com/free-photo/portrait-woman_395237-33.jpg?w=740\u0026q=80","light_direction":"side","light_type":"midday"},"properties":{"image":{"description":"The image to edit. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"light_direction":{"description":"The light direction, one of \"front\", \"side\", \"bottom\", or \"top-down\".","type":"string"},"light_type":{"description":"The lighting atmosphere to apply, one of \"midday\", \"blue hour light\", \"low-angle sunlight\", \"sunrise light\", \"spotlight on subject, keep background settings\", \"overcast light\", \"soft overcast daylight lighting\", \"cloud-filtered lighting\", \"fog-diffused lighting\", \"moonlight lighting\", \"starlight lighting nighttime\", \"soft bokeh lighting\", or \"harsh studio lighting keep background setting\".","type":"string"}},"required":["image","light_type","light_direction"],"type":"object"},"BriaReplaceBackgroundRequest":{"description":"Request body for Bria Background Replace API","example":{"image":"https://img.freepik.com/free-photo/portrait-woman_395237-33.jpg?w=740\u0026q=80","prompt":"A sunny beach with palm trees and a clear blue sky"},"not":{"allOf":[{"not":{"required":["prompt"]}},{"not":{"allOf":[{"required":["ref_images"]},{"properties":{"ref_images":{"not":{"enum":[null]}}}}]}}]},"properties":{"enhance_ref_images":{"description":"When true (default), extra processing of the reference images improves the result.","type":"boolean"},"force_background_detection":{"description":"When true, forces background detection and removal even if the input image has an alpha channel.","type":"boolean"},"image":{"description":"The image to edit. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"mode":{"description":"The background generation mode, one of \"base\", \"high_control\" (default), or \"fast\". Applies only when prompt is provided.","type":"string"},"negative_prompt":{"description":"A text prompt specifying concepts, styles, or objects to exclude from the generated background.","type":"string"},"original_quality":{"description":"When true, the output keeps the original image size. When false (default), the output is scaled to 1MP.","type":"boolean"},"prompt":{"description":"A text description of the new background. At least one of prompt or ref_images is required; Bria asks that you not send both, and a body carrying both is forwarded for Bria to resolve rather than refused here. A hex color code in the prompt (for example, \"#FF5733\") produces a solid color background.","type":"string"},"prompt_content_moderation":{"description":"When enabled, applies content moderation to the prompt. Returns 422 if the prompt fails moderation.","type":"boolean"},"ref_images":{"description":"One reference image or a list of reference images that guide the background generation, each a Base64-encoded string or a URL pointing to a publicly accessible image file. At least one of prompt or ref_images is required; Bria asks that you not send both, and a body carrying both is forwarded for Bria to resolve rather than refused here.","nullable":true,"oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"refine_prompt":{"description":"When true (default), the prompt is automatically adjusted for optimal generation results.","type":"boolean"},"seed":{"description":"Seed for deterministic generation. If omitted, a random seed is used.","type":"integer"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_output_content_moderation":{"description":"When enabled, applies content moderation to result visual. Returns 422 if the output fails moderation.","type":"boolean"}},"required":["image"],"type":"object"},"BriaReplaceObjectByTextRequest":{"description":"Request body for Bria Replace Object by Text API","example":{"image":"https://img.freepik.com/free-psd/close-up-delicious-apple_23-2151868338.jpg","instruction":"Replace the pie with a chocolate cake"},"properties":{"image":{"description":"The image to edit. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"instruction":{"description":"A text instruction that describes the replacement (for example, \"Replace the red apple with a green pear\").","type":"string"}},"required":["image","instruction"],"type":"object"},"BriaReseasonRequest":{"description":"Request body for Bria Reseason API","example":{"image":"https://picsum.photos/id/237/960/540","season":"winter"},"properties":{"image":{"description":"The image to edit. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"season":{"description":"The season to apply, one of \"spring\", \"summer\", \"autumn\", or \"winter\". Custom text is also accepted.","type":"string"}},"required":["image","season"],"type":"object"},"BriaRestoreRequest":{"description":"Request body for Bria Restore API","example":{"image":"https://img.freepik.com/free-photo/portrait-woman_395237-33.jpg?w=740\u0026q=80"},"properties":{"image":{"description":"The photo to restore. Supported input types are Base64-encoded string or URL pointing to a publicly accessible image file. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"}},"required":["image"],"type":"object"},"BriaStatusNotFoundResponse":{"description":"Response when request_id is not found or expired","properties":{"status":{"enum":["NOT_FOUND"],"type":"string"}},"required":["status"],"type":"object"},"BriaStatusResponse":{"description":"Status response from Bria API","properties":{"error":{"description":"Error object (only present when status is ERROR)","properties":{"code":{"description":"Error code.","type":"integer"},"details":{"description":"Additional error details.","type":"string"},"message":{"description":"Error message.","type":"string"}},"type":"object"},"request_id":{"description":"Unique identifier for the request.","type":"string"},"result":{"description":"Result object (only present when status is COMPLETED)","properties":{"image_url":{"description":"URL of the generated/edited image.","type":"string"},"prompt":{"description":"Original prompt.","type":"string"},"refined_prompt":{"description":"Refined version of the prompt, or null on a COMPLETED generation Bria did not refine. Nullable because the key is PRESENT carrying null rather than omitted; observed live on bria/image-edit-gen-fill.","nullable":true,"type":"string"},"seed":{"description":"Seed used for generation.","type":"integer"},"structured_instruction":{"description":"The structured instruction, a JSON document serialized as a string, that `/v2/structured_instruction/generate` returns. That operation fills neither URL.","type":"string"},"structured_prompt":{"description":"The detailed JSON structured prompt.","type":"string"},"video_url":{"description":"URL of the generated video.","type":"string"}},"type":"object"},"status":{"description":"Current status of the request.","enum":["IN_PROGRESS","COMPLETED","ERROR","UNKNOWN"],"type":"string"}},"type":"object"},"BriaStructuredInstructionRequest":{"description":"Request body for Bria Structured Instruction Generate API","example":{"images":["iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg=="],"instruction":"make the background light blue"},"properties":{"images":{"description":"The source image to be edited. Publicly available URL or Base64-encoded. Must contain exactly one item.","items":{"type":"string"},"maxItems":1,"minItems":1,"type":"array"},"instruction":{"description":"Required. Text-based edit instruction (e.g., \"make the sky blue\", \"add a cat\").","type":"string"},"ip_signal":{"default":false,"description":"If true, returns a warning for potential IP content in the instruction.","type":"boolean"},"mask":{"description":"Optional mask image URL or Base64-encoded. Black areas will be preserved, white areas will be edited.","type":"string"},"prompt_content_moderation":{"default":true,"description":"If true, returns 422 on instruction moderation failure.","type":"boolean"},"seed":{"description":"Seed for deterministic generation. If omitted, a random seed is used.","type":"integer"},"visual_input_content_moderation":{"default":true,"description":"If true, returns 422 on images or mask moderation failure.","type":"boolean"}},"required":["images","instruction"],"type":"object"},"BriaVideoEraseRequest":{"description":"Request body for Bria Video Eraser API","example":{"auto_trim":true,"mask":"https://bria-test-images.s3.us-east-1.amazonaws.com/videos/eraser/video1_mask.mp4","video":"https://bria-test-images.s3.us-east-1.amazonaws.com/videos/eraser/video1_video.mp4"},"properties":{"auto_trim":{"description":"When true, videos longer than 5 seconds are trimmed to the first 5 seconds. When false (default), longer videos are rejected.","type":"boolean"},"mask":{"description":"Publicly accessible URL of a mask video that defines the area to erase. White pixels mark the region to remove, black pixels are preserved.","type":"string"},"output_container_and_codec":{"description":"Output container and codec preset.","enum":["mp4_h264","mp4_h265","webm_vp9","mov_h265","mov_proresks","mkv_h264","mkv_h265","mkv_vp9","gif"],"type":"string"},"preserve_audio":{"description":"Whether to preserve audio from the input video.","type":"boolean"},"video":{"description":"Publicly accessible URL of the input video. Maximum duration 5 seconds unless auto_trim is true. Input resolution supported up to 750p; larger inputs are downscaled.","type":"string"}},"required":["video","mask"],"type":"object"},"BriaVideoGreenScreenRequest":{"description":"Request body for Bria Video Green Screen API","example":{"green_shade":"broadcast_green","video":"https://example.com/input.mp4"},"properties":{"green_shade":{"description":"The solid background shade applied behind the foreground for chroma keying. Defaults to broadcast_green.","enum":["broadcast_green","chroma_green","blue_screen"],"type":"string"},"output_container_and_codec":{"description":"Output container and codec preset.","enum":["mp4_h264","mp4_h265","webm_vp9","mov_h265","mov_proresks","mkv_h264","mkv_h265","mkv_vp9","gif"],"type":"string"},"preserve_audio":{"description":"Whether to preserve audio from the input video.","type":"boolean"},"video":{"description":"Publicly accessible URL of the input video. Input resolution supported up to 16000x16000 (16K). Max duration 60 seconds.","type":"string"}},"required":["video"],"type":"object"},"BriaVideoRemoveBackgroundRequest":{"description":"Request body for Bria Video Remove Background API","example":{"background_color":"Transparent","output_container_and_codec":"webm_vp9","video":"https://example.com/input.mp4"},"properties":{"background_color":{"description":"Background color for the output video. If Transparent, the output codec must support alpha.","enum":["Transparent","Black","White","Gray","Red","Green","Blue","Yellow","Cyan","Magenta","Orange"],"type":"string"},"output_container_and_codec":{"description":"Output container and codec preset.","enum":["mp4_h264","mp4_h265","webm_vp9","mov_h265","mov_proresks","mkv_h264","mkv_h265","mkv_vp9","gif"],"type":"string"},"preserve_audio":{"description":"Whether to preserve audio from the input video.","type":"boolean"},"video":{"description":"Publicly accessible URL of the input video. Input resolution supported up to 16000x16000 (16K). Max duration 60 seconds.","type":"string"}},"required":["video"],"type":"object"},"BriaVideoReplaceBackgroundRequest":{"description":"Request body for Bria Video Replace Background API","example":{"background_url":"https://example.com/background.mp4","video":"https://example.com/input.mp4"},"properties":{"background_url":{"description":"Publicly accessible URL of the background asset (image or video) to composite behind the foreground. Must match the foreground aspect ratio.","type":"string"},"output_container_and_codec":{"description":"Output container and codec preset.","enum":["mp4_h264","mp4_h265","webm_vp9","mov_h265","mov_proresks","mkv_h264","mkv_h265","mkv_vp9","gif"],"type":"string"},"preserve_audio":{"description":"Whether to preserve audio from the input (foreground) video.","type":"boolean"},"video":{"description":"Publicly accessible URL of the input (foreground) video. Input resolution supported up to 16000x16000 (16K). Max duration 60 seconds.","type":"string"}},"required":["video","background_url"],"type":"object"},"BriaVirtualTryOnRequest":{"description":"Request body for Bria Virtual Try-On API","example":{"garment_images":["https://labs-assets.bria.ai/api-examples/virtual-try-on/garment-1.jpg"],"person_image":"https://labs-assets.bria.ai/api-examples/virtual-try-on/person.jpg"},"properties":{"aspect_ratio":{"description":"Output image aspect ratio, one of \"1:1\", \"2:3\", \"3:2\", \"3:4\", \"4:3\", \"4:5\", \"5:4\", \"9:16\" or \"16:9\". Defaults to the aspect ratio of person_image.","type":"string"},"garment_images":{"description":"One to three garment or accessory images to put on the person. Each entry is a publicly available URL or Base64-encoded, same as person_image.","items":{"type":"string"},"maxItems":3,"minItems":1,"type":"array"},"instruction":{"description":"Optional extra direction for this shot, for example \"He wears the navy blazer over the white t-shirt he already has\". Send only the detail you want to steer, not a full prompt.","type":"string"},"output_type":{"description":"Output image format, \"png\" or \"jpeg\".","type":"string"},"person_image":{"description":"The photo of the person to edit. Publicly available URL or Base64-encoded. Accepted formats JPEG, JPG, PNG, WEBP.","type":"string"},"seed":{"description":"Seed for deterministic generation. If omitted, a random seed is used.","type":"integer"},"sync":{"description":"Must be false or omitted. Bria's synchronous mode (true) is refused rather than forwarded, on Comfy Router and on this operation's own `/proxy/` route: Comfy Router fixes the return mode before dispatch and polls for the result inside the call, and the `/proxy/` route returns the request_id and status_url to poll.","nullable":true,"type":"boolean"},"visual_output_content_moderation":{"description":"If true, returns 422 on visual output moderation failure.","type":"boolean"}},"required":["person_image","garment_images"],"type":"object"},"BulkNodeVersionResult":{"properties":{"error_message":{"description":"Error message if retrieval failed (only present if status is error)","type":"string"},"identifier":{"$ref":"#/components/schemas/NodeVersionIdentifier"},"node_version":{"$ref":"#/components/schemas/NodeVersion"},"status":{"description":"Status of the retrieval operation","enum":["success","not_found","error"],"type":"string"}},"required":["identifier","status"],"type":"object"},"BulkNodeVersionsRequest":{"properties":{"node_versions":{"description":"List of node ID and version pairs to retrieve","items":{"$ref":"#/components/schemas/NodeVersionIdentifier"},"maxItems":1000,"minItems":1,"type":"array"}},"required":["node_versions"],"type":"object"},"BulkNodeVersionsResponse":{"properties":{"node_versions":{"description":"List of retrieved node versions with their status","items":{"$ref":"#/components/schemas/BulkNodeVersionResult"},"type":"array"}},"required":["node_versions"],"type":"object"},"BytePlusErrorCode":{"description":"Upstream ModelArk error code. SensitiveContentDetected, InputTextSensitiveContentDetected, InputImageSensitiveContentDetected, InputVideoSensitiveContentDetected, InputAudioSensitiveContentDetected, OutputTextSensitiveContentDetected, OutputImageSensitiveContentDetected, OutputVideoSensitiveContentDetected and OutputAudioSensitiveContentDetected identify content-policy refusals. A family may have a dot-separated reason, such as InputImageSensitiveContentDetected.PrivacyInformation, OutputVideoSensitiveContentDetected.PolicyViolation or OutputImageSensitiveContentDetected.DeepFake. This is an open string, not an enum: other codes describe validation and provider failures. Router recognizes policy families in HTTP 400 error envelopes and HTTP 200 failed-task responses without overriding transport failures.","externalDocs":{"url":"https://docs.byteplus.com/en/docs/ModelArk/1299023"},"type":"string"},"BytePlusFile":{"description":"File object returned by POST /api/v3/files and GET /api/v3/files/{id}. See https://docs.byteplus.com/en/docs/ModelArk/1873424.\n","properties":{"bytes":{"description":"File size in bytes. Returned only when status is `active`.","type":"integer"},"created_at":{"description":"Unix timestamp (seconds) when the file was uploaded.","type":"integer"},"error":{"description":"Error details returned only when status is `failed`.","nullable":true,"properties":{"code":{"description":"Error code.","type":"string"},"message":{"description":"Error description.","type":"string"}},"type":"object"},"expire_at":{"description":"Unix timestamp (seconds) when the file expires.","type":"integer"},"id":{"description":"The unique ID of the file.","type":"string"},"mime_type":{"description":"MIME type of the file. Returned only when status is `active`.","type":"string"},"object":{"description":"Fixed to `file`.","type":"string"},"preprocess_configs":{"$ref":"#/components/schemas/BytePlusFilePreprocessConfigs"},"purpose":{"description":"The purpose of the file.","type":"string"},"status":{"description":"Processing status of the file.","enum":["processing","active","failed"],"type":"string"}},"type":"object"},"BytePlusFilePreprocessConfigs":{"description":"Preprocessing rules applied to the uploaded file by file type.","nullable":true,"properties":{"video":{"nullable":true,"properties":{"fps":{"default":1,"description":"Number of frames per second sampled from the video at upload\ntime. Higher values capture more detail but consume more tokens\nduring inference (range [10k, 80k] tokens per video).\n","format":"float","maximum":5,"minimum":0.2,"nullable":true,"type":"number"},"model":{"description":"Video-understanding model ID or endpoint ID whose frame-sampling\nstrategy should be applied during preprocessing. If omitted, the\npre-`seed-1.8` default strategy is used.\n","type":"string"}},"type":"object"}},"type":"object"},"BytePlusFileUploadRequest":{"description":"Multipart upload payload for POST /api/v3/files. The binary `file` is required; everything else mirrors the upstream optional fields. See https://docs.byteplus.com/en/docs/ModelArk/1870405.\n","properties":{"expire_at":{"description":"Unix timestamp (seconds, UTC) at which the file should be expired.\nRange: [now + 86400, now + 2592000] (1 day to 30 days).\nDefault: now + 604800 (7 days).\n","type":"integer"},"file":{"description":"The binary file to upload.","format":"binary","type":"string"},"preprocess_configs":{"$ref":"#/components/schemas/BytePlusFilePreprocessConfigs"},"purpose":{"default":"user_data","description":"Purpose of the uploaded file. `user_data` is a general-purpose value\nand the only one currently documented by BytePlus.\n","type":"string"}},"required":["file","purpose"],"type":"object"},"BytePlusImageGenerationInputs":{"anyOf":[{"required":["prompt"]},{"required":["image"]}],"description":"Request body for a BytePlus Seedream / Seededit image generation. The `example` below is the COMFY ROUTER form and deliberately omits `model`, which Router fills from the `{model}` path segment; a direct v1 call to POST /proxy/byteplus/api/v3/images/generations must add `model` to it. The example illustrates text-to-image calls; an edit call also supplies the `image` URL or base64 image to edit. Layer decomposition accepts `image` without `prompt`. At least one of `prompt` or `image` is required; BytePlus validates the model-specific combination. The v1 wrapper separately requires `model`.","example":{"prompt":"A red fox trotting through a snowy pine forest, cinematic lighting","response_format":"url","watermark":false},"properties":{"background":{"description":"Controls whether the generated image has a transparent background (alpha channel). Supported by seedream-5.0-pro, 5.0-flash and the newer Seedream models whose own schema documents it.\nauto: The model decides from the prompt and output_format. With output_format jpeg, the output is always opaque.\ntransparent: Output an RGBA image with a transparent background. output_format jpeg returns an error.\nopaque: Output an RGB image with an opaque background. The seedream-5.0-pro default.\nseedream-5.0-pro supports transparent output for image-to-image only, with one png input image that has an alpha channel.\nNot supported in the layer-separation scenario: passing it with layer_decomposition enabled returns an error.\n","enum":["auto","transparent","opaque"],"type":"string"},"guidance_scale":{"description":"Controls how closely the output image aligns with the input prompt. Range [1, 10]. Higher values result in stronger prompt adherence. Not supported by seedream-5.0-pro, 5.0-lite, 4.5 and 4.0.","format":"float","maximum":10,"minimum":1,"type":"number"},"image":{"description":"Seedream-5.0-pro, 5.0-lite, 4.5 and 4.0 support this parameter.\n\nEnter the Base64 encoding or an accessible URL of the image to edit. Seedream-5.0-pro, 5.0-lite, 4.5 and 4.0 support inputting a single image or multiple images (see the multi-image blending example).\n\n• Image URL: Make sure that the image URL is accessible.\n• Base64 encoding: The format must be data:image/\u003cimage format\u003e;base64,\u003cBase64 encoding\u003e. Note: \u003cimage format\u003e must be in lowercase, e.g., data:image/png;base64,\u003cbase64_image\u003e.\n\nComfy Router limits the entire JSON request to 100 MiB, including base64 expansion and all reference images. Use URLs for inputs that would exceed this transport limit.\n\nAn input image must meet the following requirements:\n• Image format: jpeg, png (seedream-5.0-pro, 5.0-lite, 4.5 and 4.0 also support webp, bmp, tiff and gif; seedream-5.0-pro also supports heic and heif)\n• Aspect ratio (width/height): In the range [1/16, 16] for seedream-5.0-pro, 5.0-lite, 4.5 and 4.0\n• Width and height (px): \u003e 14\n• Size: No more than 10 MB (30 MB for seedream-5.0-pro)\n• Total pixels: No more than 6000x6000 (36,000,000 px) for seedream-5.0-pro\n• Maximum of 14 reference images (10 for seedream-5.0-pro, 5.0-flash and 5.5)\n\nIn the layer-separation scenario (layer_decomposition enabled), image is required and only a single input image is supported (passing multiple images returns an error). Input images must be png, jpeg, webp, bmp, tiff or gif (heic and heif are not supported), up to 30 MB, with total pixels in the range [512x512, 6000x6000] and aspect ratio in [1/16, 16].\n","oneOf":[{"description":"Single image (URL or Base64)","type":"string"},{"description":"Multiple images (URLs or Base64) - supported by seedream-5.0-pro, 5.0-lite, 4.5 and 4.0","items":{"type":"string"},"maxItems":14,"minItems":1,"type":"array"}]},"layer_decomposition":{"default":false,"description":"Controls whether layer separation is enabled. Only seedream-5.0-pro, 5.0-flash and 5.5 support this parameter.\ntrue: Layer-separation mode. The model decomposes the single input image into one base image plus multiple layers (up to 16; up to 99 on seedream-5.5), and returns the position and content information of each produced layer, including the stacking order (z_index), bounding box (bounding_box), name (name) and description (description).\nfalse: Standard image-generation mode; no layer separation is performed.\nNotes on layer-separation mode: only a single input image is supported (passing multiple images returns an error); if any single layer fails to generate, the whole request fails — partial success is not supported; at most 17 images are returned (1 base image + 16 layers). seedream-5.5 returns at most layer_decomposition_options.max_images images (1 base image + up to 99 layers). sequential_image_generation, sequential_image_generation_options, tools and stream return an error if passed.\n","type":"boolean"},"layer_decomposition_options":{"description":"Options for layer-separation mode. Only seedream-5.5 supports this parameter, and it applies only when layer_decomposition is true.\n","properties":{"max_images":{"default":30,"description":"The maximum total number of images this request returns, the base image and the layers together. Range: [2, 100]. When the prompt does not say how to split the image, the model plans the layers from max_images and the complexity of the input image; a larger value usually gives finer layers.","maximum":100,"minimum":2,"type":"integer"}},"type":"object"},"model":{"description":"Model identifier. Supported models: seedream-4-0-250828, seedream-4-5-251128, seedream-5-0-260128, seedream-5-0-pro-260628, seedream-5-0-flash-260915 and seedream-5-5-261028. A direct v1 call to POST /proxy/byteplus/api/v3/images/generations MUST supply it — the proxy refuses any other value, and an omitted one, with a 400. It is NOT in this schema's `required` list because Comfy Router fills it from the `{model}` path segment of /v2/models/byteplus/{model}, so a Router caller omits it.","nullable":true,"type":"string"},"optimize_prompt_options":{"description":"Configuration for prompt optimization feature. Only seedream-5.0-pro/5.0-lite/4.5/5.5 (only support standard mode; seedream-5.5 returns an error for fast) and seedream-4.0 support this parameter.\n","properties":{"mode":{"default":"standard","description":"Set the mode for the prompt optimization feature. standard = Higher quality, longer generation time. fast = Faster but at a more average quality.","enum":["standard","fast"],"type":"string"}},"type":"object"},"output_format":{"default":"jpeg","description":"Specifies the format of the output image. Only seedream-5.0-pro, 5.0-flash, 5.0-lite and 5.5 support this parameter. seedream-5.5 defaults to png. In the layer-separation scenario, output_format only controls the format of the base image; every layer is always output as png.","enum":["png","jpeg"],"type":"string"},"prompt":{"description":"Text description for image generation or transformation.\nOptional in the layer-separation scenario (seedream-5.0-pro, 5.0-flash or 5.5 with layer_decomposition enabled): if a prompt is provided, the model recognizes and separates the elements you specify according to the prompt intent; if no prompt is provided, the model automatically detects all major elements in the image and separates them into independent layers.\n","type":"string"},"response_format":{"default":"url","description":"Specifies the format of the generated image returned in the response. b64_json is refused together with layer_decomposition on this route (400 on v1, 422 at response_format on Comfy Router), because the inlined base64 layers can exceed Comfy Router's result-size limit and fail after the image has already been rendered and billed; use url (the default) for layer-separation requests.","enum":["url","b64_json"],"type":"string"},"seed":{"default":-1,"description":"Random seed to control the stochasticity of image generation. Range: [-1, 2147483647]. If not specified, a seed will be automatically generated. To reproduce the same output, use the same seed value.","maximum":2147483647,"minimum":-1,"type":"integer"},"sequential_image_generation":{"description":"Controls whether to disable the batch generation feature. This parameter is only supported on seedream-5.0-lite, 4.5 and 4.0 (not supported by seedream-5.0-pro, 5.0-flash or 5.5). Valid values:\nauto: In automatic mode, the model automatically determines whether to return multiple images and how many images it will contain based on the user's prompt.\ndisabled: Disables batch generation feature. The model will only generate one image.\n","enum":["auto","disabled"],"type":"string"},"sequential_image_generation_options":{"description":"Only seedream-5.0-lite, 4.5 and 4.0 support this parameter (not supported by seedream-5.0-pro, 5.0-flash or 5.5).\nConfiguration for the batch image generation feature. This parameter is only effective when sequential_image_generation is set to auto.\n","properties":{"max_images":{"default":15,"description":"Specifies the maximum number of images to generate in this request. Number of input reference images + Number of generated images ≤ 15.","maximum":15,"minimum":1,"type":"integer"}},"type":"object"},"size":{"description":"\"seedream-4-0-250828\": Set the specification for the generated image. Two methods are available but cannot be used together.\n  Method 1 | Specify the resolution. Optional values: 1K, 2K, 4K\n  Method 2 | Specify width and height in pixels. Default: 2048x2048, total pixels: [1024x1024, 4096x4096], aspect ratio: [1/16, 16]\n\"seedream-4-5-251128\": Two methods available.\n  Method 1 | Specify the resolution. Optional values: 2K, 4K\n  Method 2 | Specify width and height in pixels. Default: 2048x2048, total pixels: [2560x1440, 4096x4096], aspect ratio: [1/16, 16]\n\"seedream-5-0-260128\": Two methods available.\n  Method 1 | Specify the resolution. Optional values: 2K, 3K\n  Method 2 | Specify width and height in pixels. Default: 2048x2048, total pixels: [2560x1440, ~3072x3072], aspect ratio: [1/16, 16]\n\"seedream-5-0-pro-260628\": Two methods available (cannot be used together).\n  Method 1 | Specify the resolution and describe the aspect ratio, shape or purpose of the image in the prompt; the model decides the final size. Optional values: 1K, 2K\n  Method 2 | Specify width and height in pixels. Default: 1024x1024, total pixels: [1024x1024 (1048576), 2048x2048 (4194304)], aspect ratio: [1/16, 16]\n\"seedream-5-0-flash-260915\": Two methods available (cannot be used together).\n  Method 1 | Specify the resolution and describe the aspect ratio, shape or purpose of the image in the prompt; the model decides the final size. Optional values: 1K, 1.5K, 2K. Default: 2K\n  Method 2 | Specify width and height in pixels. Total pixels: [1280x720 (921600), 2048x2048x1.1025 (4624220)], aspect ratio: [1/16, 16]\n\"seedream-5-5-261028\": Two methods available (cannot be used together).\n  Method 1 | Specify the resolution. Optional values: 1K, 1.5K, 2K. Default: 2K\n  Method 2 | Specify width and height in pixels. Total pixels: [1280x720 (921600), 2048x2048x1.1025 (4624220)], aspect ratio: [1/16, 16]\n\"seedream-5-0-pro-260628\", \"seedream-5-0-flash-260915\" and \"seedream-5-5-261028\" with layer_decomposition enabled: Only the resolution-level method is supported. Optional values: 1K, 1.5K, 2K, auto. Default: auto.\n  The base image is output at the specified resolution with the aspect ratio of the original input image; each layer is output close to the specified resolution, keeping the aspect ratio it had in the original image.\n  auto: Output is based on the size and aspect ratio of the input image. Inputs within [1280x720, ~2048x2048] are output at the original input size; inputs smaller than 1K are output at 1K; inputs larger than 2K are output at 2K.\n","type":"string"},"stream":{"default":false,"description":"Comfy Router settles an explicitly supplied stream flag to false because it captures a complete JSON result. On the v1 proxy, this field controls whether to enable streaming output mode. Only seedream-5.0-lite, 4.5 and 4.0 support this parameter (not supported by seedream-5.0-pro, 5.0-flash or 5.5). false = All output images are returned at once. true = Each output image is returned immediately after generated.","type":"boolean"},"watermark":{"default":true,"description":"Specifies whether to add a watermark to the generated image. false = No watermark, true = Adds watermark with 'AI generated' label","type":"boolean"}},"type":"object"},"BytePlusImageGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/BytePlusImageGenerationInputs"},{"properties":{"model":{"description":"The ID of the model to call. Required on this route, which has no path segment supplying it.","enum":["seedream-4-0-250828","seedream-4-5-251128","seedream-5-0-260128","seedream-5-0-pro-260628","seedream-5-5-261028","seedream-5-0-flash-260915"],"type":"string"}},"required":["model"],"type":"object"}],"description":"Request body for the v1 `POST /proxy/byteplus/api/v3/images/generations` proxy.\nIt composes `BytePlusImageGenerationInputs` rather than restating its fields, and adds back the two things only the v1 surface can demand. `model` is both of them: this route carries no path segment supplying it, so a direct caller must send it and must send one of the six allowlisted spellings, whereas the Comfy Router route `POST /v2/models/byteplus/{model}` supplies it from the path and its input schema must therefore neither require nor enum it (RouterBodyForTarget writes it in after routervalidate.Guard has validated the caller's bytes, so either constraint would refuse every Router call that exercises the documented contract — BE-11167).\nThe component has required `model` since the provider was added on 2025-08-21 (#634) and has carried the enum since the same commit, so this wrapper RESTORES a published requirement rather than inventing one. (`prompt` was required alongside it until #6331 on 2026-08-06 dropped it for the seedream-5.0-pro layer-separation path; that relaxation is not this change's and is not re-imposed here.) Read the note above `BytePlusImageGenerationInputs` for the full rule and the guard that enforces it."},"BytePlusImageGenerationResponse":{"properties":{"created":{"description":"Unix timestamp (in seconds) indicating the time when the request was created","type":"integer"},"data":{"description":"Contains information about the generated image(s).\nIn the layer-separation scenario, the first element of the array is the base image (z_index=0), and the following elements are the layers, ordered by increasing z_index.\n","items":{"properties":{"b64_json":{"description":"Base64-encoded image data (if response_format is \"b64_json\")","type":"string"},"background":{"description":"The background type the image actually has: transparent or opaque. In the layer-separation scenario, the base image is always opaque and every layer is transparent. Only seedream-5.5 returns this field.","type":"string"},"bounding_box":{"description":"The bounding-box information of the region that the current layer occupies within the base image. Only layers return this field; the base image covers the whole canvas and does not return bounding_box. Returned only when layer_decomposition is true.","properties":{"absolute":{"description":"The absolute pixel coordinates of the layer's bounding box, in the output base image's coordinate system with the top-left corner at (0, 0). Coordinate format: [left, top, right, bottom].","items":{"type":"integer"},"type":"array"},"normalized":{"description":"The per-mille quantized (normalized) coordinates of the layer's bounding box, proportionally mapped to a discrete integer range of [0, 1000] based on the base image size, truncated at a maximum of 1000. Coordinate format: [left, top, right, bottom].","items":{"type":"integer"},"type":"array"}},"type":"object"},"description":{"description":"A detailed description of the current separated element, providing richer layer characteristics (such as color, state, material) than name. Only layers return this field; the base image does not. Returned only when layer_decomposition is true.","type":"string"},"name":{"description":"The name/label of the current separated element, automatically generated by the model from the characteristics of the separated subject. Only layers return this field; the base image does not. Returned only when layer_decomposition is true.","type":"string"},"output_format":{"description":"The file format of the output image. Only seedream-5.0-pro and 5.5 support this field.","type":"string"},"size":{"description":"The width and height of the image in pixels, in the format \u003cwidth\u003ex\u003cheight\u003e. Only seedream-5.0-pro, 5.0-lite, 5.5, 4.5 and 4.0 support this parameter.","type":"string"},"url":{"description":"URL for image download (if response_format is \"url\")","format":"uri","type":"string"},"z_index":{"description":"The stacking order of the layer, increasing from bottom to top: 0 is the bottom-most layer (the base image); larger values sit higher. Use it to recompose the layers into the complete image at the correct stacking order. Returned only when layer_decomposition is true.","type":"integer"}},"type":"object"},"type":"array"},"error":{"description":"Error information (if any)","properties":{"code":{"$ref":"#/components/schemas/BytePlusErrorCode"},"message":{"description":"Error message","type":"string"}},"type":"object"},"model":{"description":"The model ID used for the request","example":"seedream-4-0-250828","type":"string"},"usage":{"properties":{"generated_images":{"description":"Number of images generated by the model","type":"integer"},"input_images":{"description":"The number of images input to the model. Only seedream-5.0-pro and 5.5 support this field.","type":"integer"},"output_tokens":{"description":"The number of tokens used for the picture generated by the model.","type":"integer"},"total_tokens":{"description":"The total number of tokens consumed by this request.","type":"integer"}},"type":"object"}},"type":"object"},"BytePlusMediaKitEnhanceVideoRequest":{"properties":{"bit_depth":{"description":"Output colour bit depth, one of 8, 10 or 12. Only supported by the professional tool version.","type":"integer"},"bitrate":{"description":"Target average bitrate in kbps, in the range 10 to 150000. Overrides bitrate_level.","type":"integer"},"bitrate_level":{"description":"Target bitrate level, one of low, medium (default) or high.","type":"string"},"callback_url":{"description":"URL notified when the task completes.","type":"string"},"enhance_style":{"description":"Enhancement style, either hd (default) or natural.","type":"string"},"fps":{"description":"Output frame rate up to 120. Defaults to the source frame rate; a higher value triggers frame interpolation.","type":"number"},"resolution":{"description":"Output resolution level, one of 720p, 1080p, 2k or 4k. Mutually exclusive with resolution_limit.","type":"string"},"resolution_limit":{"description":"Locks the short side of the output to this pixel value in the range 64 to 2160 and scales the long side proportionally. Mutually exclusive with resolution.","type":"integer"},"scene":{"description":"Scene preset, one of aigc, short_series, ugc or old_film. Only effective for the standard tool version.","type":"string"},"tool_version":{"description":"Enhancement tier, either standard or professional. Defaults to standard. The professional tier costs ten times the standard tier.","type":"string"},"video_url":{"description":"Publicly reachable HTTP or HTTPS URL of the source video. Input resolution is supported up to 2K and the recommended maximum file size is 10 GB.","type":"string"}},"required":["video_url"],"type":"object"},"BytePlusMediaKitEnhanceVideoResponse":{"properties":{"request_id":{"type":"string"},"success":{"type":"boolean"},"task_id":{"description":"The ID used to poll the task.","type":"string"}},"type":"object"},"BytePlusMediaKitTaskError":{"properties":{"code":{"description":"The provider error code, for example DownloadFileError.","type":"string"},"message":{"description":"The failure reason.","type":"string"},"type":{"description":"The error class, for example BadRequest.","type":"string"}},"type":"object"},"BytePlusMediaKitTaskResponse":{"properties":{"created_at":{"type":"integer"},"error":{"$ref":"#/components/schemas/BytePlusMediaKitTaskError"},"expires_at":{"type":"integer"},"finished_at":{"type":"integer"},"queue_id":{"type":"string"},"request_id":{"type":"string"},"result":{"$ref":"#/components/schemas/BytePlusMediaKitTaskResult"},"status":{"description":"The task state. completed is the terminal success state.","type":"string"},"success":{"type":"boolean"},"task_id":{"type":"string"},"task_type":{"type":"string"}},"type":"object"},"BytePlusMediaKitTaskResult":{"properties":{"duration":{"description":"Duration of the output video in seconds.","format":"double","type":"number"},"fps":{"description":"Frame rate of the output video.","format":"double","type":"number"},"resolution":{"description":"Resolution tier of the output video, determined by its short side.","type":"string"},"tool_version":{"type":"string"},"video_url":{"description":"Download URL of the enhanced video, valid for 24 hours.","type":"string"}},"type":"object"},"BytePlusOmniHumanV2Request":{"description":"Request body for `POST /proxy/byteplusomnihuman/v2/tasks`. The model is fixed by the route. The job is billed per second of the returned video, which is as long as the audio.","example":{"audio_url":"https://example.com/speech.mp3","enable_watermark":false,"image_urls":["https://example.com/portrait.jpg"],"prompt":"The person speaks calmly to the camera."},"properties":{"audio_url":{"description":"Public HTTP or HTTPS URL of the speech audio. WAV or MP3, under 15 MB, 4 to 300 seconds. The output video is as long as this audio.","type":"string"},"enable_watermark":{"description":"Whether BytePlus adds a watermark to the video. BytePlus defaults to true when this is omitted.","type":"boolean"},"image_urls":{"description":"Exactly one public HTTP or HTTPS URL of an image of a person. JPEG, PNG, WEBP, BMP, TIFF, GIF, HEIC or HEIF; under 30 MB; aspect ratio (width/height) 0.4 to 2.5; 300 to 6000 px per side.","items":{"type":"string"},"type":"array"},"prompt":{"description":"Optional text that controls the scene, movement and camera. Chinese, English, Japanese, Korean, Spanish (Mexican) or Indonesian.","type":"string"}},"required":["image_urls","audio_url"],"type":"object"},"BytePlusOmniHumanV2ResultData":{"properties":{"resp_data":{"description":"Extra result data from BytePlus as a JSON string. It can be empty; the output length is not reported here.","type":"string"},"status":{"description":"The task state. in_queue and generating are in progress; done is finished; not_found, expired, failed and canceled are terminal failures.","type":"string"},"video_url":{"description":"URL of the output MP4 when status is done, valid for one hour.","type":"string"}},"type":"object"},"BytePlusOmniHumanV2ResultResponse":{"properties":{"code":{"description":"10000 on success. Any other value is an error.","type":"integer"},"data":{"$ref":"#/components/schemas/BytePlusOmniHumanV2ResultData"},"message":{"type":"string"},"request_id":{"type":"string"},"time_elapsed":{"type":"string"}},"type":"object"},"BytePlusOmniHumanV2SubmitData":{"properties":{"task_id":{"description":"The id used to poll the task.","type":"string"}},"type":"object"},"BytePlusOmniHumanV2SubmitResponse":{"properties":{"code":{"description":"10000 on success. Any other value is an error, and data is then empty.","type":"integer"},"data":{"$ref":"#/components/schemas/BytePlusOmniHumanV2SubmitData"},"message":{"type":"string"},"request_id":{"type":"string"},"time_elapsed":{"type":"string"}},"type":"object"},"BytePlusResponseAppliedContextEdit":{"description":"One applied context-edit, discriminated by `type`.","discriminator":{"mapping":{"clear_thinking":"#/components/schemas/BytePlusResponseAppliedContextEditClearThinking","clear_tool_uses":"#/components/schemas/BytePlusResponseAppliedContextEditClearToolUses"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/BytePlusResponseAppliedContextEditClearThinking"},{"$ref":"#/components/schemas/BytePlusResponseAppliedContextEditClearToolUses"}]},"BytePlusResponseAppliedContextEditClearThinking":{"additionalProperties":true,"properties":{"cleared_thinking_turns":{"description":"Number of reasoning turns that were removed.","type":"integer"},"type":{"default":"clear_thinking","enum":["clear_thinking"],"type":"string"}},"required":["type"],"type":"object"},"BytePlusResponseAppliedContextEditClearToolUses":{"additionalProperties":true,"properties":{"cleared_tool_uses":{"description":"Number of tool invocations that were removed.","type":"integer"},"type":{"default":"clear_tool_uses","enum":["clear_tool_uses"],"type":"string"}},"required":["type"],"type":"object"},"BytePlusResponseAppliedContextManagement":{"additionalProperties":true,"description":"Context-management strategies that were actually applied during this response. Unlike the request-side `BytePlusResponseContextManagement` (which configures strategies), this echoes the strategies the server invoked, with counts of what was cleared.\n","properties":{"applied_edits":{"items":{"$ref":"#/components/schemas/BytePlusResponseAppliedContextEdit"},"type":"array"}},"type":"object"},"BytePlusResponseContextEdit":{"description":"A single context-edit strategy, discriminated by `type`.","discriminator":{"mapping":{"clear_thinking":"#/components/schemas/BytePlusResponseContextEditClearThinking","clear_tool_uses":"#/components/schemas/BytePlusResponseContextEditClearToolUses"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/BytePlusResponseContextEditClearThinking"},{"$ref":"#/components/schemas/BytePlusResponseContextEditClearToolUses"}]},"BytePlusResponseContextEditClearThinking":{"additionalProperties":true,"description":"Clears chain-of-thought content per the `keep` strategy.","properties":{"keep":{"oneOf":[{"additionalProperties":true,"properties":{"type":{"default":"thinking_turns","enum":["thinking_turns"],"type":"string"},"value":{"default":1,"description":"Retain chain-of-thought for the most recent N turns.","type":"integer"}},"required":["type"],"type":"object"},{"description":"Retain all chain-of-thought.","enum":["all"],"type":"string"}]},"type":{"default":"clear_thinking","enum":["clear_thinking"],"type":"string"}},"required":["type","keep"],"type":"object"},"BytePlusResponseContextEditClearToolUses":{"additionalProperties":true,"description":"Clears tool-call content when the conversation exceeds a threshold.","properties":{"clear_tool_input":{"default":false,"description":"Whether to clear tool-call parameters.","type":"boolean"},"exclude_tools":{"description":"Tool names that are never cleared.","items":{"type":"string"},"type":"array"},"keep":{"additionalProperties":true,"properties":{"type":{"default":"tool_uses","enum":["tool_uses"],"type":"string"},"value":{"default":3,"description":"Retain tool-call content for the most recent N turns.","type":"integer"}},"required":["type"],"type":"object"},"trigger":{"additionalProperties":true,"properties":{"type":{"default":"tool_uses","enum":["tool_uses"],"type":"string"},"value":{"description":"Trigger cleanup when tool-call turns reach N.","type":"integer"}},"required":["type","value"],"type":"object"},"type":{"default":"clear_tool_uses","enum":["clear_tool_uses"],"type":"string"}},"required":["type","keep","trigger"],"type":"object"},"BytePlusResponseContextManagement":{"additionalProperties":true,"description":"Context-management strategies (`clear_thinking`, `clear_tool_uses`) applied to keep the context window manageable.\n","properties":{"edits":{"items":{"$ref":"#/components/schemas/BytePlusResponseContextEdit"},"type":"array"}},"type":"object"},"BytePlusResponseCreateRequest":{"allOf":[{"$ref":"#/components/schemas/BytePlusResponseInputs"},{"properties":{"model":{"description":"Model ID or Endpoint ID. See https://docs.byteplus.com/en/docs/ModelArk/1330310 for the model list and https://docs.byteplus.com/en/docs/ModelArk/1099522 for Endpoint IDs.\n","type":"string"}},"required":["model","input"],"type":"object"}],"description":"Request body for the v1 `POST /proxy/byteplus/api/v3/responses` proxy.\nIt composes `BytePlusResponseInputs` rather than restating its fields, and adds back the two things only the v1 surface can demand: `model` as a NON-NULLABLE string, and the `required: [model, input]` pair this operation has published since it was added on 2026-05-18 (#3711). The Comfy Router route `POST /v2/models/byteplus/{model}` supplies the model from the path and its input schemas must NOT require it (RouterBodyForTarget writes it in after routervalidate.Guard has validated the caller's bytes, so a required entry would 422 every Router call -- BE-11167), so this wrapper RESTORES a published requirement rather than inventing one.\n`model` is restated as a non-nullable string one level deeper for the same reason BytePlusTTSCreateRequest restates it: the base marks it nullable because the ROUTER route accepts an explicit `\"model\": null` and fills it from the path, while this route has no path segment, so a null is not a value it can resolve -- and leaving the base's nullability in force would also regenerate v1's `Model` as a pointer. `allOf` is a conjunction, so narrowing here binds v1 alone and leaves the Router half untouched."},"BytePlusResponseError":{"description":"Error details. Null when the response succeeded.","nullable":true,"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"BytePlusResponseInputFile":{"additionalProperties":true,"description":"File input (currently PDF only). Provide exactly one of `file_id`, `file_data`, or `file_url`. `filename` is required with `file_data`.\n","properties":{"file_data":{"description":"Base64-encoded file (single file \u003c= 50 MB).","type":"string"},"file_id":{"description":"ID of a file uploaded via the Files API. Must be `active`.","type":"string"},"file_url":{"description":"Publicly accessible URL (single file \u003c= 50 MB).","type":"string"},"filename":{"description":"Required when `file_data` is set.","type":"string"},"type":{"enum":["input_file"],"type":"string"}},"required":["type"],"type":"object"},"BytePlusResponseInputFunctionCall":{"additionalProperties":true,"description":"A tool/function invocation produced by the model in a prior turn.","properties":{"arguments":{"description":"JSON-encoded string of the function arguments.","type":"string"},"call_id":{"description":"Unique ID of the tool call generated by the model.","type":"string"},"name":{"type":"string"},"status":{"type":"string"},"type":{"enum":["function_call"],"type":"string"}},"required":["type","arguments","call_id","name"],"type":"object"},"BytePlusResponseInputFunctionCallOutput":{"additionalProperties":true,"description":"Output returned by a tool, paired with the function_call via call_id.","properties":{"call_id":{"type":"string"},"output":{"type":"string"},"status":{"type":"string"},"type":{"enum":["function_call_output"],"type":"string"}},"required":["type","call_id","output"],"type":"object"},"BytePlusResponseInputImage":{"additionalProperties":true,"properties":{"detail":{"default":"auto","enum":["high","low","auto"],"type":"string"},"file_id":{"description":"ID of a file uploaded via the Files API. Must be `active`.","type":"string"},"image_pixel_limit":{"additionalProperties":true,"description":"Optional pixel-count bounds. Overrides `detail` when set. Image pixel count must stay in [196, 36_000_000].\n","nullable":true,"properties":{"max_pixels":{"type":"integer"},"min_pixels":{"type":"integer"}},"type":"object"},"image_url":{"description":"Image URL or `data:image/...;base64,...` payload.","type":"string"},"type":{"enum":["input_image"],"type":"string"}},"required":["type"],"type":"object"},"BytePlusResponseInputItem":{"description":"One entry in the `input` array of a Responses request. Discriminated by the `type` field. See https://docs.byteplus.com/en/docs/ModelArk/1585128.\n","discriminator":{"mapping":{"function_call":"#/components/schemas/BytePlusResponseInputFunctionCall","function_call_output":"#/components/schemas/BytePlusResponseInputFunctionCallOutput","message":"#/components/schemas/BytePlusResponseInputMessage","reasoning":"#/components/schemas/BytePlusResponseInputReasoning"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/BytePlusResponseInputMessage"},{"$ref":"#/components/schemas/BytePlusResponseInputFunctionCall"},{"$ref":"#/components/schemas/BytePlusResponseInputFunctionCallOutput"},{"$ref":"#/components/schemas/BytePlusResponseInputReasoning"}]},"BytePlusResponseInputMessage":{"additionalProperties":true,"description":"A message sent to the model (or a stored prior message when `status` is set). Role precedence: developer/system \u003e user; assistant messages represent prior model output.\n","properties":{"content":{"oneOf":[{"description":"Plain text content, equivalent to a single input_text item.","type":"string"},{"items":{"$ref":"#/components/schemas/BytePlusResponseMessageContent"},"type":"array"}]},"partial":{"description":"Enables Continuation mode. Set the last message's role to `assistant` and `partial` to true; the model continues from its existing content.\n","type":"boolean"},"role":{"enum":["user","system","assistant","developer"],"type":"string"},"status":{"description":"Status of a previously stored message. Only used when echoing previous inputs back to the model.\n","enum":["in_progress","completed","incomplete"],"type":"string"},"type":{"default":"message","enum":["message"],"type":"string"}},"required":["type","role","content"],"type":"object"},"BytePlusResponseInputReasoning":{"additionalProperties":true,"description":"Chain-of-thought block. Used both as input (manual reasoning injection for seed-1-8, seed-2-0, deepseek-v3-2) and as a response output item. As input, prefer `previous_response_id` in multi-turn conversations.\n","properties":{"content":{"description":"Original (un-summarized) reasoning content. Returned on output items; not used on input.\n","items":{"additionalProperties":true,"properties":{"text":{"type":"string"},"type":{"default":"reasoning_text","enum":["reasoning_text"],"type":"string"}},"required":["type"],"type":"object"},"type":"array"},"encrypted_content":{"description":"Encrypted+compressed original reasoning content. Returned only when `reasoning.encrypted_content` is in the request's `include` list. Supported from seed-2-0-pro-260328.\n","type":"string"},"id":{"type":"string"},"status":{"enum":["in_progress","completed","incomplete"],"type":"string"},"summary":{"items":{"additionalProperties":true,"properties":{"text":{"type":"string"},"type":{"default":"summary_text","enum":["summary_text"],"type":"string"}},"required":["type"],"type":"object"},"type":"array"},"type":{"enum":["reasoning"],"type":"string"}},"required":["type"],"type":"object"},"BytePlusResponseInputText":{"additionalProperties":true,"properties":{"text":{"type":"string"},"translation_options":{"additionalProperties":true,"description":"Translation-scenario configuration. Only supported by seed-translation-250728.\n","properties":{"source_language":{"type":"string"},"target_language":{"type":"string"}},"required":["target_language"],"type":"object"},"type":{"enum":["input_text"],"type":"string"}},"required":["type","text"],"type":"object"},"BytePlusResponseInputVideo":{"additionalProperties":true,"properties":{"file_id":{"description":"ID of a file uploaded via the Files API. Must be `active`.","type":"string"},"fps":{"description":"Frames-per-second extracted from the video.","format":"float","maximum":5,"minimum":0.2,"type":"number"},"type":{"enum":["input_video"],"type":"string"},"video_url":{"description":"Video URL or `data:video/...;base64,...` payload.","type":"string"}},"required":["type"],"type":"object"},"BytePlusResponseInputs":{"additionalProperties":true,"properties":{"caching":{"additionalProperties":true,"description":"Context-cache configuration.","properties":{"prefix":{"default":false,"description":"When true, only create the public prefix cache; the model does not respond.\n","type":"boolean"},"type":{"enum":["enabled","disabled"],"type":"string"}},"type":"object"},"context_management":{"$ref":"#/components/schemas/BytePlusResponseContextManagement"},"expire_at":{"description":"Unix timestamp (seconds, UTC) at which the stored response and cache expire. Range (creation_time, creation_time + 604800]. Default: creation_time + 259200 (3 days).\n","type":"integer"},"include":{"description":"Additional output fields to include. Currently supported: `reasoning.encrypted_content` (encrypted+compressed reasoning for manual multi-turn reuse).\n","items":{"type":"string"},"type":"array"},"input":{"description":"Text content or list of input items provided to the model.","oneOf":[{"description":"Plain text input, equivalent to a single user message.","type":"string"},{"items":{"$ref":"#/components/schemas/BytePlusResponseInputItem"},"type":"array"}]},"instructions":{"description":"System/developer message prepended as the first instruction. Not compatible with `caching` — if `caching.type` is `enabled`, setting `instructions` returns an error.\n","nullable":true,"type":"string"},"max_output_tokens":{"description":"Maximum output tokens (response + chain-of-thought).","nullable":true,"type":"integer"},"max_tool_calls":{"maximum":10,"minimum":1,"type":"integer"},"model":{"description":"Model ID or Endpoint ID. See https://docs.byteplus.com/en/docs/ModelArk/1330310 for the model list and https://docs.byteplus.com/en/docs/ModelArk/1099522 for Endpoint IDs. A direct v1 call to POST /proxy/byteplus/api/v3/responses MUST supply it -- the proxy refuses any value outside its own allowlist, and an omitted one, with a 400. It is NOT in the Comfy Router input schemas' `required` lists because Router fills it from the `{model}` path segment of /v2/models/byteplus/{model}, so a Router caller omits it.\n","nullable":true,"type":"string"},"previous_response_id":{"description":"ID of the previous response, used to continue a multi-turn conversation. Insert ~100ms between requests to avoid failures.\n","nullable":true,"type":"string"},"reasoning":{"additionalProperties":true,"description":"Limits the workload of deep thinking.","properties":{"effort":{"description":"`minimal` disables thinking entirely. With `thinking.type =\ndisabled`, only `minimal` is allowed.\n","enum":["minimal","low","medium","high"],"type":"string"}},"type":"object"},"store":{"default":true,"description":"When true, the response is persisted and retrievable by ID for multi-turn use.\n","nullable":true,"type":"boolean"},"temperature":{"default":1,"format":"float","maximum":2,"minimum":0,"nullable":true,"type":"number"},"text":{"additionalProperties":true,"description":"Output-format configuration.","properties":{"format":{"$ref":"#/components/schemas/BytePlusResponseTextFormat"}},"type":"object"},"thinking":{"additionalProperties":true,"description":"Controls deep-thinking mode.","properties":{"type":{"description":"`enabled`: always reason before responding.\n`disabled`: respond without additional reasoning.\n`auto`: model decides per-query.\n","enum":["enabled","disabled","auto"],"type":"string"}},"type":"object"},"tool_choice":{"description":"Tool-selection mode. Only seed-1-6 models support this field.","oneOf":[{"enum":["none","auto","required"],"type":"string"},{"$ref":"#/components/schemas/BytePlusResponseToolChoiceObject"}]},"tools":{"items":{"$ref":"#/components/schemas/BytePlusResponseTool"},"type":"array"},"top_p":{"default":0.7,"format":"float","maximum":1,"minimum":0,"nullable":true,"type":"number"}},"type":"object"},"BytePlusResponseMessageContent":{"description":"One content item inside a message. Discriminated by `type`: `input_text` for text, `input_image` for images, `input_video` for videos, `input_file` for PDF/file uploads. File-backed types may reference a Files API id via `file_id`.\n","discriminator":{"mapping":{"input_file":"#/components/schemas/BytePlusResponseInputFile","input_image":"#/components/schemas/BytePlusResponseInputImage","input_text":"#/components/schemas/BytePlusResponseInputText","input_video":"#/components/schemas/BytePlusResponseInputVideo"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/BytePlusResponseInputText"},{"$ref":"#/components/schemas/BytePlusResponseInputImage"},{"$ref":"#/components/schemas/BytePlusResponseInputVideo"},{"$ref":"#/components/schemas/BytePlusResponseInputFile"}]},"BytePlusResponseObject":{"description":"Non-streaming response body returned by POST /api/v3/responses. See https://docs.byteplus.com/en/docs/ModelArk/1783703.\n","properties":{"caching":{"additionalProperties":true,"properties":{"prefix":{"type":"boolean"},"type":{"enum":["enabled","disabled"],"type":"string"}},"type":"object"},"context_management":{"$ref":"#/components/schemas/BytePlusResponseAppliedContextManagement"},"created_at":{"description":"Unix timestamp (seconds) when the response was created.","type":"integer"},"error":{"$ref":"#/components/schemas/BytePlusResponseError"},"expire_at":{"description":"Unix timestamp (seconds) when the stored response expires.","type":"integer"},"id":{"description":"Unique ID of the response. Use as `previous_response_id` to continue the conversation.","type":"string"},"incomplete_details":{"additionalProperties":true,"description":"Populated when `status` is `incomplete`.","nullable":true,"properties":{"reason":{"description":"e.g. `max_output_tokens`, `content_filter`.","type":"string"}},"type":"object"},"instructions":{"description":"Echo of the request's `instructions` field.","nullable":true,"type":"string"},"max_output_tokens":{"nullable":true,"type":"integer"},"max_tool_calls":{"nullable":true,"type":"integer"},"metadata":{"additionalProperties":true,"nullable":true,"type":"object"},"model":{"description":"Model ID that generated the response.","type":"string"},"object":{"default":"response","enum":["response"],"type":"string"},"output":{"description":"Ordered output items produced by the model.","items":{"$ref":"#/components/schemas/BytePlusResponseOutputItem"},"type":"array"},"previous_response_id":{"nullable":true,"type":"string"},"reasoning":{"additionalProperties":true,"properties":{"effort":{"enum":["minimal","low","medium","high"],"type":"string"}},"type":"object"},"service_tier":{"description":"TPM-guarantee-package usage. `default` means none.","enum":["default"],"type":"string"},"status":{"enum":["in_progress","completed","incomplete","failed","cancelled"],"type":"string"},"store":{"nullable":true,"type":"boolean"},"stream":{"nullable":true,"type":"boolean"},"temperature":{"format":"float","nullable":true,"type":"number"},"text":{"additionalProperties":true,"description":"Echo of the request's `text` field.","properties":{"format":{"$ref":"#/components/schemas/BytePlusResponseTextFormat"}},"type":"object"},"thinking":{"additionalProperties":true,"properties":{"type":{"enum":["enabled","disabled","auto"],"type":"string"}},"type":"object"},"tool_choice":{"oneOf":[{"enum":["none","auto","required"],"type":"string"},{"$ref":"#/components/schemas/BytePlusResponseToolChoiceObject"}]},"tools":{"items":{"$ref":"#/components/schemas/BytePlusResponseTool"},"type":"array"},"top_p":{"format":"float","nullable":true,"type":"number"},"usage":{"$ref":"#/components/schemas/BytePlusResponseUsage"}},"required":["id","object","created_at","model","status","output"],"type":"object"},"BytePlusResponseOutputContent":{"description":"One content block in an assistant message. `output_text` carries natural-language text and optional annotations; `refusal` carries a refusal message.\n","discriminator":{"mapping":{"output_text":"#/components/schemas/BytePlusResponseOutputText","refusal":"#/components/schemas/BytePlusResponseOutputRefusal"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/BytePlusResponseOutputText"},{"$ref":"#/components/schemas/BytePlusResponseOutputRefusal"}]},"BytePlusResponseOutputItem":{"description":"One item in a response's `output` array. Discriminated by `type`: `message` for assistant messages, `function_call` for tool invocations, `reasoning` for chain-of-thought blocks. Mirrors the input item shapes the model can read back via `previous_response_id`.\n","discriminator":{"mapping":{"function_call":"#/components/schemas/BytePlusResponseInputFunctionCall","message":"#/components/schemas/BytePlusResponseOutputMessage","reasoning":"#/components/schemas/BytePlusResponseInputReasoning"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/BytePlusResponseOutputMessage"},{"$ref":"#/components/schemas/BytePlusResponseInputFunctionCall"},{"$ref":"#/components/schemas/BytePlusResponseInputReasoning"}]},"BytePlusResponseOutputMessage":{"additionalProperties":true,"description":"An assistant message produced by the model.","properties":{"content":{"items":{"$ref":"#/components/schemas/BytePlusResponseOutputContent"},"type":"array"},"id":{"type":"string"},"partial":{"description":"True when this message is a continuation-mode partial reply.","type":"boolean"},"role":{"default":"assistant","enum":["assistant"],"type":"string"},"status":{"enum":["in_progress","completed","incomplete"],"type":"string"},"type":{"default":"message","enum":["message"],"type":"string"}},"required":["type","id","role","content"],"type":"object"},"BytePlusResponseOutputRefusal":{"additionalProperties":true,"properties":{"refusal":{"type":"string"},"type":{"default":"refusal","enum":["refusal"],"type":"string"}},"required":["type","refusal"],"type":"object"},"BytePlusResponseOutputText":{"additionalProperties":true,"properties":{"annotations":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"text":{"type":"string"},"type":{"default":"output_text","enum":["output_text"],"type":"string"}},"required":["type","text"],"type":"object"},"BytePlusResponseTextFormat":{"description":"Text-output format discriminated by `type`. `text` returns natural language, `json_object` returns a free-form JSON object, `json_schema` constrains output to a caller-supplied JSON Schema.\n","discriminator":{"mapping":{"json_object":"#/components/schemas/BytePlusResponseTextFormatJSONObject","json_schema":"#/components/schemas/BytePlusResponseTextFormatJSONSchema","text":"#/components/schemas/BytePlusResponseTextFormatText"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/BytePlusResponseTextFormatText"},{"$ref":"#/components/schemas/BytePlusResponseTextFormatJSONObject"},{"$ref":"#/components/schemas/BytePlusResponseTextFormatJSONSchema"}]},"BytePlusResponseTextFormatJSONObject":{"additionalProperties":true,"properties":{"type":{"default":"json_object","enum":["json_object"],"type":"string"}},"required":["type"],"type":"object"},"BytePlusResponseTextFormatJSONSchema":{"additionalProperties":true,"properties":{"description":{"description":"Hint the model uses when generating the response.","nullable":true,"type":"string"},"name":{"description":"Caller-defined name for the JSON structure.","type":"string"},"schema":{"additionalProperties":true,"description":"JSON Schema the model output must conform to.","type":"object"},"strict":{"default":false,"nullable":true,"type":"boolean"},"type":{"default":"json_schema","enum":["json_schema"],"type":"string"}},"required":["type","name","schema"],"type":"object"},"BytePlusResponseTextFormatText":{"additionalProperties":true,"properties":{"type":{"default":"text","enum":["text"],"type":"string"}},"required":["type"],"type":"object"},"BytePlusResponseTool":{"additionalProperties":true,"description":"A tool the model may invoke. Currently only `function` is supported.","properties":{"description":{"type":"string"},"name":{"type":"string"},"parameters":{"additionalProperties":true,"description":"JSON Schema describing the function's parameters.","type":"object"},"type":{"default":"function","enum":["function"],"type":"string"}},"required":["type","name","parameters"],"type":"object"},"BytePlusResponseToolChoiceObject":{"additionalProperties":true,"description":"Forces the model to call a specific tool. When `type` is `function`, `name` is required.\n","properties":{"name":{"type":"string"},"type":{"enum":["function"],"type":"string"}},"required":["type"],"type":"object"},"BytePlusResponseUsage":{"description":"Token-usage breakdown for billing and observability.","properties":{"input_tokens":{"description":"Total tokens in the request.","type":"integer"},"input_tokens_details":{"additionalProperties":true,"description":"Breakdown of input tokens (cache hits, etc).","properties":{"cached_tokens":{"description":"Tokens served from the context cache.","type":"integer"}},"type":"object"},"output_tokens":{"description":"Total tokens generated by the model.","type":"integer"},"output_tokens_details":{"additionalProperties":true,"description":"Breakdown of output tokens (reasoning, etc).","properties":{"reasoning_tokens":{"description":"Tokens consumed by chain-of-thought.","type":"integer"}},"type":"object"},"tool_usage":{"additionalProperties":true,"description":"Per-tool invocation counts.","properties":{"image_process":{"description":"Number of image-processing tool calls.","type":"integer"},"mcp":{"description":"Number of MCP tool calls.","type":"integer"},"web_search":{"description":"Number of web-search tool invocations.","type":"integer"}},"type":"object"},"tool_usage_details":{"additionalProperties":true,"description":"Per-tool breakdown of sub-tool invocation counts.","properties":{"image_process":{"additionalProperties":true,"description":"e.g. `{\"zoom\":1,\"point\":1,\"grounding\":1}`.","type":"object"},"mcp":{"additionalProperties":true,"description":"e.g. `{\"mcp_server_tos\":1,\"mcp_server_tls\":1}`.","type":"object"},"web_search":{"additionalProperties":true,"description":"e.g. `{\"toutiao\":1,\"moji\":1,\"search_engine\":1}`.","type":"object"}},"type":"object"},"total_tokens":{"description":"input_tokens + output_tokens.","type":"integer"}},"required":["input_tokens","output_tokens","total_tokens"],"type":"object"},"BytePlusTTSAudioConfig":{"description":"Output audio configuration.","properties":{"enable_subtitle":{"description":"Whether to enable the subtitle service. When enabled, the response includes utterance- and word-level timestamps (default: false).\n","type":"boolean"},"format":{"description":"Output audio format: wav (default), mp3, pcm or ogg_opus.","enum":["wav","mp3","pcm","ogg_opus"],"type":"string"},"loudness_rate":{"description":"-50 to 100; 100 means 2.0x volume, -50 means 0.5x volume (default: 0).","maximum":100,"minimum":-50,"type":"integer"},"pitch_rate":{"description":"-12 to 12 (default: 0).","maximum":12,"minimum":-12,"type":"integer"},"sample_rate":{"description":"Output sample rate: 8000, 16000, 24000 (default), 32000, 44100 or 48000.","enum":[8000,16000,24000,32000,44100,48000],"type":"integer"},"speech_rate":{"description":"-50 to 100; 100 means 2.0x speed, -50 means 0.5x speed (default: 0).","maximum":100,"minimum":-50,"type":"integer"}},"type":"object"},"BytePlusTTSCreateInputs":{"description":"Request body for a BytePlus Seed Audio 1.0 generation. The `example` below is the COMFY ROUTER form and deliberately omits `model`, which Router fills from the `{model}` path segment; a direct v1 call to POST /proxy/byteplus/api/v3/tts/create must add `model` to it. One example cannot serve both surfaces — this component is the Router input schema for BOTH seed-audio-1.0 spellings, so an example naming either one is refused by the other model's route for naming a different model, while the omitting form is valid on both.","example":{"audio_config":{"format":"wav","sample_rate":24000},"text_prompt":"Hello from Comfy Router."},"properties":{"audio_config":{"$ref":"#/components/schemas/BytePlusTTSAudioConfig"},"model":{"description":"Model identifier. Supported models: seed-audio-1.0 and seed-audio-1.0-multilingual. A direct v1 call to POST /proxy/byteplus/api/v3/tts/create MUST supply it — the proxy refuses any other value, and an omitted one, with a 400. It is NOT in this schema's `required` list because Comfy Router fills it from the `{model}` path segment of /v2/models/byteplus/{model}, so a Router caller omits it.","nullable":true,"type":"string"},"references":{"description":"Reference resources. Omit for text-only generation. Up to 3 audio references (each up to 30 seconds and 10 MB decoded; wav, mp3, pcm or ogg_opus) or exactly 1 image reference (up to 10 MB decoded; jpeg, png or webp). Image references cannot be mixed with audio references. Those ceilings are BytePlus's and are stated in DECODED bytes: base64 inflates an asset by about 4/3, and a Comfy Router call is capped at 100 MiB for the whole JSON document, so an inline `audio_data`/`image_data` reference sent to /v2/models/byteplus/{model} may carry roughly 75 MB decoded before the transport limit refuses it. BytePlus's own 10 MB per-reference ceiling is therefore what binds first for any single inlined reference, and three audio references at that ceiling now fit in one body; use `audio_url`/`image_url` to keep large assets out of the request entirely.\n","items":{"$ref":"#/components/schemas/BytePlusTTSReference"},"maxItems":3,"type":"array"},"text_prompt":{"description":"Prompt or text to synthesize (1 to 3,000 characters; an empty string is refused). When audio references are provided, reference them by order using @Audio1, @Audio2 and @Audio3.\n","maxLength":3000,"minLength":1,"type":"string"},"watermark":{"$ref":"#/components/schemas/BytePlusTTSWatermark"}},"required":["text_prompt"],"type":"object"},"BytePlusTTSCreateRequest":{"allOf":[{"$ref":"#/components/schemas/BytePlusTTSCreateInputs"},{"properties":{"model":{"type":"string"}},"required":["model","text_prompt"],"type":"object"}],"description":"Request body for the v1 `POST /proxy/byteplus/api/v3/tts/create` proxy.\nIt composes `BytePlusTTSCreateInputs` rather than restating its fields, and adds back the one field only the v1 surface can demand. `model` is that field: this route carries no path segment supplying it, so a direct caller must send it, whereas the Comfy Router route `POST /v2/models/byteplus/{model}` supplies it from the path and its input schema must NOT require it (RouterBodyForTarget writes it in after routervalidate.Guard has validated the caller's bytes, so a required entry would 422 every Router call — BE-11167).\nThe component required `model` and `text_prompt` from the day the proxy was added (#4724, 2026-07-02) until this family was Router-authored, so this wrapper RESTORES a published requirement rather than inventing one. Read the note above `BytePlusTTSCreateInputs` for the full rule and the guard that enforces it."},"BytePlusTTSCreateResponse":{"description":"Response body for a BytePlus Seed Audio 1.0 generation.","properties":{"audio":{"description":"Generated audio data, Base64-encoded.","type":"string"},"code":{"description":"Status code. Refer to the official error-code document for details.","type":"integer"},"duration":{"description":"Duration after speed or post-processing, in seconds.","format":"double","type":"number"},"message":{"description":"Status details.","type":"string"},"original_duration":{"description":"Original model output duration in seconds. Used for billing and capped at 120 seconds.","format":"double","type":"number"},"subtitle":{"$ref":"#/components/schemas/BytePlusTTSSubtitle"},"url":{"description":"Temporary audio URL, valid for 2 hours.","type":"string"}},"type":"object"},"BytePlusTTSReference":{"description":"A single reference resource. For an audio reference, provide exactly one of speaker, audio_data or audio_url. For an image reference, provide exactly one of image_data or image_url.\n","properties":{"audio_data":{"description":"Base64-encoded reference audio.","type":"string"},"audio_url":{"description":"URL of a remote reference audio file.","type":"string"},"image_data":{"description":"Base64-encoded reference image.","type":"string"},"image_url":{"description":"URL of a remote reference image.","type":"string"},"speaker":{"description":"Voice ID. Can be a supported Doubao TTS voice or a voice-clone voice ID.","type":"string"}},"type":"object"},"BytePlusTTSSubtitle":{"description":"Subtitle information for the audio. Present only when audio_config.enable_subtitle is set to true in the request.\n","properties":{"sentences":{"description":"Utterance-level subtitle information.","items":{"$ref":"#/components/schemas/BytePlusTTSSubtitleSegment"},"type":"array"},"text":{"description":"Subtitle text corresponding to the audio.","type":"string"},"words":{"description":"Word-level subtitle information.","items":{"$ref":"#/components/schemas/BytePlusTTSSubtitleSegment"},"type":"array"}},"type":"object"},"BytePlusTTSSubtitleSegment":{"description":"A single subtitle segment with timestamps.","properties":{"end_time":{"description":"Segment end time, in milliseconds from the beginning of the audio.","type":"integer"},"start_time":{"description":"Segment start time, in milliseconds from the beginning of the audio.","type":"integer"},"text":{"description":"The complete text of the segment.","type":"string"}},"type":"object"},"BytePlusTTSWatermark":{"description":"Watermark configuration object. An empty object is accepted.","properties":{"aigc_metadata":{"description":"Implicit watermark. Adds metadata to the synthesized audio header.","properties":{"content_producer":{"description":"Name or code of the synthesis service provider.","type":"string"},"content_propagator":{"description":"Name or code of the content distribution service provider.","type":"string"},"enable":{"description":"Whether to enable the implicit watermark (default: false).","type":"boolean"},"produce_id":{"description":"Content production ID.","type":"string"},"propagate_id":{"description":"Content distribution ID.","type":"string"}},"type":"object"},"aigc_watermark":{"description":"Explicit watermark switch. Adds an audio rhythm marker at the end of the synthesized audio (default: false).\n","type":"boolean"}},"type":"object"},"BytePlusVideoGenerationContent":{"oneOf":[{"properties":{"type":{"enum":["text"]}},"required":["text"]},{"properties":{"type":{"enum":["image_url"]}},"required":["image_url"]},{"properties":{"type":{"enum":["video_url"]}},"required":["video_url"]},{"properties":{"type":{"enum":["audio_url"]}},"required":["audio_url"]},{"properties":{"type":{"enum":["draft_task"]}},"required":["draft_task"]}],"properties":{"audio_url":{"description":"Input audio object. Only Seedance 2.5, 2.0, 2.0 fast \u0026 2.0 mini support audio input. Seedance 2.0, 2.0 fast \u0026 2.0 mini cannot use audio alone - they must include at least 1 image or video; Seedance 2.5 supports audio-only input.","properties":{"url":{"description":"Audio URL, Base64 encoding, or Asset ID.\nAudio URL: Public URL of the audio (wav, mp3).\nBase64: Format data:audio/\u003cformat\u003e;base64,\u003ccontent\u003e\nAsset ID: Format asset://\u003cASSET_ID\u003e\n","type":"string"}},"required":["url"],"type":"object"},"draft_task":{"description":"Seedance 2.5 only. The Draft task to render as the final video. It must be the only content item.\nThe final video reuses the Draft task's prompt, input assets, duration, ratio, seed, generate_audio and omni_reference_task_type; do not send them again. Set resolution on this request for the final's output tier, including 4k; when it is omitted the final is 1080p.\n","properties":{"id":{"description":"The task ID returned when the Draft video was created with `draft` set to true.","type":"string"}},"required":["id"],"type":"object"},"image_url":{"properties":{"url":{"description":"Image content for image-to-video generation (when type is \"image_url\")\nImage URL: Make sure that the image URL is accessible.\nBase64-encoded content: Format must be data:image/\u003cformat\u003e;base64,\u003ccontent\u003e\nAsset ID: Format asset://\u003cASSET_ID\u003e\n","type":"string"}},"required":["url"],"type":"object"},"role":{"description":"The role/position of the content item.\nFor images: first_frame, last_frame, or reference_image.\nFor videos: reference_video (Seedance 2.5, 2.0, 2.0 fast \u0026 2.0 mini only).\nFor audio: reference_audio (Seedance 2.5, 2.0, 2.0 fast \u0026 2.0 mini only).\n","enum":["first_frame","last_frame","reference_image","reference_video","reference_audio"],"type":"string"},"text":{"description":"The input text information for the model. Includes text prompt and optional parameters.\n\nText prompt (required): Description of the video to be generated using Chinese and English characters.\n\nParameters (optional): Add --[parameters] after the text prompt to control video specifications:\n- --resolution (--rs): 480p, 720p, 1080p (default: 720p)\n- --ratio (--rt): 21:9, 16:9, 4:3, 1:1, 3:4, 9:16, 9:21, adaptive (default: 16:9 or adaptive)\n- --duration (--dur): 3-12 seconds (default: 5)\n- --framepersecond (--fps): 24 (default: 24)\n- --watermark (--wm): true/false (default: false)\n- --seed (--seed): -1 to 2^32-1 (default: -1)\n- --camerafixed (--cf): true/false (default: false)\n\nExample: \"A beautiful landscape --ratio 16:9 --resolution 720p --duration 5\"\n\nComfy-side guardrail, not a BytePlus constraint. BytePlus publishes no\ntext-length limit and accepted 40,000 characters under test (2026-09-17).\nIt counts characters, not bytes, so a multi-byte prompt may be several\ntimes this size on the wire. It bounds this one field, not the request:\n`content` is an array, and the per-request body limit is what bounds the\nwhole document. Comfy Router (/v2/models/byteplus/{model}) is the surface\nthat enforces it; on a direct v1 /proxy call BytePlus's own validator\nanswers instead. Set far above real traffic so it never adjudicates a\ngenuine prompt — raise it if a caller needs more.\n","maxLength":100000,"type":"string"},"type":{"description":"The type of the input content","enum":["text","image_url","video_url","audio_url","draft_task"],"type":"string"},"video_url":{"description":"Input video object. Only Seedance 2.5, 2.0, 2.0 fast \u0026 2.0 mini support video input.","properties":{"url":{"description":"Video URL or Asset ID.\nVideo URL: Public URL of the video (mp4, mov).\nAsset ID: Format asset://\u003cASSET_ID\u003e\n","type":"string"}},"required":["url"],"type":"object"}},"required":["type"],"type":"object"},"BytePlusVideoGenerationInputs":{"description":"Request body for a BytePlus Seedance / Dreamina video generation task. The `example` below is the COMFY ROUTER form and deliberately omits `model`, which Router fills from the `{model}` path segment; a direct v1 call to POST /proxy/byteplus/api/v3/contents/generations/tasks must add `model` to it. This text-to-video example omits the `content` item with `type: image_url` and an `image_url.url` that an image-to-video call supplies; text-only models must omit that image item.\n`content` is the whole `required` floor, and it is the floor the v1 surface already published and videoGenerationProxy's Rewrite already refuses an empty value for. Everything else BytePlus accepts varies by model — the per-model resolutions, durations, ratios and input kinds are documented on the individual fields — so the enums and bounds below are the union BytePlus admits across the family and BytePlus stays the authority on which member accepts which value. The exception is `duration`, which Comfy Router also enforces per model.","example":{"content":[{"text":"A red fox trotting through a snowy pine forest","type":"text"}],"duration":5,"ratio":"16:9","resolution":"720p"},"properties":{"callback_url":{"description":"Ignored. Accepted for compatibility with the BytePlus request shape, but removed before the task is submitted, so no callback is ever sent; poll the task status route for the result instead.","format":"uri","type":"string"},"content":{"description":"The input content for the model to generate a video","items":{"$ref":"#/components/schemas/BytePlusVideoGenerationContent"},"minItems":1,"type":"array"},"draft":{"default":false,"description":"Seedance 2.5 only. Generates a 480p Draft video; resolution must be 480p.\nPass the returned task ID in a `draft_task` content item to render the final video. That request sets the final's resolution, including 4k; when resolution is omitted the final is 1080p. The Draft task ID stays valid for 7 days.\n","type":"boolean"},"duration":{"anyOf":[{"enum":[-1]},{"maximum":30,"minimum":2}],"description":"Video duration in seconds. Seedance 2.5: [4,30] or -1 (auto; video editing tasks support only -1 — see `omni_reference_task_type`). Seedance 2.0, 2.0 fast \u0026 2.0 mini: [4,15] or -1 (auto). Seedance 1.0: [2,12].\n","type":"integer"},"execution_expires_after":{"description":"Task timeout threshold in seconds. Default 172800 (48h). Range: [3600, 259200].\n","maximum":259200,"minimum":3600,"type":"integer"},"generate_audio":{"default":true,"description":"Supported by Seedance 2.5, 2.0, 2.0 fast, and 2.0 mini. Whether the generated video includes audio synchronized with the visuals.\ntrue: The model outputs a video with synchronized audio.\nfalse: The model outputs a silent video.\nOn models that support it, the generated audio track is content-checked by the provider separately from the video; a refusal there is reported as `content_policy_violation` and, because the audio differs each run, can be intermittent for an input the provider otherwise accepts. Send `false` for a silent video if that happens; this helps only when the audio was the refused modality, which a synchronous Router response names as `refusal_subject: output_audio` (a queued request does not identify it yet). A Seedance 2.5 final render inherits `generate_audio` from its Draft task, so recreate the Draft with `false` instead.\n","type":"boolean"},"model":{"description":"The ID of the model to call. Supported models: seedance-1-0-pro-250528, seedance-1-0-pro-fast-251015, dreamina-seedance-2-0-260128, dreamina-seedance-2-0-fast-260128, dreamina-seedance-2-0-mini and dreamina-seedance-2-5-260628. A direct v1 call to POST /proxy/byteplus/api/v3/contents/generations/tasks MUST supply it — the proxy refuses any other value, and an omitted one, with a 400. It is NOT in this schema's `required` list because Comfy Router fills it from the `{model}` path segment of /v2/models/byteplus/{model}, so a Router caller omits it.","nullable":true,"type":"string"},"omni_reference_task_type":{"description":"Seedance 2.5 only. The task the reference media is used for. Omitted means auto: the model infers the task from the prompt and the reference media, and a setting that conflicts with its reading (such as `duration` or `ratio` on what it reads as an edit) is resolved only after generation has started, which is billed.\nreference: Generates a new video of the requested `duration`, guided by the reference images, videos and audio.\nedit: Changes the connected reference video. The output keeps the source clip's own length and aspect ratio, so send `duration: -1` and omit `ratio` (or send `adaptive`).\nextend: Continues the reference video. The output is only the newly generated segment, of the requested `duration`; its aspect ratio follows the clip.\nAn explicit value is validated by the provider at submit (`InvalidParameter.TaskTypeConstraint` / `TaskTypeMismatch`), so a value that does not fit the request fails before generation starts and is not billed; auto has no such check. That check runs on the native BytePlus leg only: an alternate provider leg (on fallback, or picked with `model_provider`) has no task-type field, drops the value, and that provider infers the task itself, as with auto. The drop is disclosed in `X-Comfy-Router-Dropped-Params`, on the synchronous run route's response and on the queued submit's `201`. The queued route has no fallback, so it reaches an alternate leg only through `model_provider`.\n","enum":["reference","edit","extend"],"type":"string"},"output_format":{"default":"mp4","description":"Seedance 2.5 only. Container format of the output video.\nmp4: General-purpose container (H.264/AAC, yuv420p) with broad compatibility and smaller file size.\nmov: Professional container (H.264 High 4:4:4 Predictive/PCM, yuv444p) with high color precision, suited for post-production; larger file size.\n","enum":["mp4","mov"],"type":"string"},"ratio":{"description":"Aspect ratio of the generated video. Seedance 2.0, 2.0 fast \u0026 2.0 mini default: adaptive.\nSeedance 2.5 first-frame / first-last-frame generation: the output follows the first frame's aspect ratio, so only `adaptive` (or omitting the field) is accepted; a concrete ratio is refused with a 400 before dispatch. Seedance 2.0 accepts a concrete ratio in those modes.\n","enum":["16:9","4:3","1:1","3:4","9:16","21:9","9:21","adaptive"],"type":"string"},"resolution":{"description":"Video resolution. Seedance 2.5, 2.0, 2.0 fast \u0026 2.0 mini, 1.0 lite default: 720p. Seedance 1.0 pro \u0026 pro-fast default: 1080p.\nNote: Seedance 2.0, 2.0 fast \u0026 2.0 mini do not support 1080p. Seedance 2.5 supports 480p, 720p, 1080p, and 4k.\n","enum":["480p","720p","1080p","4k"],"type":"string"},"return_last_frame":{"default":false,"description":"Whether to return the last frame image of the generated video.\ntrue: Returns the last frame image of the generated video. After setting this parameter to true, you can obtain the last frame image by calling the Querying the information about a video generation task. The last frame image is in PNG format, with its pixel width and height consistent with those of the generated video, and it contains no watermarks. Using this parameter allows the generation of multiple consecutive videos: the last frame of the previously generated video is used as the first frame of the next video task, enabling quick generation of multiple consecutive videos.\nfalse: Does not return the last frame image of the generated video.\n","type":"boolean"},"seed":{"description":"Seed integer for controlling randomness. Range: [-1, 2^32-1]. -1 uses a random seed.\n","maximum":4294967295,"minimum":-1,"type":"integer"},"service_tier":{"description":"Service tier for processing. Seedance 2.5, 2.0 \u0026 2.0 fast do not support flex (offline inference).\n","enum":["default","flex"],"type":"string"},"watermark":{"default":false,"description":"Whether the generated video includes a watermark.","type":"boolean"}},"required":["content"],"type":"object"},"BytePlusVideoGenerationQueryResponse":{"properties":{"content":{"description":"The output after the video generation task is completed, which contains the download URL of the output video and, when BytePlus returns one, the download URL of its last frame. Both `video_url` and `last_frame_url` are RE-HOSTED onto Comfy storage; every other field here is BytePlus's own. Nullable - BytePlus clears the URLs 24 hours after the task, and a succeeded document polled after that can carry `content` absent or null.","nullable":true,"properties":{"last_frame_url":{"description":"Download URL for the last frame of the generated video, returned when the request set `return_last_frame`. Do not infer the image format from this URL: BytePlus documents the last frame as PNG on the request side, Router re-hosts whatever bytes it is served and types them from the upstream Content-Type or a content sniff, and `image/jpeg` is only the last-resort fallback when both fail. Router re-hosts the last frame onto Comfy storage and rewrites this field, so it is normally a Comfy-signed URL valid for up to 24 hours - signed for 24 hours when minted and replayed from a 23-hour memo, so a later poll can hand back one with as little as an hour left. When the re-host could not be performed the field keeps BytePlus's own URL instead, which BytePlus clears 24 hours after the task. Either way the link expires, so download the frame rather than storing the URL.","type":"string"},"output_format":{"description":"Container format of the generated video (mp4 or mov), when BytePlus nests it inside `content`. Seedance models more commonly return it as a TOP-LEVEL sibling of `content` - see the top-level `output_format` field - and Router reads whichever of the two is present.","type":"string"},"upstream_expires_at":{"description":"RFC 3339 time the upstream URLs stop working: the earliest signing time plus validity the URLs themselves carry, never later than the task's `updated_at` plus 24 hours (BytePlus's documented URL life) when `updated_at` is present; otherwise the task's `updated_at` plus 24 hours. Present only when `upstream_video_url` or `upstream_last_frame_url` is, and omitted when neither source gives a time. Unrelated to the lifetime of the re-hosted `video_url` / `last_frame_url`.","format":"date-time","type":"string"},"upstream_last_frame_url":{"description":"BytePlus's own download URL for the last frame, returned byte for byte beside the re-hosted `last_frame_url` on the same terms as `upstream_video_url`: opted-in workspaces only, Seedance 2.x only, absent once BytePlus clears it, and a bearer credential until `upstream_expires_at`.","type":"string"},"upstream_video_url":{"description":"BytePlus's own download URL for the output video, returned byte for byte beside the re-hosted `video_url`. Present ONLY for Seedance 2.x tasks polled by a workspace Comfy has opted in server-side (there is no request parameter); absent for everyone else, including a credential that resolves to no workspace (such as a legacy API key not scoped to one), and absent once BytePlus clears its URLs 24 hours after generation. It is a presigned object-storage URL and therefore a bearer credential: anyone holding it can download the video until it expires, so treat it like a secret. It expires at `upstream_expires_at`, and on Seedance 2.5 BytePlus caps it at 100 downloads, one of which Router's own re-host consumes.","type":"string"},"video_url":{"description":"Download URL for the output video. Router re-hosts the video onto Comfy storage and rewrites this field, so it is normally a Comfy-signed URL valid for up to 24 hours - signed for 24 hours when minted and replayed from a 23-hour memo, so a later poll can hand back one with as little as an hour left. When the re-host could not be performed the field keeps BytePlus's own URL instead, which BytePlus clears 24 hours after the task and caps at 100 downloads on some models. Either way the link expires, so download the video rather than storing the URL.","type":"string"}},"type":"object"},"created_at":{"description":"The time when the task was created. The value is a UNIX timestamp in seconds.","type":"integer"},"duration":{"description":"The duration of the generated video in seconds. Declared as a number rather than an integer because BytePlus is not consistent about it - video tasks have been observed returning whole seconds and sibling BytePlus surfaces report fractional durations - so a client must not assume an integral value. BytePlus's own field, returned on succeeded video tasks and forwarded unchanged.","type":"number"},"error":{"description":"The error information. If the task succeeds, null is returned. If the task fails, the error information is returned.","nullable":true,"properties":{"code":{"$ref":"#/components/schemas/BytePlusErrorCode"},"message":{"description":"The error message","type":"string"}},"type":"object"},"id":{"description":"The ID of the video generation task","type":"string"},"model":{"description":"The name and version of the model used by the task","type":"string"},"output_format":{"description":"Container format of the generated video (mp4 or mov), returned at the TOP LEVEL as a sibling of `content` - this is where the Seedance video task query returns it. BytePlus's own field, forwarded unchanged.","type":"string"},"resolution":{"description":"The resolution of the generated video, for example `1080p`. BytePlus's own field, returned on succeeded video tasks and forwarded unchanged.","type":"string"},"seed":{"description":"The generation seed actually used for the task. BytePlus's own field, returned on succeeded video tasks and forwarded unchanged.","format":"int64","type":"integer"},"status":{"description":"The state of the task","enum":["queued","running","cancelled","succeeded","failed","expired"],"type":"string"},"updated_at":{"description":"The time when the task was last updated. The value is a UNIX timestamp in seconds.","type":"integer"},"usage":{"description":"The token usage for the request","properties":{"completion_tokens":{"description":"The number of tokens generated by the model","type":"integer"},"total_tokens":{"description":"For the video generation model, the number of input tokens is not calculated and defaults to 0. Therefore, total_tokens = completion_tokens.","type":"integer"}},"type":"object"}},"type":"object"},"BytePlusVideoGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/BytePlusVideoGenerationInputs"},{"properties":{"model":{"description":"The ID of the model to call. Available models include seedance-1-0-pro-250528, seedance-1-0-pro-fast-251015","enum":["seedance-1-0-pro-250528","seedance-1-0-pro-fast-251015","dreamina-seedance-2-0-260128","dreamina-seedance-2-0-fast-260128","dreamina-seedance-2-0-mini","dreamina-seedance-2-5-260628","dreamina-seedance-2-5-flash-261115"],"type":"string"}},"required":["model","content"],"type":"object"}],"description":"Request body for the v1 `POST /proxy/byteplus/api/v3/contents/generations/tasks` proxy.\nIt composes `BytePlusVideoGenerationInputs` rather than restating its fields, and adds back the two things only the v1 surface can demand. `model` is both of them: this route carries no path segment supplying it, so a direct caller must send it and must send one of the seven allowlisted spellings, whereas the Comfy Router route `POST /v2/models/byteplus/{model}` supplies it from the path and its input schema must therefore neither require nor enum it (BE-11167). `content` is required on both surfaces and stays in the shared floor.\nThe component has required `model` and `content`, and carried the enum, since the family was added on 2025-08-27 (#637), so this wrapper RESTORES a published requirement rather than inventing one and v1's generated `Model` stays the named enum type callers were compiled against. Read the note above `BytePlusVideoGenerationInputs` for the full rule and the guard that enforces it."},"BytePlusVideoGenerationResponse":{"properties":{"id":{"description":"The ID of the video generation task","type":"string"}},"required":["id"],"type":"object"},"ClaimMyNodeRequest":{"properties":{"GH_TOKEN":{"description":"GitHub token to verify if the user owns the repo of the node","type":"string"}},"required":["GH_TOKEN"],"type":"object"},"CloudSubscriptionHistory":{"description":"Authoritative settings-only provider snapshot, present only when requested and the complete provider history was read successfully. History means a Cloud subscription for this billing workspace existed, regardless of whether an invoice was paid. Other workspace subscriptions and API products are excluded. Missing means unknown. This object never grants access.","properties":{"cancel_at":{"description":"Authoritative provider cancellation date, when present.","format":"date-time","type":"string"},"cancellation_scheduled":{"description":"Provider cancellation is scheduled, even when the exact date is unavailable.","type":"boolean"},"credit_refill_at":{"description":"Raw unambiguous provider period end for the recognized current Cloud price. Settings transport only; not the eligible next_credit_refill_at display fact. Omitted when unknown.","format":"date-time","type":"string"},"credit_refill_period":{"allOf":[{"$ref":"#/components/schemas/SubscriptionDuration"}],"description":"Actual price recurrence cadence accompanying credit_refill_at. The full date/cadence/plan-slug triple is required to use this optional candidate."},"credit_refill_plan_slug":{"description":"Exact recognized current Cloud price's plan slug, accompanying credit_refill_at. Clients must not reconstruct it from admission tier.","type":"string"},"ended_at":{"description":"Actual provider-confirmed end of the terminal subscription; omitted when unknown. Never a scheduled cancellation date.","format":"date-time","type":"string"},"has_history":{"type":"boolean"},"pending_change":{"allOf":[{"$ref":"#/components/schemas/CloudSubscriptionPendingChange"}],"description":"Next provider-owned scheduled plan change; null means the complete snapshot has no upcoming plan change.","nullable":true},"status":{"description":"Current recoverable Cloud subscription status, or latest terminal status when all have ended. Absent when no Cloud history exists.","enum":["active","trialing","past_due","unpaid","paused","incomplete","canceled","incomplete_expired"],"type":"string"}},"required":["has_history","cancellation_scheduled","pending_change"],"type":"object"},"CloudSubscriptionPendingChange":{"properties":{"effective_at":{"format":"date-time","type":"string"},"plan_slug":{"description":"Exact target plan resolved from configured historical Cloud prices or provider catalog metadata.","type":"string"}},"required":["plan_slug","effective_at"],"type":"object"},"ComfyCloudCancellationStatus":{"enum":["cancellation_requested","unchanged"],"type":"string"},"ComfyCloudTaskStatus":{"enum":["queued","running","completed","failed","cancelled"],"type":"string"},"ComfyNode":{"properties":{"category":{"description":"UI category where the node is listed, used for grouping nodes.","type":"string"},"comfy_node_name":{"description":"Unique identifier for the node","type":"string"},"deprecated":{"description":"Indicates if the node is deprecated. Deprecated nodes are hidden in the UI.","type":"boolean"},"description":{"description":"Brief description of the node's functionality or purpose.","type":"string"},"experimental":{"description":"Indicates if the node is experimental, subject to changes or removal.","type":"boolean"},"function":{"description":"Name of the entry-point function to execute the node.","type":"string"},"input_types":{"description":"Defines input parameters","type":"string"},"output_is_list":{"description":"Boolean values indicating if each output is a list.","items":{"type":"boolean"},"type":"array"},"policy":{"$ref":"#/components/schemas/ComfyNodePolicy"},"return_names":{"description":"Names of the outputs for clarity in workflows.","type":"string"},"return_types":{"description":"Specifies the types of outputs produced by the node.","type":"string"}},"type":"object"},"ComfyNodeCloudBuildInfo":{"properties":{"build_id":{"type":"string"},"location":{"type":"string"},"project_id":{"type":"string"},"project_number":{"type":"string"}},"type":"object"},"ComfyNodePolicy":{"enum":["ComfyNodePolicyActive","ComfyNodePolicyBanned","ComfyNodePolicyLocalOnly"],"type":"string"},"ComfyNodeUpdateRequest":{"properties":{"category":{"description":"UI category where the node is listed, used for grouping nodes.","type":"string"},"deprecated":{"description":"Indicates if the node is deprecated. Deprecated nodes are hidden in the UI.","type":"boolean"},"description":{"description":"Brief description of the node's functionality or purpose.","type":"string"},"experimental":{"description":"Indicates if the node is experimental, subject to changes or removal.","type":"boolean"},"function":{"description":"Name of the entry-point function to execute the node.","type":"string"},"input_types":{"description":"Defines input parameters","type":"string"},"output_is_list":{"description":"Boolean values indicating if each output is a list.","items":{"type":"boolean"},"type":"array"},"policy":{"$ref":"#/components/schemas/ComfyNodePolicy"},"return_names":{"description":"Names of the outputs for clarity in workflows.","type":"string"},"return_types":{"description":"Specifies the types of outputs produced by the node.","type":"string"}},"type":"object"},"ComputerToolCall":{"description":"A tool call to a computer use tool. See the\n[computer use guide](/docs/guides/tools-computer-use) for more information.\n","properties":{"action":{"type":"object"},"call_id":{"description":"An identifier used when responding to the tool call with output.\n","type":"string"},"id":{"description":"The unique ID of the computer call.","type":"string"},"pending_safety_checks":{"description":"The pending safety checks for the computer call.\n","items":{"additionalProperties":true,"type":"object"},"type":"array"},"status":{"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"type":"string"},"type":{"default":"computer_call","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"type":"string"}},"required":["type","id","action","call_id","pending_safety_checks","status"],"title":"Computer tool call","type":"object"},"ComputerUsePreviewTool":{"description":"A tool that controls a virtual computer. Learn more about the [computer tool](https://platform.openai.com/docs/guides/tools-computer-use).","properties":{"display_height":{"description":"The height of the computer display.","type":"integer"},"display_width":{"description":"The width of the computer display.","type":"integer"},"environment":{"description":"The type of computer environment to control.","enum":["windows","mac","linux","ubuntu","browser"],"type":"string"},"type":{"default":"computer_use_preview","description":"The type of the computer use tool. Always `computer_use_preview`.","enum":["computer_use_preview"],"type":"string","x-stainless-const":true}},"required":["type","environment","display_width","display_height"],"title":"Computer use preview","type":"object"},"CouponResponse":{"properties":{"amount_off":{"description":"Amount off in cents","type":"integer"},"currency":{"description":"Currency for amount_off","type":"string"},"duration":{"description":"How long the coupon lasts","enum":["once","repeating","forever"],"type":"string"},"duration_in_months":{"description":"Number of months for repeating coupons","type":"integer"},"id":{"description":"The Stripe coupon ID","type":"string"},"max_redemptions":{"description":"Maximum number of times this coupon can be redeemed","type":"integer"},"metadata":{"additionalProperties":{"type":"string"},"description":"Set of key-value pairs for storing additional information","type":"object"},"name":{"description":"Name of the coupon displayed to customers","type":"string"},"percent_off":{"description":"Percent off discount (0-100)","format":"double","type":"number"},"redeem_by":{"description":"Unix timestamp specifying the last time at which the coupon can be redeemed","format":"int64","type":"integer"},"times_redeemed":{"description":"Number of times this coupon has been redeemed","type":"integer"},"valid":{"description":"Whether the coupon can still be redeemed","type":"boolean"}},"required":["id","duration","valid"],"type":"object"},"CreateAPIKeyRequest":{"properties":{"description":{"type":"string"},"name":{"type":"string"}},"required":["name"],"type":"object"},"CreateCouponRequest":{"properties":{"amount_off":{"description":"Amount off in cents","minimum":0,"type":"integer"},"currency":{"description":"Currency for amount_off (required if amount_off is set)","enum":["usd"],"type":"string"},"duration":{"default":"once","description":"How long the coupon lasts","enum":["once","repeating","forever"],"type":"string"},"duration_in_months":{"description":"Required if duration is repeating","minimum":1,"type":"integer"},"max_redemptions":{"description":"Maximum number of times this coupon can be redeemed","minimum":1,"type":"integer"},"metadata":{"additionalProperties":{"type":"string"},"description":"Set of key-value pairs for storing additional information","type":"object"},"name":{"description":"Name of the coupon displayed to customers","type":"string"},"percent_off":{"description":"Percent off discount (0-100)","format":"double","maximum":100,"minimum":0,"type":"number"},"redeem_by":{"description":"Unix timestamp specifying the last time at which the coupon can be redeemed","format":"int64","type":"integer"}},"type":"object"},"CreateCustomerRequest":{"description":"Optional request body for customer creation (BE-1490). Carries the Cloudflare Turnstile token produced by the frontend widget, verified server-side at signup, and the originating client build. All fields are optional; clients that do not run the Turnstile widget may send an empty body or omit the body entirely.","properties":{"signup_source":{"description":"The originating client build, from the frontend __DISTRIBUTION__ define (cloud | desktop | localhost). Attribution only — emitted as the signup_source property on the account:created analytics event and never used to gate, exempt, or authorize anything. Unrecognized values are bucketed to \"other\"; omit for clients that do not set it.","type":"string"},"turnstile_token":{"description":"The Cloudflare Turnstile token (cf-turnstile-response) produced by the frontend widget. Verified server-side against Cloudflare siteverify. Omit or leave empty for clients without Turnstile (e.g. local OSS), which are exempt from the verification requirement.","type":"string"}},"type":"object"},"CreateModelResponseProperties":{"allOf":[{"$ref":"#/components/schemas/ModelResponseProperties"},{"properties":{"model":{"$ref":"#/components/schemas/OpenAIModels"}},"type":"object"}]},"CreatePromoCodeRequest":{"properties":{"coupon_id":{"description":"The Stripe coupon ID to create the promotional code for","type":"string"},"expire_days":{"default":30,"description":"Number of days until the promotion code expires","minimum":1,"type":"integer"},"max_redemptions":{"description":"Maximum number of times this code can be redeemed","minimum":1,"type":"integer"}},"required":["coupon_id"],"type":"object"},"CreatifyAuroraRequest":{"description":"Request body for `POST /proxy/creatify/api/aurora`. The task is billed from the credits Creatify debits once it is done.","properties":{"audio":{"description":"URL of the speech or song: mp3 or wav, up to 59.7 seconds. The video is as long as the audio.","type":"string"},"image":{"description":"URL of the photo to animate: png, jpg, jpeg or webp, 256 to 5760 pixels on each side, an aspect ratio from 1:4 to 4:1, up to 30 MB.","type":"string"},"model_version":{"description":"Model: aurora_v2.","type":"string"},"name":{"description":"A name for the video.","type":"string"},"resolution":{"description":"Output resolution: 480p, 720p (default), 1080p or 2k. 2k takes audio up to 14.375 seconds.","type":"string"},"text_prompt":{"description":"Style, scene, camera, lighting, expression or motion.","type":"string"}},"required":["image","audio","model_version"],"type":"object"},"CreatifyAuroraTask":{"description":"A Creatify Aurora task.","properties":{"audio":{"type":"string"},"created_at":{"type":"string"},"credits_used":{"description":"Credits Creatify debited. Zero until the task is done.","format":"double","nullable":true,"type":"number"},"duration":{"description":"Video length in seconds.","nullable":true,"type":"number"},"failed_reason":{"nullable":true,"type":"string"},"id":{"description":"Task id used to poll for status.","type":"string"},"image":{"type":"string"},"model_version":{"type":"string"},"name":{"nullable":true,"type":"string"},"progress":{"type":"number"},"resolution":{"nullable":true,"type":"string"},"status":{"description":"Task status: pending, in_queue, running, done, failed or rejected.","type":"string"},"text_prompt":{"nullable":true,"type":"string"},"updated_at":{"type":"string"},"video_output":{"description":"URL of the generated video once the task is done.","nullable":true,"type":"string"}},"type":"object"},"CreatifyBorealRequest":{"description":"Request body for `POST /proxy/creatify/api/boreal`. The task is billed from the credits Creatify debits once it is done.","properties":{"aspect_ratio":{"description":"Aspect ratio: auto (default), 16:9, 9:16, 1:1, 4:3 or 3:4.","type":"string"},"duration":{"description":"Video length in whole seconds, 1 to 15. Default 10.","type":"integer"},"end_image_url":{"description":"Closing frame URL. Needs `image_url`.","type":"string"},"image_url":{"description":"Start frame URL. Not used with reference media.","type":"string"},"model":{"description":"Model: boreal-h3.","type":"string"},"negative_prompt":{"description":"What the video must not show.","type":"string"},"prompt":{"description":"What the video shows: subject, action, camera, dialogue and sound. In a reference render, name the references (Image 1, Video 1, Audio 1).","type":"string"},"prompt_enhancement":{"description":"auto (default) rewrites the prompt; none renders it as sent.","type":"string"},"reference_audio_urls":{"description":"Up to 3 reference audio URLs. Needs at least one image or video reference.","items":{"type":"string"},"type":"array"},"reference_image_urls":{"description":"Up to 9 reference image URLs. The first five are free; each one after that is billed.","items":{"type":"string"},"type":"array"},"reference_video_urls":{"description":"Up to 3 reference video URLs, billed per second of their combined length up to 15 seconds.","items":{"type":"string"},"type":"array"},"resolution":{"description":"Output resolution: 768p (default), 1088p or 2k.","type":"string"}},"required":["model","prompt"],"type":"object"},"CreatifyBorealTask":{"description":"A Creatify Boreal task.","properties":{"aspect_ratio":{"type":"string"},"created_at":{"type":"string"},"credits_used":{"description":"Credits Creatify debited. Zero until the task is done.","format":"double","nullable":true,"type":"number"},"duration":{"type":"number"},"end_image_url":{"nullable":true,"type":"string"},"failed_reason":{"nullable":true,"type":"string"},"id":{"description":"Task id used to poll for status.","type":"string"},"image_url":{"nullable":true,"type":"string"},"model":{"type":"string"},"negative_prompt":{"nullable":true,"type":"string"},"progress":{"type":"number"},"prompt":{"type":"string"},"prompt_enhancement":{"type":"string"},"reference_audio_urls":{"items":{"type":"string"},"type":"array"},"reference_image_urls":{"items":{"type":"string"},"type":"array"},"reference_video_urls":{"items":{"type":"string"},"type":"array"},"resolution":{"type":"string"},"status":{"description":"Task status: pending, in_queue, running, done, failed or rejected.","type":"string"},"updated_at":{"type":"string"},"video_output":{"description":"URL of the generated video once the task is done.","nullable":true,"type":"string"}},"type":"object"},"Customer":{"properties":{"createdAt":{"description":"The date and time the user was created","format":"date-time","type":"string"},"email":{"description":"The email address for this user","type":"string"},"has_fund":{"description":"Whether the user has funds","type":"boolean"},"id":{"description":"The firebase UID of the user","type":"string"},"is_admin":{"description":"Whether the user is an admin","type":"boolean"},"is_edu":{"description":"Whether the customer is classified as an education user. Derived from the email domain once the user's email is verified; updates after signup are upward-only.","type":"boolean"},"metronome_id":{"description":"The Metronome customer ID","type":"string"},"name":{"description":"The name for this user","type":"string"},"stripe_id":{"description":"The Stripe customer ID","type":"string"},"subscription_tier":{"allOf":[{"$ref":"#/components/schemas/SubscriptionTier"}],"description":"The cached subscription tier level","nullable":true},"updatedAt":{"description":"The date and time the user was last updated","format":"date-time","type":"string"}},"required":["id"],"type":"object"},"CustomerAdmin":{"properties":{"cloud_subscription_end_date":{"description":"The date when the subscription is set to end (ISO 8601 format)","format":"date-time","nullable":true,"type":"string"},"cloud_subscription_is_active":{"description":"Whether the customer has an active cloud subscription","type":"boolean"},"cloud_subscription_renewal_date":{"description":"The next renewal date for the subscription (ISO 8601 format)","format":"date-time","nullable":true,"type":"string"},"cloud_subscription_subscription_id":{"description":"The active subscription ID if one exists","nullable":true,"type":"string"},"createdAt":{"description":"The date and time the user was created","format":"date-time","type":"string"},"email":{"description":"The email address for this user","type":"string"},"has_fund":{"description":"Whether the user has funds","type":"boolean"},"id":{"description":"The firebase UID of the user","type":"string"},"is_admin":{"description":"Whether the user is an admin","type":"boolean"},"metronome_id":{"description":"The Metronome customer ID","type":"string"},"name":{"description":"The name for this user","type":"string"},"stripe_id":{"description":"The Stripe customer ID","type":"string"},"subscription_tier":{"allOf":[{"$ref":"#/components/schemas/SubscriptionTier"}],"description":"The subscription tier level (e.g. FREE, STANDARD, CREATOR, PRO)","nullable":true},"updatedAt":{"description":"The date and time the user was last updated","format":"date-time","type":"string"}},"required":["id"],"type":"object"},"CustomerStorageResourceResponse":{"properties":{"download_url":{"description":"The signed URL to use for downloading the file from the specified path","type":"string"},"existing_file":{"description":"Whether an existing file with the same hash was found","type":"boolean"},"expires_at":{"description":"When the signed URL will expire","format":"date-time","type":"string"},"upload_url":{"description":"The signed URL to use for uploading the file to the specified path","type":"string"}},"type":"object"},"CustomerUsageTimeSeries":{"description":"Grouped gross spend per billing period, breakdown, and summary for a customer.","properties":{"breakdown":{"description":"Per-group totals over the whole range, ordered by spend descending.","items":{"$ref":"#/components/schemas/UsageBreakdownRow"},"type":"array"},"buckets":{"description":"One entry per (billing period, group) with non-zero gross spend.","items":{"$ref":"#/components/schemas/UsageBucket"},"type":"array"},"ending_before":{"description":"Exclusive end of the returned range.","format":"date-time","type":"string"},"granularity":{"description":"Bucket size of the time series.","enum":["hour","day","month"],"type":"string"},"group_by":{"description":"Dimension the spend is grouped by.","enum":["model","endpoint","product"],"type":"string"},"groups":{"description":"Distinct group keys present in the range, ordered by spend descending.","items":{"type":"string"},"type":"array"},"starting_on":{"description":"Inclusive start of the returned range.","format":"date-time","type":"string"},"summary":{"$ref":"#/components/schemas/UsageSummary"}},"required":["group_by","granularity","starting_on","ending_before","groups","buckets","breakdown","summary"],"type":"object"},"EasyInputMessage":{"description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions.\n","properties":{"content":{"description":"Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n","oneOf":[{"description":"A text input to the model.\n","title":"Text input","type":"string"},{"$ref":"#/components/schemas/InputMessageContentList"}]},"role":{"description":"The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.\n","enum":["user","assistant","system","developer"],"type":"string"},"type":{"description":"The type of the message input. Always `message`.\n","enum":["message"],"type":"string","x-stainless-const":true}},"required":["role","content"],"title":"Input message","type":"object"},"ElevenLabsAudioIsolationRequest":{"description":"Request body for audio isolation (removing background noise)","properties":{"audio":{"description":"The audio file from which vocals/speech will be isolated.","format":"binary","type":"string"},"file_format":{"default":"other","description":"The format of input audio. Options are 'pcm_s16le_16' or 'other'.\nFor pcm_s16le_16, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono).\nLatency will be lower than with passing an encoded waveform.\n","enum":["pcm_s16le_16","other"],"nullable":true,"type":"string"},"preview_b64":{"description":"Optional preview image base64 for tracking this generation.","nullable":true,"type":"string"}},"required":["audio"],"type":"object"},"ElevenLabsCreateVoiceRequest":{"description":"Request body for creating an instant voice clone","properties":{"description":{"description":"A description of the voice.","nullable":true,"type":"string"},"files":{"description":"Audio recordings for voice cloning.","items":{"format":"binary","type":"string"},"type":"array"},"labels":{"description":"JSON string of labels for the voice (language, accent, gender, age).","nullable":true,"type":"string"},"name":{"description":"The name that identifies this voice.","type":"string"},"remove_background_noise":{"default":false,"description":"If set, removes background noise from voice samples using audio isolation.","type":"boolean"}},"required":["name","files"],"type":"object"},"ElevenLabsDialogueInput":{"description":"A single dialogue input containing text and voice ID","properties":{"text":{"description":"The text to be converted into speech.","type":"string"},"voice_id":{"description":"The ID of the voice to be used for the generation.","type":"string"}},"required":["text","voice_id"],"type":"object"},"ElevenLabsDialogueSettings":{"description":"Settings controlling the dialogue generation","nullable":true,"properties":{"stability":{"default":0.5,"description":"Determines how stable the voice is and the randomness between each generation.\nLower values introduce broader emotional range for the voice.\nHigher values can result in a monotonous voice with limited emotion.\n","format":"double","nullable":true,"type":"number"}},"type":"object"},"ElevenLabsPronunciationDictionaryLocator":{"description":"Locator for a pronunciation dictionary","properties":{"pronunciation_dictionary_id":{"description":"The ID of the pronunciation dictionary","type":"string"},"version_id":{"description":"The version ID of the pronunciation dictionary","type":"string"}},"required":["pronunciation_dictionary_id","version_id"],"type":"object"},"ElevenLabsSTTAdditionalFormat":{"description":"Additional format response for transcript export","properties":{"content":{"description":"The content of the additional format.","type":"string"},"content_type":{"description":"The content type of the additional format.","type":"string"},"file_extension":{"description":"The file extension of the additional format.","type":"string"},"is_base64_encoded":{"description":"Whether the content is base64 encoded.","type":"boolean"},"requested_format":{"description":"The requested format.","type":"string"}},"required":["requested_format","file_extension","content_type","is_base64_encoded","content"],"type":"object"},"ElevenLabsSTTCharacter":{"description":"Character information with timing","properties":{"end":{"description":"The end time of the character in seconds.","format":"double","nullable":true,"type":"number"},"start":{"description":"The start time of the character in seconds.","format":"double","nullable":true,"type":"number"},"text":{"description":"The character that was transcribed.","type":"string"}},"required":["text"],"type":"object"},"ElevenLabsSTTDetectedEntity":{"description":"Detected entity in transcript","properties":{"end_char":{"description":"End character position in the transcript text.","type":"integer"},"entity_type":{"description":"The type of entity detected (e.g., 'credit_card', 'email_address', 'person_name').","type":"string"},"start_char":{"description":"Start character position in the transcript text.","type":"integer"},"text":{"description":"The text that was identified as an entity.","type":"string"}},"required":["text","entity_type","start_char","end_char"],"type":"object"},"ElevenLabsSTTExportOptions":{"description":"Export format options for speech-to-text transcripts","properties":{"format":{"description":"The output format for the transcript export.","enum":["segmented_json","docx","pdf","txt","html","srt"],"type":"string"},"include_speakers":{"default":true,"description":"Whether to include speaker labels in the export.","type":"boolean"},"include_timestamps":{"default":true,"description":"Whether to include timestamps in the export.","type":"boolean"},"max_characters_per_line":{"description":"Maximum characters per line (for txt and srt formats).","nullable":true,"type":"integer"},"max_segment_chars":{"description":"Maximum number of characters per segment.","nullable":true,"type":"integer"},"max_segment_duration_s":{"description":"Maximum duration of each segment in seconds.","format":"double","nullable":true,"type":"number"},"segment_on_silence_longer_than_s":{"description":"Segment the transcript when silence is longer than this value in seconds.","format":"double","nullable":true,"type":"number"}},"required":["format"],"type":"object"},"ElevenLabsSTTRequest":{"description":"Request body for ElevenLabs Speech-to-Text","properties":{"additional_formats":{"description":"A list of additional formats to export the transcript to.","items":{"$ref":"#/components/schemas/ElevenLabsSTTExportOptions"},"nullable":true,"type":"array"},"cloud_storage_url":{"description":"The HTTPS URL of the file to transcribe. Exactly one of file or cloud_storage_url parameters must be provided.\nThe file must be accessible via HTTPS. Its size is checked against the same limit as the\nfile parameter (256 MiB by default, at most 1 GiB for a URL): a file whose declared or\nread size exceeds it is refused with 400.\n","nullable":true,"type":"string"},"diarization_threshold":{"description":"Diarization threshold to apply during speaker diarization.\nA higher value means there will be a lower chance of one speaker being diarized as two different speakers.\nCan only be set when diarize=True and num_speakers=None. Defaults to None.\n","format":"double","nullable":true,"type":"number"},"diarize":{"default":false,"description":"Whether to annotate which speaker is currently talking in the uploaded file.","type":"boolean"},"entity_detection":{"description":"Detect entities in the transcript. Can be 'all' to detect all entities,\na single entity type or category string, or a list of entity types/categories.\nCategories include 'pii', 'phi', 'pci', 'other', 'offensive_language'.\nWhen enabled, detected entities will be returned in the 'entities' field\nwith their text, type, and character positions. Usage of this parameter will incur additional costs.\n","nullable":true,"oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"file":{"description":"The file to transcribe. All major audio and video formats are supported.\nExactly one of file or cloud_storage_url parameters must be provided.\nThe file must not exceed this route's upload size limit (256 MiB by default).\n","format":"binary","type":"string"},"file_format":{"default":"other","description":"The format of input audio. Options are 'pcm_s16le_16' or 'other'.\nFor pcm_s16le_16, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono).\n","enum":["pcm_s16le_16","other"],"type":"string"},"keyterms":{"description":"A list of keyterms to bias the transcription towards.\nThe number of keyterms cannot exceed 100 and each keyterm must be less than 50 characters.\n","items":{"type":"string"},"nullable":true,"type":"array"},"language_code":{"description":"An ISO-639-1 or ISO-639-3 language_code corresponding to the language of the audio file.\nCan sometimes improve transcription performance if known beforehand.\nDefaults to null, in this case the language is predicted automatically.\n","nullable":true,"type":"string"},"model_id":{"description":"The ID of the model to use for transcription.","enum":["scribe_v1","scribe_v2"],"type":"string"},"num_speakers":{"description":"The maximum amount of speakers talking in the uploaded file.\nCan help with predicting who speaks when. The maximum amount of speakers that can be predicted is 32.\nDefaults to null, in this case the amount of speakers is set to the maximum value the model supports.\n","nullable":true,"type":"integer"},"seed":{"description":"If specified, our system will make a best effort to sample deterministically.\nMust be an integer between 0 and 2147483647.\n","maximum":2147483647,"minimum":0,"nullable":true,"type":"integer"},"tag_audio_events":{"default":true,"description":"Whether to tag audio events like (laughter), (footsteps), etc. in the transcription.","type":"boolean"},"temperature":{"description":"Controls the randomness of the transcription output. Accepts values between 0.0 and 2.0.\nHigher values result in more diverse and less deterministic results.\n","format":"double","nullable":true,"type":"number"},"timestamps_granularity":{"default":"word","description":"The granularity of the timestamps in the transcription.\n'word' provides word-level timestamps and 'character' provides character-level timestamps per word.\n","enum":["none","word","character"],"type":"string"},"use_multi_channel":{"default":false,"description":"Whether the audio file contains multiple channels where each channel contains a single speaker.\nWhen enabled, each channel will be transcribed independently and the results will be combined.\nA maximum of 5 channels is supported.\n","type":"boolean"},"webhook":{"default":false,"description":"Not supported on this route: webhook delivery is unavailable, so a true value is refused\nwith 400. Omit it or send false; the transcript is returned in the response.\n","type":"boolean"},"webhook_id":{"description":"Optional specific webhook ID to send the transcription result to.\nOnly valid when webhook is set to true.\n","nullable":true,"type":"string"},"webhook_metadata":{"description":"Optional metadata to be included in the webhook response.\nThis should be a JSON string representing an object with a maximum depth of 2 levels and maximum size of 16KB.\n","nullable":true,"type":"string"}},"required":["model_id"],"type":"object"},"ElevenLabsSTTResponse":{"description":"Response from ElevenLabs Speech-to-Text","properties":{"additional_formats":{"description":"Requested additional formats of the transcript.","items":{"$ref":"#/components/schemas/ElevenLabsSTTAdditionalFormat"},"nullable":true,"type":"array"},"audio_duration_secs":{"description":"Duration in seconds of the audio ElevenLabs transcribed, as reported by ElevenLabs.","format":"double","nullable":true,"type":"number"},"channel_index":{"description":"The channel index this transcript belongs to (for multichannel audio).","nullable":true,"type":"integer"},"entities":{"description":"List of detected entities with their text, type, and character positions.","items":{"$ref":"#/components/schemas/ElevenLabsSTTDetectedEntity"},"nullable":true,"type":"array"},"language_code":{"description":"The detected language code (e.g. 'eng' for English).","type":"string"},"language_probability":{"description":"The confidence score of the language detection (0 to 1).","format":"double","type":"number"},"message":{"description":"Message for webhook responses.","nullable":true,"type":"string"},"request_id":{"description":"Request ID for webhook responses.","nullable":true,"type":"string"},"text":{"description":"The raw text of the transcription.","type":"string"},"transcription_id":{"description":"The transcription ID of the response.","nullable":true,"type":"string"},"transcripts":{"description":"List of transcripts for multichannel audio (when use_multi_channel is true).","items":{"$ref":"#/components/schemas/ElevenLabsSTTTranscript"},"nullable":true,"type":"array"},"words":{"description":"List of words with their timing information.","items":{"$ref":"#/components/schemas/ElevenLabsSTTWord"},"type":"array"}},"type":"object"},"ElevenLabsSTTTranscript":{"description":"Individual transcript for multichannel audio","properties":{"additional_formats":{"description":"Requested additional formats.","items":{"$ref":"#/components/schemas/ElevenLabsSTTAdditionalFormat"},"nullable":true,"type":"array"},"channel_index":{"description":"The channel index this transcript belongs to.","nullable":true,"type":"integer"},"entities":{"description":"List of detected entities.","items":{"$ref":"#/components/schemas/ElevenLabsSTTDetectedEntity"},"nullable":true,"type":"array"},"language_code":{"description":"The detected language code.","type":"string"},"language_probability":{"description":"The confidence score of the language detection.","format":"double","type":"number"},"text":{"description":"The raw text of the transcription.","type":"string"},"words":{"description":"List of words with their timing information.","items":{"$ref":"#/components/schemas/ElevenLabsSTTWord"},"type":"array"}},"type":"object"},"ElevenLabsSTTWord":{"description":"Word information from speech-to-text transcription","properties":{"characters":{"description":"The characters that make up the word and their timing information.","items":{"$ref":"#/components/schemas/ElevenLabsSTTCharacter"},"nullable":true,"type":"array"},"end":{"description":"The end time of the word or sound in seconds.","format":"double","nullable":true,"type":"number"},"logprob":{"description":"The log of the probability with which this word was predicted.\nLogprobs are in range [-infinity, 0], higher logprobs indicate higher confidence.\n","format":"double","type":"number"},"speaker_id":{"description":"Unique identifier for the speaker of this word.","nullable":true,"type":"string"},"start":{"description":"The start time of the word or sound in seconds.","format":"double","nullable":true,"type":"number"},"text":{"description":"The word or sound that was transcribed.","type":"string"},"type":{"description":"The type of the word or sound.\n'audio_event' is used for non-word sounds like laughter or footsteps.\n","enum":["word","spacing","audio_event"],"type":"string"}},"required":["text","type","logprob"],"type":"object"},"ElevenLabsSharedVoice":{"properties":{"accent":{"type":"string"},"age":{"type":"string"},"category":{"enum":["generated","cloned","premade","professional","famous","high_quality"],"type":"string"},"cloned_by_count":{"type":"integer"},"date_unix":{"type":"integer"},"description":{"nullable":true,"type":"string"},"descriptive":{"type":"string"},"featured":{"type":"boolean"},"fiat_rate":{"description":"The rate of the voice in USD per 1000 credits. null if default.","format":"double","nullable":true,"type":"number"},"free_users_allowed":{"type":"boolean"},"gender":{"type":"string"},"image_url":{"nullable":true,"type":"string"},"instagram_username":{"nullable":true,"type":"string"},"is_added_by_user":{"nullable":true,"type":"boolean"},"is_bookmarked":{"nullable":true,"type":"boolean"},"language":{"nullable":true,"type":"string"},"live_moderation_enabled":{"type":"boolean"},"locale":{"nullable":true,"type":"string"},"name":{"type":"string"},"notice_period":{"nullable":true,"type":"integer"},"play_api_usage_character_count_1y":{"type":"integer"},"preview_url":{"nullable":true,"type":"string"},"public_owner_id":{"type":"string"},"rate":{"format":"double","nullable":true,"type":"number"},"tiktok_username":{"nullable":true,"type":"string"},"twitter_username":{"nullable":true,"type":"string"},"usage_character_count_1y":{"type":"integer"},"usage_character_count_7d":{"type":"integer"},"use_case":{"type":"string"},"verified_languages":{"description":"The verified languages of the voice.","items":{"$ref":"#/components/schemas/ElevenLabsVerifiedVoiceLanguage"},"nullable":true,"type":"array"},"voice_id":{"type":"string"},"youtube_username":{"nullable":true,"type":"string"}},"required":["public_owner_id","voice_id","date_unix","name","accent","gender","age","descriptive","use_case","category","usage_character_count_1y","usage_character_count_7d","play_api_usage_character_count_1y","cloned_by_count","free_users_allowed","live_moderation_enabled","featured"],"type":"object"},"ElevenLabsSharedVoicesPaginatedResponse":{"description":"Paginated response shape returned by the shared-voices proxy to match the\nfrontend's `RichComboWidget` progressive-fetch contract.\n","properties":{"has_more":{"description":"Whether there are more shared voices in subsequent pages.","type":"boolean"},"items":{"description":"The list of shared voices on this page.","items":{"$ref":"#/components/schemas/ElevenLabsSharedVoice"},"type":"array"}},"required":["items","has_more"],"type":"object"},"ElevenLabsSoundGenerationInputs":{"description":"Request body for generating sound effects from text. The `example` below is the COMFY ROUTER form and omits `model_id`, which Router fills from the `{model}` path segment; a direct v1 call to POST /proxy/elevenlabs/v1/sound-generation may send it, and the route admits only the Comfy ids in that request's `model_id` enum. Each is Comfy's id for an ElevenLabs model: `eleven_sfx_v2` is the model ElevenLabs calls `eleven_text_to_sound_v2`. The proxy forwards the vendor spelling, so no caller sends it.","example":{"duration_seconds":5,"text":"A distant rumble of thunder rolling across a valley."},"properties":{"duration_seconds":{"description":"The duration of the sound which will be generated in seconds.\nMust be at least 0.5 and at most 30.\nREQUIRED on this route: unlike the upstream ElevenLabs API, which\nguesses an optimal duration when the field is null, this route\nrejects a request that omits it with 400 \"Duration is required\".\nThe field stays nullable only so an explicit null is a well-formed\ndocument; it is still refused.\nThis value is the quantity the request is metered on.\n","format":"double","maximum":30,"minimum":0.5,"nullable":true,"type":"number"},"loop":{"default":false,"description":"Whether to create a sound effect that loops smoothly.\n","type":"boolean"},"model_id":{"description":"The model ID to use for the sound generation. This route admits\nonly the Comfy ids in the v1 request's enum; any other value is\nrejected with 400 before the request reaches ElevenLabs. Each is\nComfy's id for an ElevenLabs model ('eleven_sfx_v2' is the model\nElevenLabs calls 'eleven_text_to_sound_v2'). The proxy rewrites the\nforwarded body to the vendor spelling, which ElevenLabs' own enum\nrequires (it refuses 'eleven_sfx_v2' with 422), so a caller never\nsends the vendor id. It is NOT in this\nschema's `required` list because Comfy Router fills it from the\n`{model}` path segment of /v2/models/elevenlabs/{model}, so a Router\ncaller omits it.\n","nullable":true,"type":"string"},"prompt_influence":{"description":"A higher prompt influence makes your generation follow the prompt\nmore closely while also making generations less variable.\nMust be a value between 0 and 1. Defaults to 0.3.\n","format":"double","maximum":1,"minimum":0,"type":"number"},"text":{"description":"The text that will get converted into a sound effect.","type":"string"}},"required":["text","duration_seconds"],"type":"object"},"ElevenLabsSoundGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/ElevenLabsSoundGenerationInputs"},{"properties":{"model_id":{"default":"eleven_sfx_v2","description":"'eleven_sfx_v2' (the default) is forwarded as ElevenLabs'\n'eleven_text_to_sound_v2'. 'eleven_sfx_v3' is forwarded as\n'eleven_text_to_sound_v3'.\n","enum":["eleven_sfx_v2","eleven_sfx_v3"],"type":"string"}},"type":"object"}],"description":"Request body for the v1 `POST /proxy/elevenlabs/v1/sound-generation` proxy. It composes `ElevenLabsSoundGenerationInputs` and RESTORES the `model_id` enum and default the Router-safe base cannot carry (BE-11167, BE-12265). `required` is unchanged in both directions: `model_id` was never required on this route, so nothing is tightened here either."},"ElevenLabsSpeechToSpeechRequest":{"description":"Request body for ElevenLabs Speech-to-Speech (Voice Changer)","properties":{"audio":{"description":"The audio file which holds the content and emotion that will control the generated speech.","format":"binary","type":"string"},"file_format":{"default":"other","description":"The format of input audio. Options are 'pcm_s16le_16' or 'other'.\nFor pcm_s16le_16, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono).\n","enum":["pcm_s16le_16","other"],"nullable":true,"type":"string"},"model_id":{"default":"eleven_english_sts_v2","description":"Identifier of the model that will be used. Query GET /v1/models to list available models.\nThe model needs to have support for speech to speech (can_do_voice_conversion property).\n","type":"string"},"remove_background_noise":{"default":false,"description":"If set, will remove the background noise from your audio input using our audio isolation model.\nOnly applies to Voice Changer.\n","type":"boolean"},"seed":{"description":"If specified, our system will make a best effort to sample deterministically.\nRepeated requests with the same seed and parameters should return the same result.\nMust be integer between 0 and 4294967295.\n","maximum":4294967295,"minimum":0,"nullable":true,"type":"integer"},"voice_settings":{"description":"Voice settings overriding stored settings for the given voice.\nThey are applied only on the given request. Needs to be sent as a JSON encoded string.\n","nullable":true,"type":"string"}},"required":["audio"],"type":"object"},"ElevenLabsTTSRequest":{"description":"Request body for ElevenLabs Text to Speech","properties":{"apply_language_text_normalization":{"default":false,"description":"Controls language-specific text normalization. Can heavily increase latency. Currently only supported for Japanese.","type":"boolean"},"apply_text_normalization":{"default":"auto","description":"Controls text normalization. 'auto' lets the system decide, 'on' always applies normalization,\n'off' skips normalization.\n","enum":["auto","on","off"],"type":"string"},"language_code":{"description":"Language code (ISO 639-1) to enforce for the model. If unsupported, an error is returned.","nullable":true,"type":"string"},"model_id":{"default":"eleven_multilingual_v2","description":"Identifier of the model to use. Query /v1/models to list available models.","nullable":true,"type":"string"},"next_request_ids":{"description":"Request IDs of next generations for continuity. Maximum 3.","items":{"type":"string"},"maxItems":3,"nullable":true,"type":"array"},"next_text":{"description":"Text that comes after this request, used to improve speech continuity.","nullable":true,"type":"string"},"previous_request_ids":{"description":"Request IDs of previous generations for continuity. Maximum 3.","items":{"type":"string"},"maxItems":3,"nullable":true,"type":"array"},"previous_text":{"description":"Text that came before this request, used to improve speech continuity.","nullable":true,"type":"string"},"pronunciation_dictionary_locators":{"description":"List of pronunciation dictionary locators (id, version_id). Maximum 3 per request.","items":{"$ref":"#/components/schemas/ElevenLabsPronunciationDictionaryLocator"},"maxItems":3,"nullable":true,"type":"array"},"seed":{"description":"Seed for deterministic generation. Must be between 0 and 4294967295.","maximum":4294967295,"minimum":0,"nullable":true,"type":"integer"},"text":{"description":"The text that will be converted into speech.","type":"string"},"use_pvc_as_ivc":{"default":false,"description":"Deprecated. If true, uses IVC version of voice instead of PVC.","type":"boolean"},"voice_settings":{"$ref":"#/components/schemas/ElevenLabsVoiceSettings"}},"required":["text"],"type":"object"},"ElevenLabsTextToDialogueInputs":{"description":"Request body for ElevenLabs Text-to-Dialogue (multi-voice TTS). The `example` below is the COMFY ROUTER form and omits `model_id`, which Router fills from the `{model}` path segment; a direct v1 call to POST /proxy/elevenlabs/v1/text-to-dialogue may send it, and the route admits `eleven_v3`, `eleven_v4` and `eleven_v4_turbo`.","example":{"inputs":[{"text":"Hello from Comfy Router.","voice_id":"21m00Tcm4TlvDq8ikWAM"}]},"properties":{"apply_text_normalization":{"default":"auto","description":"Controls text normalization with three modes:\n'auto' - system automatically decides whether to apply text normalization\n'on' - text normalization will always be applied\n'off' - text normalization will be skipped\n","enum":["auto","on","off"],"type":"string"},"inputs":{"description":"A list of dialogue inputs, each containing text and a voice ID which will be converted into speech.\nThe maximum number of unique voice IDs is 10.\n","items":{"$ref":"#/components/schemas/ElevenLabsDialogueInput"},"minItems":1,"type":"array"},"language_code":{"description":"Language code (ISO 639-1) used to enforce a language for the model and text normalization.\nIf the model does not support provided language code, an error will be returned.\n","nullable":true,"type":"string"},"model_id":{"description":"Identifier of the model that will be used. This route admits\n'eleven_v3', 'eleven_v4' and 'eleven_v4_turbo' and nothing else;\nany other value is rejected with 400 before the request reaches\nElevenLabs.\nThe upstream ElevenLabs advice to query GET /v1/models for the\navailable set does NOT describe this route, which serves only these\nmodels.\nIt is NOT in this schema's `required` list because Comfy Router\nfills it from the `{model}` path segment of\n/v2/models/elevenlabs/{model}, so a Router caller omits it.\n","nullable":true,"type":"string"},"pronunciation_dictionary_locators":{"description":"A list of pronunciation dictionary locators (id, version_id) to be applied to the text.\nThey will be applied in order. You may have up to 3 locators per request.\n","items":{"$ref":"#/components/schemas/ElevenLabsPronunciationDictionaryLocator"},"maxItems":3,"nullable":true,"type":"array"},"seed":{"description":"If specified, our system will make a best effort to sample deterministically.\nRepeated requests with the same seed and parameters should return the same result.\nMust be integer between 0 and 4294967295.\n","maximum":4294967295,"minimum":0,"nullable":true,"type":"integer"},"settings":{"$ref":"#/components/schemas/ElevenLabsDialogueSettings"}},"required":["inputs"],"type":"object"},"ElevenLabsTextToDialogueRequest":{"allOf":[{"$ref":"#/components/schemas/ElevenLabsTextToDialogueInputs"},{"properties":{"model_id":{"default":"eleven_v3","enum":["eleven_v3","eleven_v4","eleven_v4_turbo"],"type":"string"}},"type":"object"}],"description":"Request body for the v1 `POST /proxy/elevenlabs/v1/text-to-dialogue` proxy. It composes `ElevenLabsTextToDialogueInputs` and RESTORES the `model_id` enum and default the Router-safe base cannot carry (BE-11167, BE-12265). `required` is unchanged in both directions: `model_id` was never required on this route, so nothing is tightened here either."},"ElevenLabsValidationError":{"description":"Validation error response from ElevenLabs","properties":{"detail":{"description":"Details about the validation error","properties":{"message":{"description":"Error message","type":"string"},"status":{"description":"Error status","type":"string"}},"type":"object"}},"type":"object"},"ElevenLabsVerifiedVoiceLanguage":{"properties":{"accent":{"description":"The voice's accent, if applicable.","nullable":true,"type":"string"},"language":{"description":"The language of the voice.","type":"string"},"locale":{"description":"The voice's locale, if applicable.","nullable":true,"type":"string"},"model_id":{"description":"The voice's model ID.","type":"string"},"preview_url":{"description":"The voice's preview URL, if applicable.","nullable":true,"type":"string"}},"required":["language","model_id"],"type":"object"},"ElevenLabsVoice":{"description":"A voice from the authenticated account's voice library (e.g. a premade voice).","properties":{"category":{"description":"Voice category (e.g. \"premade\", \"cloned\", \"generated\", \"professional\").","type":"string"},"description":{"nullable":true,"type":"string"},"labels":{"additionalProperties":{"type":"string"},"description":"Free-form string labels attached to the voice (e.g. accent, gender, age, use_case).","nullable":true,"type":"object"},"name":{"type":"string"},"preview_url":{"nullable":true,"type":"string"},"verified_languages":{"description":"The verified languages of the voice.","items":{"$ref":"#/components/schemas/ElevenLabsVerifiedVoiceLanguage"},"nullable":true,"type":"array"},"voice_id":{"type":"string"}},"required":["voice_id","name","category"],"type":"object"},"ElevenLabsVoiceSettings":{"description":"Voice settings configuration","nullable":true,"properties":{"similarity_boost":{"default":0.75,"description":"How closely the AI adheres to the original voice when replicating it.","format":"double","maximum":1,"minimum":0,"nullable":true,"type":"number"},"speed":{"default":1,"description":"Speed adjustment. 1.0 is default, values below slow down, values above speed up.","format":"double","maximum":1.2,"minimum":0.7,"nullable":true,"type":"number"},"stability":{"default":0.5,"description":"Stability of the voice. Lower values introduce broader emotional range.","format":"double","maximum":1,"minimum":0,"nullable":true,"type":"number"},"style":{"default":0,"description":"Style exaggeration. Amplifies the style of the original speaker.","format":"double","maximum":1,"minimum":0,"nullable":true,"type":"number"},"use_speaker_boost":{"default":true,"description":"Boosts similarity to the original speaker. Requires higher computational load.","nullable":true,"type":"boolean"}},"type":"object"},"ElevenLabsVoicesPaginatedResponse":{"description":"Paginated response shape returned by the premade-voices proxy.\nMirrors ElevenLabs `/v2/voices`, renaming `voices` to `items` to\nmatch the frontend's `RichComboWidget` progressive-fetch contract.\n","properties":{"has_more":{"description":"Whether there are more voices in subsequent pages.","type":"boolean"},"items":{"description":"The list of premade voices on this page.","items":{"$ref":"#/components/schemas/ElevenLabsVoice"},"type":"array"},"next_page_token":{"description":"Cursor to pass to the next request to fetch the next page.","nullable":true,"type":"string"}},"required":["items","has_more"],"type":"object"},"Error":{"properties":{"details":{"description":"Optional detailed information about the error or hints for resolving it.","items":{"type":"string"},"type":"array"},"message":{"description":"A clear and concise description of the error.","type":"string"}},"type":"object"},"ErrorResponse":{"properties":{"error":{"type":"string"},"message":{"type":"string"}},"required":["error","message"],"type":"object"},"FalCrystalUpscalerImage":{"description":"An upscaled image file.","properties":{"content_type":{"description":"MIME type of the image file.","nullable":true,"type":"string"},"file_name":{"description":"Name of the image file.","nullable":true,"type":"string"},"file_size":{"description":"Size of the image file in bytes.","nullable":true,"type":"integer"},"height":{"description":"Height of the image in pixels. fal sends null.","nullable":true,"type":"integer"},"url":{"description":"URL of the upscaled image.","type":"string"},"width":{"description":"Width of the image in pixels. fal sends null.","nullable":true,"type":"integer"}},"required":["url"],"type":"object"},"FalCrystalUpscalerRequest":{"description":"Request body for Clarity AI's Crystal Upscaler on fal (clarityai/crystal-upscaler): upscale a single image, with a focus on faces, skin and eyes.","example":{"image_url":"https://storage.googleapis.com/falserverless/gallery/patina-blog-hero-render.png","scale_factor":2},"properties":{"creativity":{"default":0,"description":"How much new detail the model may invent. 0 keeps closest to the input.","maximum":10,"minimum":0,"type":"number"},"image_url":{"description":"URL of the input image (JPEG, PNG, WebP, GIF or AVIF, at most 100 MB).","type":"string"},"output_format":{"default":"jpg","description":"Output image format: png or jpg.","type":"string"},"scale_factor":{"default":2,"description":"Factor applied to each side of the input image. fal bills per output megapixel, so the price grows with the square of this value.","maximum":200,"minimum":1,"type":"number"}},"required":["image_url"],"type":"object"},"FalCrystalUpscalerResponse":{"description":"Result of a completed Clarity AI Crystal Upscaler request.","properties":{"images":{"description":"The upscaled images.","items":{"$ref":"#/components/schemas/FalCrystalUpscalerImage"},"type":"array"}},"required":["images"],"type":"object"},"FalCrystalVideoUpscalerRequest":{"description":"Request body for Clarity AI's Crystal Video Upscaler on fal (clarityai/crystal-video-upscaler): upscale a single video.","example":{"scale_factor":2,"video_url":"https://storage.googleapis.com/falserverless/example_inputs/crystal_upscaler/video_upscaling/video_in.mp4"},"properties":{"scale_factor":{"default":2,"description":"Factor applied to each side of the input video. The upscaled video must not exceed 5K. fal bills per output megapixel per second, so the price grows with the square of this value.","maximum":200,"minimum":1,"type":"number"},"video_url":{"description":"URL of the input video (MP4, MOV, WebM, M4V or GIF).","type":"string"}},"required":["video_url"],"type":"object"},"FalCrystalVideoUpscalerResponse":{"description":"Result of a completed Clarity AI Crystal Video Upscaler request.","properties":{"video":{"$ref":"#/components/schemas/FalCrystalVideoUpscalerVideo"}},"required":["video"],"type":"object"},"FalCrystalVideoUpscalerVideo":{"description":"The upscaled video file.","properties":{"content_type":{"description":"MIME type of the video file.","nullable":true,"type":"string"},"duration":{"description":"Duration of the video in seconds.","nullable":true,"type":"number"},"file_name":{"description":"Name of the video file.","nullable":true,"type":"string"},"file_size":{"description":"Size of the video file in bytes.","nullable":true,"type":"integer"},"fps":{"description":"Frame rate of the video.","nullable":true,"type":"number"},"height":{"description":"Height of the video in pixels.","nullable":true,"type":"integer"},"num_frames":{"description":"Number of frames in the video.","nullable":true,"type":"integer"},"url":{"description":"URL of the upscaled video.","type":"string"},"width":{"description":"Width of the video in pixels.","nullable":true,"type":"integer"}},"required":["url"],"type":"object"},"FalFlux3MaxImageToVideoRequest":{"description":"Request body for Black Forest Labs' FLUX 3 Max image-to-video model on fal (blackforestlabs/flux-3-max/image-to-video): generate a video with audio from a text prompt, a start frame and an optional end frame.","properties":{"aspect_ratio":{"default":"auto","description":"Aspect ratio of the generated video. auto is 16:9 for a text prompt and follows the first image otherwise.","enum":["auto","21:9","2:1","16:9","4:3","1:1","3:4","9:16"],"type":"string"},"duration":{"default":5,"description":"Duration of the generated video in seconds, 5 to 20. fal bills per second of this value.","maximum":20,"minimum":5,"type":"integer"},"end_image_url":{"description":"URL of the optional end frame (PNG, JPEG or WebP).","nullable":true,"type":"string"},"generate_audio":{"default":true,"description":"Generate synchronized audio. The price is the same.","type":"boolean"},"image_url":{"description":"URL of the start frame (PNG, JPEG or WebP).","type":"string"},"prompt":{"description":"Text prompt that describes how the video unfolds from the image.","minLength":1,"type":"string"},"reasoning_level":{"default":"high","description":"How much the model reasons about and expands the prompt before generation. high is slower. The price is the same.","enum":["low","high"],"type":"string"},"resolution":{"default":"720p","description":"Resolution of the generated video. 1080p costs more per second than 720p.","enum":["720p","1080p"],"type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","nullable":true,"type":"integer"}},"required":["prompt","image_url"],"type":"object"},"FalFlux3MaxKeyframe":{"description":"One keyframe image and its frame position.","properties":{"frame_index":{"description":"Frame position of the image in the 24 FPS output, at most duration * 24.","minimum":0,"type":"integer"},"image_url":{"description":"URL of the keyframe image (PNG, JPEG or WebP).","type":"string"}},"required":["image_url","frame_index"],"type":"object"},"FalFlux3MaxKeyframesToVideoRequest":{"description":"Request body for Black Forest Labs' FLUX 3 Max keyframes-to-video model on fal (blackforestlabs/flux-3-max/keyframes-to-video): generate a video with audio from a text prompt and 1 to 10 keyframe images pinned to frame positions.","properties":{"aspect_ratio":{"default":"auto","description":"Aspect ratio of the generated video. auto is 16:9 for a text prompt and follows the first image otherwise.","enum":["auto","21:9","2:1","16:9","4:3","1:1","3:4","9:16"],"type":"string"},"duration":{"default":5,"description":"Duration of the generated video in seconds, 5 to 20. fal bills per second of this value.","maximum":20,"minimum":5,"type":"integer"},"generate_audio":{"default":true,"description":"Generate synchronized audio. The price is the same.","type":"boolean"},"keyframes":{"description":"Keyframe images pinned to frame positions in the 24 FPS output. Each frame_index must be unique.","items":{"$ref":"#/components/schemas/FalFlux3MaxKeyframe"},"maxItems":10,"minItems":1,"type":"array"},"prompt":{"description":"Text prompt that describes how the video moves between keyframes.","minLength":1,"type":"string"},"reasoning_level":{"default":"high","description":"How much the model reasons about and expands the prompt before generation. high is slower. The price is the same.","enum":["low","high"],"type":"string"},"resolution":{"default":"720p","description":"Resolution of the generated video. 1080p costs more per second than 720p.","enum":["720p","1080p"],"type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","nullable":true,"type":"integer"}},"required":["prompt","keyframes"],"type":"object"},"FalFlux3MaxTextToVideoRequest":{"description":"Request body for Black Forest Labs' FLUX 3 Max text-to-video model on fal (blackforestlabs/flux-3-max/text-to-video): generate a video with audio from a text prompt.","example":{"duration":5,"prompt":"A red panda walks along a mossy log in a sunlit forest. Ambient birdsong.","resolution":"720p"},"properties":{"aspect_ratio":{"default":"auto","description":"Aspect ratio of the generated video. auto is 16:9 for a text prompt and follows the first image otherwise.","enum":["auto","21:9","2:1","16:9","4:3","1:1","3:4","9:16"],"type":"string"},"duration":{"default":5,"description":"Duration of the generated video in seconds, 5 to 20. fal bills per second of this value.","maximum":20,"minimum":5,"type":"integer"},"generate_audio":{"default":true,"description":"Generate synchronized audio. The price is the same.","type":"boolean"},"prompt":{"description":"Text prompt that describes the video and its sound.","minLength":1,"type":"string"},"reasoning_level":{"default":"high","description":"How much the model reasons about and expands the prompt before generation. high is slower. The price is the same.","enum":["low","high"],"type":"string"},"resolution":{"default":"720p","description":"Resolution of the generated video. 1080p costs more per second than 720p.","enum":["720p","1080p"],"type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","nullable":true,"type":"integer"}},"required":["prompt"],"type":"object"},"FalFlux3MaxVideo":{"description":"The generated video file.","properties":{"content_type":{"description":"MIME type of the video file.","nullable":true,"type":"string"},"duration":{"description":"Duration of the video in seconds.","nullable":true,"type":"number"},"file_name":{"description":"Name of the video file.","nullable":true,"type":"string"},"file_size":{"description":"Size of the video file in bytes.","nullable":true,"type":"integer"},"fps":{"description":"Frame rate of the video.","nullable":true,"type":"number"},"height":{"description":"Height of the video in pixels.","nullable":true,"type":"integer"},"num_frames":{"description":"Number of frames in the video.","nullable":true,"type":"integer"},"url":{"description":"URL of the generated video.","type":"string"},"width":{"description":"Width of the video in pixels.","nullable":true,"type":"integer"}},"required":["url"],"type":"object"},"FalFlux3MaxVideoResponse":{"description":"Result of a completed FLUX 3 Max video generation.","properties":{"seed":{"description":"The seed used for the generation.","type":"integer"},"timings":{"additionalProperties":{"type":"number"},"description":"Timing breakdown in seconds.","type":"object"},"video":{"$ref":"#/components/schemas/FalFlux3MaxVideo"}},"required":["video"],"type":"object"},"FalMinimaxH3MaxCameraControlsRequest":{"description":"Request body for the MiniMax H3 Max camera-controls model (minimax/h3-max/camera-controls): generate a video from a first-frame image along a camera trajectory.","properties":{"camera_trajectory":{"description":"Camera keyframes along the video.","items":{"properties":{"azimuth":{"description":"Horizontal camera angle in degrees.","type":"number"},"distance":{"description":"Camera distance from the subject.","type":"number"},"elevation":{"description":"Vertical camera angle in degrees (-90 to 90).","type":"number"},"time":{"description":"Position of the keyframe in the video, from 0 (start) to 1 (end).","type":"number"}},"required":["time","azimuth","elevation","distance"],"type":"object"},"type":"array"},"duration":{"default":5,"description":"Duration of the generated video in seconds (0.92-15).","type":"number"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker.","type":"boolean"},"image_url":{"description":"URL of the image to use as the first frame.","type":"string"},"prompt":{"description":"Optional text prompt. fal supplies a default that keeps the scene still.","type":"string"},"prompt_expansion_mode":{"description":"How much effort to spend rewriting the prompt before generation: balanced or quality.","type":"string"},"resolution":{"default":"480P","description":"Resolution of the generated video: 480P, 768P, or 1080P.","type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"},"sync_mode":{"description":"Return the generated video as base64 instead of a CDN URL.","type":"boolean"}},"required":["image_url","prompt_expansion_mode"],"type":"object"},"FalMinimaxH3MaxExtendVideoRequest":{"description":"Request body for the MiniMax H3 Max and MiniMax H3 Max Turbo extend-video models (minimax/h3-max/extend-video and minimax/h3-max-turbo/extend-video): continue a source video from a text prompt. Reference audio beyond fal's included token allowance adds a per-token charge, which fal folds into the billable units.","properties":{"aspect_ratio":{"default":"auto","description":"Aspect ratio: auto, 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16.","type":"string"},"duration":{"default":5,"description":"Duration of the new footage in seconds (0.71-15).","type":"number"},"enable_prompt_expansion":{"default":true,"description":"Rewrite the prompt before generation.","type":"boolean"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker.","type":"boolean"},"output":{"default":"extended","description":"What the result contains: extended (the source video plus the new footage) or continuation (the new footage only).","type":"string"},"prompt":{"description":"Text prompt for the new footage.","type":"string"},"reference_audio_urls":{"description":"Optional audio reference clips.","items":{"type":"string"},"type":"array"},"resolution":{"default":"768P","description":"Resolution of the generated video: 480P, 768P, 1080P, or 2K.","type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"},"video_url":{"description":"URL of the source video to extend.","type":"string"}},"required":["video_url","prompt"],"type":"object"},"FalMinimaxH3MaxImageToVideoRequest":{"description":"Request body for the MiniMax H3 Max image-to-video model (minimax/h3-max/image-to-video): generate a video from a text prompt plus optional first and last frame images.","properties":{"duration":{"default":5,"description":"Duration of the generated video in seconds.","type":"integer"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker.","type":"boolean"},"end_image_url":{"description":"URL of the image to use as the last frame.","type":"string"},"image_url":{"description":"URL of the image to use as the first frame.","type":"string"},"prompt":{"description":"Text prompt for video generation.","type":"string"},"prompt_expansion_mode":{"description":"How much effort to spend rewriting the prompt before generation: balanced or quality.","type":"string"},"resolution":{"default":"768P","description":"Resolution of the generated video: 480P or 768P.","type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"},"sync_mode":{"description":"Return the generated video as base64 instead of a CDN URL.","type":"boolean"}},"required":["prompt","prompt_expansion_mode"],"type":"object"},"FalMinimaxH3MaxInsertVideoRequest":{"description":"Request body for the MiniMax H3 Max insert-video model (minimax/h3-max/insert-video): generate a new 5-13 second scene in a source video between start_time and resume_time. fal bills only the generated scene. Reference inputs beyond fal's included token allowance add a per-token charge, which fal folds into the billable units.","properties":{"color_match":{"default":true,"description":"Match the colors of the new scene to the source video.","type":"boolean"},"duration":{"default":5,"description":"Duration of the new scene in seconds (5-13).","type":"number"},"enable_prompt_expansion":{"default":true,"description":"Rewrite the prompt before generation.","type":"boolean"},"prompt":{"description":"Optional text prompt for the new scene.","type":"string"},"reference_image_urls":{"description":"Optional reference images for the new scene.","items":{"type":"string"},"type":"array"},"reference_video_urls":{"description":"Optional reference videos for the new scene.","items":{"type":"string"},"type":"array"},"resolution":{"default":"768p","description":"Resolution of the generated video: 480p or 768p.","type":"string"},"resume_time":{"description":"Time in seconds where the source video resumes (up to 60).","type":"number"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"},"start_time":{"description":"Time in seconds where the new scene starts (1.625-60).","type":"number"},"video_url":{"description":"URL of the source video.","type":"string"}},"required":["video_url","start_time","resume_time"],"type":"object"},"FalMinimaxH3MaxLipSyncImageToVideoRequest":{"description":"Request body for the MiniMax H3 Max lip-sync model (minimax/h3-max/lip-sync/image-to-video): generate a video of the subject in an image speaking an audio clip. fal bills each generated second, with a 1.2x multiplier on videos over 15 seconds.","properties":{"audio_url":{"description":"URL of the audio clip (5 seconds to 15 minutes).","type":"string"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker.","type":"boolean"},"enable_transcription":{"default":false,"description":"Transcribe the audio to guide the generation.","type":"boolean"},"image_url":{"description":"URL of the image of the subject.","type":"string"},"resolution":{"default":"768P","description":"Resolution of the generated video: 480P, 768P, 1080P, or 2K.","type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"}},"required":["image_url","audio_url"],"type":"object"},"FalMinimaxH3MaxRecastRequest":{"description":"Request body for the MiniMax H3 Max recast model (minimax/h3-max/recast): replace the people in a source video with the people in one to four reference photos.","properties":{"enable_safety_checker":{"default":true,"description":"Enable the safety checker.","type":"boolean"},"enhance_realism":{"default":false,"description":"Make the cast people look more realistic.","type":"boolean"},"prompt":{"description":"Optional text prompt (up to 2000 characters).","type":"string"},"reference_image_urls":{"description":"One to four reference photos of the people to cast.","items":{"type":"string"},"type":"array"},"resolution":{"default":"1080P","description":"Resolution of the generated video: 768P or 1080P.","type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"},"video_url":{"description":"URL of the source video (5-30 seconds).","type":"string"}},"required":["video_url","reference_image_urls"],"type":"object"},"FalMinimaxH3MaxReferenceToVideoRequest":{"description":"Request body for the MiniMax H3 Max reference-to-video model (minimax/h3-max/reference-to-video): generate a video from a text prompt plus reference images, videos, or audio clips. The reference files must add up to at most 12. Reference inputs beyond fal's included token allowance add a per-token charge, which fal folds into the billable units.","properties":{"aspect_ratio":{"default":"adaptive","description":"Aspect ratio: adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16.","type":"string"},"duration":{"default":5,"description":"Duration of the generated video in seconds.","type":"integer"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker.","type":"boolean"},"prompt":{"description":"Text prompt for video generation. Refer to reference assets by their modality.","type":"string"},"prompt_expansion_mode":{"description":"How much effort to spend rewriting the prompt before generation: balanced or quality.","type":"string"},"reference_audio_urls":{"description":"Audio reference clips (2-15 seconds each).","items":{"type":"string"},"type":"array"},"reference_image_urls":{"description":"Subject or style reference images.","items":{"type":"string"},"type":"array"},"reference_video_urls":{"description":"Motion reference clips (2-15 seconds each).","items":{"type":"string"},"type":"array"},"resolution":{"default":"768P","description":"Resolution of the generated video: 480P or 768P.","type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"},"sync_mode":{"description":"Return the generated video as base64 instead of a CDN URL.","type":"boolean"}},"required":["prompt","prompt_expansion_mode"],"type":"object"},"FalMinimaxH3MaxReframeVideoRequest":{"description":"Request body for the MiniMax H3 Max reframe-video model (minimax/h3-max/reframe-video): outpaint a source video to a new aspect ratio. fal bills each generated second, and a long source is processed in overlapping windows whose overlap seconds are also billed.","properties":{"aspect_ratio":{"default":"16:9","description":"Target aspect ratio: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, or 9:21.","type":"string"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker.","type":"boolean"},"prompt":{"default":"","description":"Optional text prompt for the outpainted area.","type":"string"},"resolution":{"default":"768p","description":"Resolution of the generated video: 480p, 768p, or 1080p.","type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"},"video_url":{"description":"URL of the source video (up to 300 seconds).","type":"string"}},"required":["video_url"],"type":"object"},"FalMinimaxH3MaxTextToVideoRequest":{"description":"Request body for the MiniMax H3 Max text-to-video model (minimax/h3-max/text-to-video): generate a video from a text prompt.","example":{"duration":5,"prompt":"a red fox running through a snowy forest","prompt_expansion_mode":"balanced","resolution":"480P"},"properties":{"aspect_ratio":{"default":"16:9","description":"Aspect ratio: 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16.","type":"string"},"duration":{"default":5,"description":"Duration of the generated video in seconds.","type":"integer"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker.","type":"boolean"},"prompt":{"description":"Text prompt for video generation.","type":"string"},"prompt_expansion_mode":{"description":"How much effort to spend rewriting the prompt before generation: balanced or quality.","type":"string"},"resolution":{"default":"768P","description":"Resolution of the generated video: 480P or 768P.","type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"},"sync_mode":{"description":"Return the generated video as base64 instead of a CDN URL.","type":"boolean"}},"required":["prompt","prompt_expansion_mode"],"type":"object"},"FalMinimaxH3MaxTurboImageToVideoRequest":{"description":"Request body for the MiniMax H3 Max Turbo image-to-video model (minimax/h3-max-turbo/image-to-video): generate a video from a text prompt plus optional first and last frame images.","properties":{"duration":{"default":5,"description":"Duration of the generated video in seconds.","type":"integer"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker.","type":"boolean"},"end_image_url":{"description":"URL of the image to use as the last frame.","type":"string"},"image_url":{"description":"URL of the image to use as the first frame.","type":"string"},"prompt":{"description":"Text prompt for video generation.","type":"string"},"prompt_expansion_mode":{"description":"How much effort to spend rewriting the prompt before generation: balanced or quality.","type":"string"},"resolution":{"default":"768P","description":"Resolution of the generated video: 480P or 768P.","type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"},"sync_mode":{"description":"Return the generated video as base64 instead of a CDN URL.","type":"boolean"}},"required":["prompt","prompt_expansion_mode"],"type":"object"},"FalMinimaxH3MaxTurboTextToVideoRequest":{"description":"Request body for the MiniMax H3 Max Turbo text-to-video model (minimax/h3-max-turbo/text-to-video): generate a video from a text prompt.","example":{"duration":5,"prompt":"a red fox running through a snowy forest","prompt_expansion_mode":"balanced","resolution":"480P"},"properties":{"aspect_ratio":{"default":"16:9","description":"Aspect ratio: 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16.","type":"string"},"duration":{"default":5,"description":"Duration of the generated video in seconds.","type":"integer"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker.","type":"boolean"},"prompt":{"description":"Text prompt for video generation.","type":"string"},"prompt_expansion_mode":{"description":"How much effort to spend rewriting the prompt before generation: balanced or quality.","type":"string"},"resolution":{"default":"768P","description":"Resolution of the generated video: 480P or 768P.","type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"},"sync_mode":{"description":"Return the generated video as base64 instead of a CDN URL.","type":"boolean"}},"required":["prompt","prompt_expansion_mode"],"type":"object"},"FalMinimaxH3MaxVideoResponse":{"description":"Result of a completed MiniMax H3 Max video generation.","properties":{"expanded_prompt":{"description":"The prompt after expansion, as sent to the model.","type":"string"},"timings":{"additionalProperties":true,"description":"End-to-end timing breakdown (seconds).","type":"object"},"video":{"description":"The generated video file.","properties":{"content_type":{"description":"MIME type of the video file.","type":"string"},"file_name":{"description":"Name of the video file.","type":"string"},"file_size":{"description":"Size of the video file in bytes.","type":"integer"},"url":{"description":"URL of the generated video.","type":"string"}},"type":"object"}},"required":["video"],"type":"object"},"FalPatinaMaterialExtractRequest":{"description":"Request body for the fal PATINA extract model (fal-ai/patina/material/extract): extract a texture from an input image and generate a complete tiling PBR material.","properties":{"enable_prompt_expansion":{"default":true,"description":"Expand the prompt with an LLM for richer detail.","type":"boolean"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker for generated images.","type":"boolean"},"image_size":{"description":"Output texture dimensions. Either a preset string (square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9) or an object with integer width and height. Defaults to square_hd."},"image_url":{"description":"URL of the image to extract a texture from.","type":"string"},"maps":{"default":["basecolor","normal","roughness","metalness","height"],"description":"Which PBR maps to predict. Defaults to all five.","items":{"type":"string"},"type":"array"},"num_images":{"default":1,"description":"Number of texture images to generate.","type":"integer"},"num_inference_steps":{"default":8,"description":"Number of denoising steps for texture generation.","type":"integer"},"output_format":{"default":"png","description":"Output image format for textures and PBR maps: jpeg, png, or webp.","type":"string"},"prompt":{"description":"Describe which texture to extract from the image.","type":"string"},"seed":{"description":"Random seed for reproducible generation.","type":"integer"},"strength":{"default":0.6,"description":"How much to transform the input image.","type":"number"},"tile_size":{"default":128,"description":"Tile size in latent space (64 = 512px, 128 = 1024px).","type":"integer"},"tile_stride":{"default":64,"description":"Tile stride in latent space.","type":"integer"},"tiling_mode":{"default":"both","description":"Tiling direction: both, horizontal, or vertical.","type":"string"},"upscale_factor":{"default":"0","description":"Upscale factor for predicted PBR maps. One of 0 (no upscaling), 2 (2x), or 4 (4x), as a string or number."}},"required":["prompt","image_url"],"type":"object"},"FalPatinaMaterialImage":{"description":"A generated texture or PBR map image.","properties":{"map_type":{"description":"The PBR map type (basecolor, normal, roughness, metalness, height). Absent for the base texture image.","type":"string"},"url":{"description":"URL of the generated image.","type":"string"}},"type":"object"},"FalPatinaMaterialRequest":{"description":"Request body for the fal PATINA material generation model.","properties":{"enable_prompt_expansion":{"default":true,"description":"Expand the prompt with an LLM for richer detail.","type":"boolean"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker for generated images.","type":"boolean"},"image_size":{"description":"Output texture dimensions. Either a preset string (square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9) or an object with integer width and height. Defaults to square_hd (1024x1024). Drives the per-megapixel price."},"image_url":{"description":"URL of an input image for image-to-image or inpainting.","type":"string"},"maps":{"default":["basecolor","normal","roughness","metalness","height"],"description":"Which PBR maps to predict. Each predicted map adds a per-megapixel charge. Defaults to all five.","items":{"type":"string"},"type":"array"},"mask_url":{"description":"URL of a mask image for inpainting. Requires image_url.","type":"string"},"num_images":{"default":1,"description":"Number of texture images to generate.","type":"integer"},"num_inference_steps":{"default":8,"description":"Number of denoising steps for texture generation.","type":"integer"},"output_format":{"default":"png","description":"Output image format for textures and PBR maps: jpeg, png, or webp.","type":"string"},"prompt":{"description":"The text prompt describing the material/texture to generate.","type":"string"},"seed":{"description":"Random seed for reproducible generation.","type":"integer"},"strength":{"default":0.6,"description":"How much to transform the input image. Only used when image_url is provided.","type":"number"},"tile_size":{"default":128,"description":"Tile size in latent space (64 = 512px, 128 = 1024px).","type":"integer"},"tile_stride":{"default":64,"description":"Tile stride in latent space.","type":"integer"},"tiling_mode":{"default":"both","description":"Tiling direction: both, horizontal, or vertical.","type":"string"},"upscale_factor":{"default":"0","description":"Upscale factor for predicted PBR maps. One of 0 (no upscaling), 2 (2x), or 4 (4x), as a string or number. Upscaling adds a per-(pre-upscaling)-megapixel-per-map surcharge."}},"required":["prompt"],"type":"object"},"FalPatinaMaterialResponse":{"description":"Response from the fal PATINA material generation model.","properties":{"images":{"description":"Generated tileable texture image plus the predicted PBR material maps. The base texture has only a url; each map entry also carries a map_type.","items":{"$ref":"#/components/schemas/FalPatinaMaterialImage"},"type":"array"},"prompt":{"description":"The prompt used for texture generation (possibly expanded).","type":"string"},"seed":{"description":"Seed used for texture generation.","type":"integer"},"timings":{"additionalProperties":true,"description":"End-to-end timing breakdown (seconds).","type":"object"}},"type":"object"},"FalPatinaRequest":{"description":"Request body for the fal PATINA image-to-image model (fal-ai/patina): predict PBR maps from a single input image.","example":{"image_url":"https://storage.googleapis.com/falserverless/gallery/patina-blog-hero-render.png"},"properties":{"enable_safety_checker":{"default":true,"description":"Enable the safety checker for images.","type":"boolean"},"image_url":{"description":"URL of the input image (photograph or render).","type":"string"},"maps":{"default":["basecolor","normal","roughness","metalness","height"],"description":"Which PBR maps to predict. Defaults to all five.","items":{"type":"string"},"type":"array"},"output_format":{"default":"png","description":"Output image format: jpeg, png, or webp.","type":"string"},"seed":{"description":"Random seed for reproducible denoising.","type":"integer"},"sync_mode":{"default":false,"description":"If true, return images as data URIs instead of CDN URLs.","type":"boolean"}},"required":["image_url"],"type":"object"},"FalQueueStatus":{"description":"fal queue status object, returned both when submitting a request and when polling its status.","properties":{"queue_position":{"description":"Position in the queue (when IN_QUEUE).","type":"integer"},"request_id":{"description":"The fal queue request id.","type":"string"},"response_url":{"description":"fal's queue result URL for this request.","type":"string"},"status":{"description":"Queue status: IN_QUEUE, IN_PROGRESS, or COMPLETED.","type":"string"},"status_url":{"description":"fal's queue status URL for this request.","type":"string"}},"required":["status","request_id"],"type":"object"},"FeaturesResponse":{"properties":{"partner_node_conversion_rate":{"description":"The conversion rate for partner nodes","example":0.5,"type":"number"}},"required":["partner_node_conversion_rate"],"type":"object"},"FileSearchTool":{"properties":{"type":{"description":"The type of tool","enum":["file_search"],"type":"string"},"vector_store_ids":{"description":"IDs of vector stores to search in","items":{"type":"string"},"type":"array"}},"required":["type","vector_store_ids"],"type":"object"},"FileSearchToolCall":{"description":"The results of a file search tool call. See the\n[file search guide](/docs/guides/tools-file-search) for more information.\n","properties":{"id":{"description":"The unique ID of the file search tool call.\n","type":"string"},"queries":{"description":"The queries used to search for files.\n","items":{"type":"string"},"type":"array"},"results":{"description":"The results of the file search tool call.\n","items":{"properties":{"file_id":{"description":"The unique ID of the file.\n","type":"string"},"filename":{"description":"The name of the file.\n","type":"string"},"score":{"description":"The relevance score of the file - a value between 0 and 1.\n","format":"float","type":"number"},"text":{"description":"The text that was retrieved from the file.\n","type":"string"}},"type":"object"},"type":"array"},"status":{"description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"type":"string"},"type":{"description":"The type of the file search tool call. Always `file_search_call`.\n","enum":["file_search_call"],"type":"string","x-stainless-const":true}},"required":["id","type","status","queries"],"title":"File search tool call","type":"object"},"FishAudioASRRequest":{"description":"Request body for Fish Audio Speech to Text","properties":{"audio":{"description":"Audio file to transcribe.","format":"binary","type":"string"},"ignore_timestamps":{"description":"Skip precise timestamp computation for faster processing. Default true.","type":"boolean"},"language":{"description":"Optional language hint (ISO 639-1). The language is auto-detected regardless.","nullable":true,"type":"string"}},"required":["audio"],"type":"object"},"FishAudioASRResponse":{"description":"Transcription result from Fish Audio Speech to Text","properties":{"duration":{"description":"Duration of the audio in seconds.","format":"double","type":"number"},"language":{"description":"Detected language name for display.","nullable":true,"type":"string"},"language_code":{"description":"Detected language as an ISO 639-1 code.","nullable":true,"type":"string"},"segments":{"description":"Timestamped transcript segments.","items":{"$ref":"#/components/schemas/FishAudioASRSegment"},"type":"array"},"text":{"description":"The transcribed text.","type":"string"}},"required":["text","duration"],"type":"object"},"FishAudioASRSegment":{"description":"A timestamped transcript segment","properties":{"end":{"description":"Segment end time in seconds.","format":"double","type":"number"},"start":{"description":"Segment start time in seconds.","format":"double","type":"number"},"text":{"description":"Segment text.","type":"string"}},"type":"object"},"FishAudioCreateModelRequest":{"description":"Request body for creating a Fish Audio voice model","properties":{"cover_image":{"description":"Cover image; required when visibility is public.","format":"binary","type":"string"},"description":{"description":"Optional model description.","nullable":true,"type":"string"},"enhance_audio_quality":{"description":"Enhance reference audio quality. Default true.","type":"boolean"},"generate_sample":{"description":"Auto-generate a sample for the model. Default false.","type":"boolean"},"tags":{"description":"Categorization tags.","items":{"type":"string"},"type":"array"},"texts":{"description":"Transcripts corresponding to the reference clips; transcribed automatically when omitted.","items":{"type":"string"},"type":"array"},"title":{"description":"Name of the voice model.","type":"string"},"train_mode":{"description":"Training mode. fast makes the model instantly available.","type":"string"},"type":{"description":"Model type. Must be tts.","type":"string"},"visibility":{"description":"Model visibility: public, unlist or private. Default public.","type":"string"},"voices":{"description":"1-20 reference audio clips for voice cloning.","items":{"format":"binary","type":"string"},"type":"array"}},"required":["type","title","train_mode","voices"],"type":"object"},"FishAudioProsodyControl":{"description":"Speed and volume adjustments for Fish Audio TTS output.","properties":{"normalize_loudness":{"description":"Normalize output loudness for more consistent perceived volume. Default true.","type":"boolean"},"speed":{"description":"Speaking rate multiplier. Range 0.5-2.0, default 1.0.","type":"number"},"volume":{"description":"Volume adjustment in decibels. 0 = no change. Default 0.","type":"number"}},"type":"object"},"FishAudioTTSRequest":{"description":"Request body for Fish Audio Text to Speech","properties":{"chunk_length":{"description":"Text segment size for processing. Range 100-300, default 300.","type":"integer"},"condition_on_previous_chunks":{"description":"Use previous audio as context for voice consistency. Default true.","type":"boolean"},"early_stop_threshold":{"description":"Early stopping threshold for batch processing. Range 0-1, default 1.","type":"number"},"features":{"description":"Optional request-scoped TTS feature flags forwarded verbatim to the inference backend.","items":{"type":"string"},"type":"array"},"format":{"description":"Output audio format: wav, pcm, mp3 or opus. Default mp3.","type":"string"},"latency":{"description":"Latency-quality trade-off: normal (best quality), balanced (reduced latency) or low (lowest latency). Default normal.","type":"string"},"max_new_tokens":{"description":"Maximum audio tokens to generate per text chunk. Default 1024.","type":"integer"},"min_chunk_length":{"description":"Minimum characters before splitting into a new chunk. Range 0-100, default 50.","type":"integer"},"mp3_bitrate":{"description":"MP3 bitrate in kbps: 64, 128 or 192. Only applies when format is mp3. Default 128.","type":"integer"},"normalize":{"description":"Normalizes text for English and Chinese, improving stability for numbers. Default true.","type":"boolean"},"opus_bitrate":{"description":"Opus bitrate in bps: -1000 (automatic), 24000, 32000, 48000 or 64000. Only applies when format is opus. Default -1000.","type":"integer"},"prosody":{"$ref":"#/components/schemas/FishAudioProsodyControl"},"reference_id":{"description":"Voice model ID(s) from the Fish Audio library or custom models. A string for single-speaker synthesis; an array of model IDs for multi-speaker dialogue (S2 and Drama 3 families only), with `\u003c|speaker:N|\u003e` tags in the text marking speaker changes.\n","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"repetition_penalty":{"description":"Penalty for repeating audio patterns. Values above 1.0 reduce repetition. Default 1.2.","type":"number"},"sample_rate":{"description":"Audio sample rate in Hz. When null, uses the format's default (44100 Hz for most formats, 48000 Hz for opus).","nullable":true,"type":"integer"},"temperature":{"description":"Controls expressiveness. Higher is more varied, lower is more consistent. Range 0-1, default 0.7.","type":"number"},"text":{"description":"The text to convert to speech.","type":"string"},"top_p":{"description":"Controls diversity via nucleus sampling. Range 0-1, default 0.7.","type":"number"}},"required":["text"],"type":"object"},"FreeTierGrantState":{"description":"State of a withheld first-time free tier credit grant. \"verification_required\" means the grant was denied pending account verification (e.g. unverified email or a blocked email domain). \"deferred\" means the grant was temporarily deferred and may succeed on a later request. Absent when no grant was withheld.\n","enum":["verification_required","deferred"],"type":"string"},"FreepikErrorResponse":{"properties":{"error":{"type":"string"},"message":{"type":"string"}},"type":"object"},"FreepikMagnificRelightRequest":{"example":{"image":"https://img.magnific.com/free-photo/light-through-mountains_395237-33.jpg?semt=ais_hybrid\u0026w=740\u0026q=80","prompt":"warm golden-hour sunlight from the left"},"properties":{"advanced_settings":{"properties":{"blacks":{"default":50,"description":"Adjust the level of black color in the image.","maximum":100,"minimum":0,"type":"integer"},"brightness":{"default":50,"description":"Adjust the level of brightness in the image.","maximum":100,"minimum":0,"type":"integer"},"contrast":{"default":50,"description":"Adjust the level of contrast in the image.","maximum":100,"minimum":0,"type":"integer"},"engine":{"default":"automatic","description":"Engine preset for relighting:\n- balanced: Well-rounded, general-purpose option\n- cool: Brighter with cooler tones\n- real: Aims to enhance photographic quality (Experimental)\n- illusio: Optimized for illustrations and drawings\n- fairy: Suited for fantasy-themed images\n- colorful_anime: Ideal for anime, cartoons, and vibrant colors\n- hard_transform: Significantly alters the original image\n- softy: Slightly softer effect, suitable for graphic designs\n","enum":["automatic","balanced","cool","real","illusio","fairy","colorful_anime","hard_transform","softy"],"type":"string"},"fixed_generation":{"default":false,"description":"When enabled, using the same settings will consistently produce the same image.","type":"boolean"},"saturation":{"default":50,"description":"Adjust the level of saturation in the image.","maximum":100,"minimum":0,"type":"integer"},"transfer_light_a":{"default":"automatic","description":"Adjusts the intensity of light transfer.","enum":["automatic","low","medium","normal","high","high_on_faces"],"type":"string"},"transfer_light_b":{"default":"automatic","description":"Also modifies light transfer intensity. Can be combined with transfer_light_a for varied effects.","enum":["automatic","composition","straight","smooth_in","smooth_out","smooth_both","reverse_both","soft_in","soft_out","soft_mid","strong_mid","style_shift","strong_shift"],"type":"string"},"whites":{"default":50,"description":"Adjust the level of white color in the image.","maximum":100,"minimum":0,"type":"integer"}},"type":"object"},"change_background":{"default":true,"description":"When enabled, changes the background based on prompt and/or reference image. Useful for product placement and portraits.","type":"boolean"},"image":{"description":"Base64 or URL of the image to do the relight","type":"string"},"interpolate_from_original":{"default":false,"description":"When enabled, makes the final image interpolate from the original using the light transfer strength slider.","type":"boolean"},"light_transfer_strength":{"default":100,"description":"Level of light transfer intensity. 0% keeps closest to original, 100% is maximum transfer.","maximum":100,"minimum":0,"type":"integer"},"preserve_details":{"default":true,"description":"Maintains texture and small details of the original image. Good for product photography, texts, etc.","type":"boolean"},"prompt":{"description":"You can guide the generation process and influence the light transfer with a descriptive prompt.\nIMPORTANT: You can emphasize specific aspects of the light in your prompt by using a number in parentheses, ranging from 1 to 1.4, like \"(dark scene:1.3)\".\n","type":"string"},"style":{"default":"standard","description":"Style preset for the relight operation.","enum":["standard","darker_but_realistic","clean","smooth","brighter","contrasted_n_hdr","just_composition"],"type":"string"},"transfer_light_from_lightmap":{"description":"Base64 or URL of the lightmap for light transfer. Incompatible with 'transfer_light_from_reference_image'","type":"string"},"transfer_light_from_reference_image":{"description":"Base64 or URL of the reference image for light transfer. Incompatible with 'transfer_light_from_lightmap'","type":"string"},"webhook_url":{"description":"Optional callback URL that will receive asynchronous notifications whenever the task changes status.","example":"https://www.example.com/webhook","format":"uri","type":"string"}},"required":["image"],"type":"object"},"FreepikMagnificStyleTransferRequest":{"example":{"image":"https://img.magnific.com/free-photo/light-through-mountains_395237-33.jpg?semt=ais_hybrid\u0026w=740\u0026q=80","reference_image":"https://img.magnific.com/free-photo/beautiful-sunset_395237-33.jpg?w=740\u0026q=80","style_strength":80},"properties":{"engine":{"default":"balanced","description":"Engine preset for style transfer","enum":["balanced","definio","illusio","3d_cartoon","colorful_anime","caricature","real","super_real","softy"],"type":"string"},"fixed_generation":{"default":false,"description":"When enabled, using the same settings will consistently produce the same image.","type":"boolean"},"flavor":{"default":"faithful","description":"Flavor of the transferring style","enum":["faithful","gen_z","psychedelia","detaily","clear","donotstyle","donotstyle_sharp"],"type":"string"},"image":{"description":"Base64 or URL of the image to do the style transfer","type":"string"},"is_portrait":{"default":false,"description":"Indicates whether the image should be processed as a portrait.","type":"boolean"},"portrait_beautifier":{"description":"Facial beautification on portrait images. Only used if is_portrait is true.","enum":["beautify_face","beautify_face_max"],"type":"string"},"portrait_style":{"default":"standard","description":"Visual style applied to portrait images. Only used if is_portrait is true.","enum":["standard","pop","super_pop"],"type":"string"},"prompt":{"description":"Prompt for the AI model","type":"string"},"reference_image":{"description":"Base64 or URL of the reference image for style transfer","type":"string"},"structure_strength":{"default":50,"description":"Allows to maintain the structure of the original image","maximum":100,"minimum":0,"type":"integer"},"style_strength":{"default":100,"description":"Percentage of style strength","maximum":100,"minimum":0,"type":"integer"},"webhook_url":{"description":"Optional callback URL for async notifications.","example":"https://www.example.com/webhook","format":"uri","type":"string"}},"required":["image","reference_image"],"type":"object"},"FreepikMagnificUpscalerCreativeRequest":{"properties":{"creativity":{"default":0,"description":"Increase or decrease AI's creativity. Valid values range [-10, 10].","maximum":10,"minimum":-10,"type":"integer"},"engine":{"default":"automatic","description":"Magnific model engines.","enum":["automatic","magnific_illusio","magnific_sharpy","magnific_sparkle"],"type":"string"},"fractality":{"default":0,"description":"Control the strength of the prompt and intricacy per square pixel. Valid values range [-10, 10].","maximum":10,"minimum":-10,"type":"integer"},"hdr":{"default":0,"description":"Increase or decrease the level of definition and detail. Valid values range [-10, 10].","maximum":10,"minimum":-10,"type":"integer"},"image":{"description":"Base64 image or URL to upscale. The resulted image can't exceed maximum allowed size of 25.3 million pixels.","type":"string"},"optimized_for":{"default":"standard","description":"Styles to optimize the upscale process.","enum":["standard","soft_portraits","hard_portraits","art_n_illustration","videogame_assets","nature_n_landscapes","films_n_photography","3d_renders","science_fiction_n_horror"],"type":"string"},"prompt":{"description":"Prompt to guide the upscale process. Reusing the same prompt for AI-generated images will improve the results.","type":"string"},"resemblance":{"default":0,"description":"Adjust the level of resemblance to the original image. Valid values range [-10, 10].","maximum":10,"minimum":-10,"type":"integer"},"scale_factor":{"default":"2x","description":"Configure scale factor of the image. For higher scales, the image will take longer to process.","enum":["2x","4x","8x","16x"],"type":"string"},"webhook_url":{"description":"Optional callback URL that will receive asynchronous notifications whenever the task changes status.","example":"https://www.example.com/webhook","format":"uri","type":"string"}},"required":["image"],"type":"object"},"FreepikMagnificUpscalerPrecisionV2Request":{"example":{"image":"https://img.magnific.com/free-photo/light-through-mountains_395237-33.jpg?semt=ais_hybrid\u0026w=740\u0026q=80","scale_factor":8},"properties":{"flavor":{"description":"Image processing flavor:\n- sublime: Optimized for artistic and illustrated images\n- photo: Optimized for photographic images\n- photo_denoiser: Specialized for photos with noise reduction\n","enum":["sublime","photo","photo_denoiser"],"type":"string"},"image":{"description":"Source image to upscale. Accepts either:\n- A publicly accessible HTTPS URL pointing to the image\n- A base64-encoded image string\n","type":"string"},"scale_factor":{"description":"Image scaling factor. Determines how much larger the output will be compared to input.","maximum":16,"minimum":2,"type":"integer"},"sharpen":{"default":7,"description":"Image sharpness intensity control. Higher values increase edge definition and clarity.","maximum":100,"minimum":0,"type":"integer"},"smart_grain":{"default":7,"description":"Intelligent grain/texture enhancement. Higher values add more fine-grained texture.","maximum":100,"minimum":0,"type":"integer"},"ultra_detail":{"default":30,"description":"Ultra detail enhancement level. Higher values create more intricate details.","maximum":100,"minimum":0,"type":"integer"},"webhook_url":{"description":"Optional callback URL that will receive asynchronous notifications when the upscaling task completes.","format":"uri","type":"string"}},"required":["image"],"type":"object"},"FreepikSkinEnhancerCreativeRequest":{"example":{"image":"https://img.magnific.com/free-photo/portrait-woman_395237-33.jpg?w=740\u0026q=80"},"properties":{"image":{"description":"Input image. Supports Base64 encoding or HTTPS URL (must be publicly accessible).","example":"https://example.com/portrait.jpg","type":"string"},"sharpen":{"default":0,"description":"Sharpening intensity","maximum":100,"minimum":0,"type":"integer"},"smart_grain":{"default":2,"description":"Smart grain intensity","maximum":100,"minimum":0,"type":"integer"},"webhook_url":{"description":"Optional callback URL for async notifications.","example":"https://www.example.com/webhook","format":"uri","type":"string"}},"required":["image"],"type":"object"},"FreepikSkinEnhancerFaithfulRequest":{"example":{"image":"https://img.magnific.com/free-photo/portrait-woman_395237-33.jpg?w=740\u0026q=80"},"properties":{"image":{"description":"Input image. Supports Base64 encoding or HTTPS URL (must be publicly accessible).","example":"https://example.com/portrait.jpg","type":"string"},"sharpen":{"default":0,"description":"Sharpening intensity","maximum":100,"minimum":0,"type":"integer"},"skin_detail":{"default":80,"description":"Skin detail enhancement level","maximum":100,"minimum":0,"type":"integer"},"smart_grain":{"default":2,"description":"Smart grain intensity","maximum":100,"minimum":0,"type":"integer"},"webhook_url":{"description":"Optional callback URL for async notifications.","example":"https://www.example.com/webhook","format":"uri","type":"string"}},"required":["image"],"type":"object"},"FreepikSkinEnhancerFlexibleRequest":{"example":{"image":"https://img.magnific.com/free-photo/portrait-woman_395237-33.jpg?w=740\u0026q=80"},"properties":{"image":{"description":"Input image. Supports Base64 encoding or HTTPS URL (must be publicly accessible).","example":"https://example.com/portrait.jpg","type":"string"},"optimized_for":{"default":"enhance_skin","description":"Optimization target for flexible skin enhancer","enum":["enhance_skin","improve_lighting","enhance_everything","transform_to_real","no_make_up"],"type":"string"},"sharpen":{"default":0,"description":"Sharpening intensity","maximum":100,"minimum":0,"type":"integer"},"smart_grain":{"default":2,"description":"Smart grain intensity","maximum":100,"minimum":0,"type":"integer"},"webhook_url":{"description":"Optional callback URL for async notifications.","example":"https://www.example.com/webhook","format":"uri","type":"string"}},"required":["image"],"type":"object"},"FreepikTaskData":{"properties":{"generated":{"description":"URLs to the generated images.","items":{"format":"uri","type":"string"},"type":"array"},"status":{"enum":["CREATED","IN_PROGRESS","COMPLETED","FAILED"],"type":"string"},"task_id":{"example":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","format":"uuid","type":"string"}},"type":"object"},"FreepikTaskResponse":{"properties":{"data":{"$ref":"#/components/schemas/FreepikTaskData"}},"required":["data"],"type":"object"},"FunctionTool":{"properties":{"description":{"description":"Description of what the function does","type":"string"},"name":{"description":"Name of the function","type":"string"},"parameters":{"description":"JSON Schema object describing the function parameters","type":"object"},"type":{"description":"The type of tool","enum":["function"],"type":"string"}},"required":["type","name","parameters"],"type":"object"},"FunctionToolCall":{"description":"A tool call to run a function. See the\n[function calling guide](/docs/guides/function-calling) for more information.\n","properties":{"arguments":{"description":"A JSON string of the arguments to pass to the function.\n","type":"string"},"call_id":{"description":"The unique ID of the function tool call generated by the model.\n","type":"string"},"id":{"description":"The unique ID of the function tool call.\n","type":"string"},"name":{"description":"The name of the function to run.\n","type":"string"},"status":{"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"type":"string"},"type":{"description":"The type of the function tool call. Always `function_call`.\n","enum":["function_call"],"type":"string","x-stainless-const":true}},"required":["type","call_id","name","arguments"],"title":"Function tool call","type":"object"},"GeminiCandidate":{"properties":{"citationMetadata":{"$ref":"#/components/schemas/GeminiCitationMetadata"},"content":{"$ref":"#/components/schemas/GeminiContent"},"finishReason":{"type":"string"},"safetyRatings":{"items":{"$ref":"#/components/schemas/GeminiSafetyRating"},"type":"array"}},"type":"object"},"GeminiCitation":{"properties":{"authors":{"items":{"type":"string"},"type":"array"},"endIndex":{"type":"integer"},"license":{"type":"string"},"publicationDate":{"format":"date","type":"string"},"startIndex":{"type":"integer"},"title":{"type":"string"},"uri":{"type":"string"}},"type":"object"},"GeminiCitationMetadata":{"properties":{"citations":{"items":{"$ref":"#/components/schemas/GeminiCitation"},"type":"array"}},"type":"object"},"GeminiContent":{"description":"The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history and the latest request.\n","properties":{"parts":{"items":{"$ref":"#/components/schemas/GeminiPart"},"type":"array"},"role":{"enum":["user","model"],"example":"user","type":"string"}},"required":["parts"],"type":"object"},"GeminiDecisionAnswer":{"additionalProperties":true,"description":"The answer to one question. The fields present depend on type","properties":{"choice":{"description":"choice only. The option with the highest probability","type":"string"},"confidence":{"description":"Concentration of the distribution, 0-1","format":"double","type":"number"},"legend":{"additionalProperties":{"type":"string"},"description":"score only. Level index to level description","type":"object"},"noul":{"description":"noul only. Probability of true, 0.01-0.99","format":"double","type":"number"},"probabilities":{"additionalProperties":{"format":"double","type":"number"},"description":"choice and score only. Probability per option name or level index","type":"object"},"score":{"description":"score only. Probability-weighted average of the level indices","format":"double","type":"number"},"type":{"description":"Question type: 'noul', 'choice' or 'score'","type":"string"}},"type":"object"},"GeminiDecisionQuestion":{"additionalProperties":true,"description":"One named question about the shared input","properties":{"criteria":{"description":"Optional true_description/false_description for noul, an object of named options for choice, or an array of 2-255 ordered levels for score"},"instructions":{"description":"The question or rule to apply. A string, a text block or an array of text blocks"},"type":{"description":"Question type: 'noul' (probability of yes), 'choice' (pick one option) or 'score' (rate against ordered levels)","type":"string"}},"required":["type","instructions"],"type":"object"},"GeminiDecisionRequest":{"additionalProperties":true,"description":"Request body for the Gemini Decisions API","properties":{"input":{"description":"The shared input. A string, one content block or an array of content blocks (text, image, audio, video, document)"},"model":{"description":"Model name: 'gemini-decision-1'","type":"string"},"questions":{"additionalProperties":{"$ref":"#/components/schemas/GeminiDecisionQuestion"},"description":"1-1,000 named questions. Each key becomes the matching key in answers","type":"object"}},"required":["model","input","questions"],"type":"object"},"GeminiDecisionResponse":{"additionalProperties":true,"description":"Response of the Gemini Decisions API","properties":{"answers":{"additionalProperties":{"$ref":"#/components/schemas/GeminiDecisionAnswer"},"description":"One answer per question, keyed by question name","type":"object"},"usage":{"$ref":"#/components/schemas/GeminiDecisionUsage"}},"type":"object"},"GeminiDecisionUsage":{"additionalProperties":true,"description":"Token usage of a decision request","properties":{"input_tokens_by_modality":{"items":{"$ref":"#/components/schemas/GeminiInteractionModalityTokens"},"type":"array"},"total_input_tokens":{"description":"Input tokens read for this request, the shared input once plus each question. Billed per input token","format":"int64","type":"integer"},"total_output_tokens":{"description":"Always 0","format":"int64","type":"integer"},"total_tokens":{"format":"int64","type":"integer"}},"type":"object"},"GeminiFileData":{"description":"URI based data.","properties":{"fileUri":{"description":"URI","type":"string"},"mimeType":{"$ref":"#/components/schemas/GeminiMimeType"}},"type":"object"},"GeminiFunctionDeclaration":{"properties":{"description":{"type":"string"},"name":{"type":"string"},"parameters":{"description":"JSON schema for the function parameters","type":"object"}},"required":["name"],"type":"object"},"GeminiGenerateContentRequest":{"example":{"contents":[{"parts":[{"text":"Describe a robot learning to paint, in two sentences."}],"role":"user"}]},"properties":{"contents":{"items":{"$ref":"#/components/schemas/GeminiContent"},"type":"array"},"generationConfig":{"$ref":"#/components/schemas/GeminiGenerationConfig"},"safetySettings":{"items":{"$ref":"#/components/schemas/GeminiSafetySetting"},"type":"array"},"systemInstruction":{"$ref":"#/components/schemas/GeminiSystemInstructionContent"},"tools":{"items":{"$ref":"#/components/schemas/GeminiTool"},"type":"array"},"uploadImagesToStorage":{"description":"If true, generated images will be uploaded to cloud storage and returned as signed URLs instead of inline base64 data. The URLs expire after 24 hours.","type":"boolean"},"videoMetadata":{"$ref":"#/components/schemas/GeminiVideoMetadata"}},"required":["contents"],"type":"object"},"GeminiGenerateContentResponse":{"properties":{"candidates":{"items":{"$ref":"#/components/schemas/GeminiCandidate"},"type":"array"},"createTime":{"description":"Timestamp when the response was created.","type":"string"},"modelVersion":{"description":"The model version used to generate the response.","type":"string"},"promptFeedback":{"$ref":"#/components/schemas/GeminiPromptFeedback"},"responseId":{"description":"Unique identifier for the response.","type":"string"},"usageMetadata":{"$ref":"#/components/schemas/GeminiUsageMetadata"}},"type":"object"},"GeminiGenerationConfig":{"description":"Sampling, length and output settings for the generation. Every field is optional: the fields below that declare a `default` apply it when omitted, and the rest fall back to the model's own behaviour.\n","properties":{"imageConfig":{"description":"Configuration for image generation","properties":{"aspectRatio":{"description":"Aspect ratio for generated images","type":"string"},"imageOutputOptions":{"description":"Optional. The image output format for generated images.","properties":{"compressionQuality":{"description":"Optional. The compression quality of the output image.","type":"integer"},"mimeType":{"description":"Optional. The image format that the output should be saved as, on the Vertex AI paths: requests served by Comfy's own credentials, and BYOK requests authenticated with a GCP service account. Accepted values there are `image/png` and `image/jpeg`, matched case-insensitively and normalised to lower case before the request is forwarded; any other value is rejected with a 400 naming this field. Defaults to `image/png` when omitted. A BYOK request authenticated with a Google AI Studio API key is the exception: that upstream has no such property and rejects the whole call if it is present, so the field is dropped from the request rather than honoured or rejected, and the output format is whatever AI Studio chooses. On every path, read the media type back from the response part you are given (`inlineData.mimeType`, or `fileData.mimeType` when `uploadImagesToStorage` is set) rather than assuming the value you sent.","type":"string"}},"type":"object"},"imageSize":{"description":"Optional. Specifies the size of generated images. Supported values are 1K, 2K, 4K. If not specified, the model will use default value 1K.","type":"string"}},"type":"object"},"maxOutputTokens":{"description":"Maximum number of tokens that can be generated in the response. A token is approximately 4 characters. 100 tokens correspond to roughly 60-80 words.\n","example":2048,"maximum":65536,"minimum":16,"type":"integer"},"responseModalities":{"items":{"enum":["TEXT","IMAGE"],"type":"string"},"type":"array"},"seed":{"description":"When seed is fixed to a specific value, the model makes a best effort to provide the same response for repeated requests. Deterministic output isn't guaranteed. Also, changing the model or parameter settings, such as the temperature, can cause variations in the response even when you use the same seed value. By default, a random seed value is used. Available for the following models:, gemini-2.5-flash, gemini-2.5-pro, gemini-2.5-flash-preview-04-1, gemini-2.5-pro-preview-05-0, gemini-2.0-flash-lite-00, gemini-2.0-flash-001\n","example":343940597,"type":"integer"},"stopSequences":{"items":{"type":"string"},"type":"array"},"temperature":{"default":1,"description":"The temperature is used for sampling during response generation, which occurs when topP and topK are applied. Temperature controls the degree of randomness in token selection. Lower temperatures are good for prompts that require a less open-ended or creative response, while higher temperatures can lead to more diverse or creative results. A temperature of 0 means that the highest probability tokens are always selected. In this case, responses for a given prompt are mostly deterministic, but a small amount of variation is still possible. If the model returns a response that's too generic, too short, or the model gives a fallback response, try increasing the temperature\n","format":"float","maximum":2,"minimum":0,"type":"number"},"thinkingConfig":{"description":"Optional. Configuration for thinking features. Thinking is a process where the model breaks down a complex task into smaller steps to generate a higher-quality response.","properties":{"includeThoughts":{"description":"Optional. If true, the model will include its thoughts in the response.","type":"boolean"},"thinkingBudget":{"description":"Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget.","type":"integer"},"thinkingLevel":{"description":"Optional. The thinking level for the model.","enum":["THINKING_LEVEL_UNSPECIFIED","LOW","MEDIUM","HIGH","MINIMAL","XHIGH"],"type":"string"}},"type":"object"},"topK":{"default":40,"description":"Top-K changes how the model selects tokens for output. A top-K of 1 means the next selected token is the most probable among all tokens in the model's vocabulary. A top-K of 3 means that the next token is selected from among the 3 most probable tokens by using temperature.\n","example":40,"minimum":1,"type":"integer"},"topP":{"default":0.95,"description":"If specified, nucleus sampling is used.\nTop-P changes how the model selects tokens for output. Tokens are selected from the most (see top-K) to least probable until the sum of their probabilities equals the top-P value. For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the top-P value is 0.5, then the model will select either A or B as the next token by using temperature and excludes C as a candidate.\nSpecify a lower value for less random responses and a higher value for more random responses.\n","format":"float","maximum":1,"minimum":0,"type":"number"}},"type":"object"},"GeminiInlineData":{"description":"Inline data in raw bytes. For gemini-2.0-flash-lite and gemini-2.0-flash, you can specify up to 3000 images by using inlineData.\n","properties":{"data":{"description":"The base64 encoding of the image, PDF, or video to include inline in the prompt. When including media inline, you must also specify the media type (mimeType) of the data. Size limit: 20MB\n","format":"byte","type":"string"},"mimeType":{"$ref":"#/components/schemas/GeminiMimeType"}},"type":"object"},"GeminiInteraction":{"additionalProperties":true,"description":"A Gemini Interactions API resource. Most fields pass through; the proxy reads `status` and `usage` for billing.","properties":{"id":{"type":"string"},"model":{"type":"string"},"object":{"type":"string"},"status":{"description":"One of `queued`, `in_progress`, `requires_action`, `completed`, `failed`, `cancelled`, `incomplete`, `budget_exceeded`.","type":"string"},"steps":{"description":"Interaction history (user input, thoughts, model outputs with inline media)."},"usage":{"$ref":"#/components/schemas/GeminiInteractionUsage"}},"type":"object"},"GeminiInteractionInputs":{"additionalProperties":true,"description":"The Gemini Interactions fields, shared by the v1 `POST /proxy/gemini-interactions` request body and the Comfy Router input schema for the `gemini-interactions/*` models. Mirrors the upstream `/v1beta/interactions` schema with strict typing only on the fields the proxy reads (model, `input` for prompt extraction); all other fields (`response_format`, `generation_config`, `store`, `safety_settings`, ...) pass through unchanged via `additionalProperties`. TWO EXCEPTIONS, refused rather than forwarded: `background` and `stream`. Both are honoured by Google and both produce a 2xx this proxy cannot meter — `background: true` answers a queued `in_progress` document carrying no `usage`, whose finished generation is only ever reachable through `GET /proxy/gemini-interactions/{id}`, which meters nothing; `stream: true` answers a `text/event-stream` the billing path cannot decode. Naming either with a value other than `false` or `null` is a 400; omitting them, or sending them false/null, is the synchronous request this surface serves. On the Comfy Router route `POST /v2/models/gemini-interactions/{model}` both fields are settled to `false` before dispatch (routerSettledBoolFields) rather than refused. `required` here is the ROUTER-SAFE floor: `model` is absent from it because Router writes the path's model into the body after routervalidate.Guard has already validated the caller's bytes; the v1 wrapper `GeminiInteractionRequest` re-adds it.","example":{"input":"Reply with the single word: ok","stream":false},"properties":{"input":{"description":"Either a prompt string or an array of typed content parts (text, image, audio, video, document)."},"model":{"description":"Gemini model identifier: `gemini-omni-1.2-flash` or `gemini-omni-1.1-flash` (generally available), or the deprecated `gemini-omni-flash-preview`. On the Comfy Router route `POST /v2/models/gemini-interactions/{model}` it is supplied from the path and may be omitted. Those three spellings — the set Comfy Router addresses as `gemini-interactions/\u003cmodel\u003e` — are the ones this operation serves (supportedGeminiInteractionModels); they are written out here rather than constrained to an enum, because the proxy validates the model itself and answers its own 400 for a spelling it does not serve.","nullable":true,"type":"string"},"previous_interaction_id":{"description":"ID of a prior stored interaction, enabling stateful multi-turn video editing.","type":"string"}},"required":["input"],"type":"object"},"GeminiInteractionModalityTokens":{"description":"Token count for one modality.","properties":{"modality":{"description":"One of `text`, `image`, `audio`, `video`, `document`.","type":"string"},"tokens":{"type":"integer"}},"type":"object"},"GeminiInteractionRequest":{"allOf":[{"$ref":"#/components/schemas/GeminiInteractionInputs"},{"properties":{"model":{"description":"Gemini model identifier: `gemini-omni-1.2-flash` or `gemini-omni-1.1-flash` (generally available), or the deprecated `gemini-omni-flash-preview`. Required on this route, which carries no path segment supplying it.","type":"string"}},"required":["model"],"type":"object"}],"description":"Request body for the v1 `POST /proxy/gemini-interactions` operation.\nIt composes `GeminiInteractionInputs` rather than restating its fields, and adds back the one field only the v1 surface can demand. `model` is load-bearing: this route carries no path segment supplying it, so a caller must send it (createInteractionProxy answers 400 \"model parameter is missing\" when it is absent), whereas the Comfy Router route `POST /v2/models/gemini-interactions/{model}` supplies it from the path and its input schema must NOT require it.\nRead the note above `GeminiInteractionInputs` for the full rule and the guards that enforce it.","example":{"input":"Reply with the single word: ok","model":"gemini-omni-flash-preview","stream":false}},"GeminiInteractionUsage":{"additionalProperties":true,"description":"Token usage for a Gemini interaction.","properties":{"input_tokens_by_modality":{"items":{"$ref":"#/components/schemas/GeminiInteractionModalityTokens"},"type":"array"},"output_tokens_by_modality":{"items":{"$ref":"#/components/schemas/GeminiInteractionModalityTokens"},"type":"array"},"total_cached_tokens":{"type":"integer"},"total_input_tokens":{"type":"integer"},"total_output_tokens":{"type":"integer"},"total_thought_tokens":{"type":"integer"},"total_tokens":{"type":"integer"}},"type":"object"},"GeminiMimeType":{"description":"The media type of the file specified in the data or fileUri fields. Acceptable values include the following. For gemini-2.0-flash-lite and gemini-2.0-flash, the maximum length of an audio file is 8.4 hours and the maximum length of a video file (without audio) is one hour. For more information, see Gemini audio and video requirements. Text files must be UTF-8 encoded. The contents of the text file count toward the token limit. There is no limit on image resolution.","enum":["application/pdf","audio/mpeg","audio/mp3","audio/wav","image/png","image/jpeg","image/webp","text/plain","video/mov","video/mpeg","video/mp4","video/mpg","video/avi","video/wmv","video/mpegps","video/flv","image/heic","image/heif","audio/flac","video/webm"],"type":"string"},"GeminiOffset":{"description":"Represents a duration offset for video timeline positions.\n","properties":{"nanos":{"description":"Signed fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values.\n","example":0,"maximum":999999999,"minimum":0,"type":"integer"},"seconds":{"description":"Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive.\n","example":60,"maximum":315576000000,"minimum":-315576000000,"type":"integer"}},"type":"object"},"GeminiPart":{"properties":{"fileData":{"$ref":"#/components/schemas/GeminiFileData"},"inlineData":{"$ref":"#/components/schemas/GeminiInlineData"},"mediaProcessing":{"description":"How the model reads this part's video. Set \"AGENTIC\" to let the model decide which segments to inspect, instead of fixed-rate frame sampling. Omit for the default fixed-rate sampling. Supported on gemini-3.7-flash and newer Flash models.\n","type":"string"},"text":{"description":"A text prompt or code snippet.","example":"Write a story about a robot learning to paint","type":"string"},"thought":{"description":"Indicates this part is a thinking/reasoning step from the model.","type":"boolean"}},"type":"object"},"GeminiPromptFeedback":{"properties":{"blockReason":{"type":"string"},"blockReasonMessage":{"type":"string"},"safetyRatings":{"items":{"$ref":"#/components/schemas/GeminiSafetyRating"},"type":"array"}},"type":"object"},"GeminiSafetyCategory":{"enum":["HARM_CATEGORY_SEXUALLY_EXPLICIT","HARM_CATEGORY_HATE_SPEECH","HARM_CATEGORY_HARASSMENT","HARM_CATEGORY_DANGEROUS_CONTENT"],"type":"string"},"GeminiSafetyRating":{"properties":{"category":{"$ref":"#/components/schemas/GeminiSafetyCategory"},"probability":{"description":"The probability that the content violates the specified safety category","enum":["NEGLIGIBLE","LOW","MEDIUM","HIGH","UNKNOWN"],"type":"string"}},"type":"object"},"GeminiSafetySetting":{"description":"Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates.\n","properties":{"category":{"$ref":"#/components/schemas/GeminiSafetyCategory"},"threshold":{"$ref":"#/components/schemas/GeminiSafetyThreshold"}},"required":["category","threshold"],"type":"object"},"GeminiSafetyThreshold":{"enum":["OFF","BLOCK_NONE","BLOCK_LOW_AND_ABOVE","BLOCK_MEDIUM_AND_ABOVE","BLOCK_ONLY_HIGH"],"type":"string"},"GeminiSystemInstructionContent":{"description":"Instructions for the model to steer it toward better performance. For example, \"Answer as concisely as possible\" or \"Don't use technical terms in your response\". The text strings count toward the token limit. The role field of systemInstruction is ignored and doesn't affect the performance of the model. Note: Only text should be used in parts and content in each part should be in a separate paragraph.\n","properties":{"parts":{"description":"A list of ordered parts that make up a single message. Different parts may have different IANA MIME types. For limits on the inputs, such as the maximum number of tokens or the number of images, see the model specifications on the Google models page.\n","items":{"$ref":"#/components/schemas/GeminiTextPart"},"type":"array"},"role":{"description":"The identity of the entity that creates the message. The following values are supported: user: This indicates that the message is sent by a real person, typically a user-generated message. model: This indicates that the message is generated by the model. The model value is used to insert messages from the model into the conversation during multi-turn conversations. For non-multi-turn conversations, this field can be left blank or unset.\n","enum":["user","model"],"example":"user","type":"string"}},"required":["parts"],"type":"object"},"GeminiTextPart":{"properties":{"text":{"description":"A text prompt or code snippet.","example":"Answer as concisely as possible","type":"string"}},"type":"object"},"GeminiTool":{"description":"A piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. See Function calling.\n","properties":{"functionDeclarations":{"items":{"$ref":"#/components/schemas/GeminiFunctionDeclaration"},"type":"array"}},"type":"object"},"GeminiUsageMetadata":{"properties":{"cachedContentTokenCount":{"description":"Output only. Number of tokens in the cached part in the input (the cached content).","type":"integer"},"candidatesTokenCount":{"description":"Number of tokens in the response(s).","type":"integer"},"candidatesTokensDetails":{"description":"Breakdown of candidate tokens by modality.","items":{"$ref":"#/components/schemas/ModalityTokenCount"},"type":"array"},"promptTokenCount":{"description":"Number of tokens in the request. When cachedContent is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.","type":"integer"},"promptTokensDetails":{"description":"Breakdown of prompt tokens by modality.","items":{"$ref":"#/components/schemas/ModalityTokenCount"},"type":"array"},"thoughtsTokenCount":{"description":"Number of tokens present in thoughts output.","type":"integer"},"toolUsePromptTokenCount":{"description":"Number of tokens present in tool-use prompt(s).","type":"integer"},"toolUsePromptTokensDetails":{"description":"Breakdown of tool-use prompt tokens by modality.","items":{"$ref":"#/components/schemas/ModalityTokenCount"},"type":"array"},"totalTokenCount":{"description":"Total number of tokens (prompt + candidates).","type":"integer"},"trafficType":{"description":"Traffic type used for the request (e.g., PROVISIONED_THROUGHPUT).","type":"string"}},"type":"object"},"GeminiVideoMetadata":{"description":"For video input, the start and end offset of the video in Duration format. For example, to specify a 10 second clip starting at 1:00, set \"startOffset\": { \"seconds\": 60 } and \"endOffset\": { \"seconds\": 70 }. The metadata should only be specified while the video data is presented in inlineData or fileData.\n","properties":{"endOffset":{"$ref":"#/components/schemas/GeminiOffset"},"startOffset":{"$ref":"#/components/schemas/GeminiOffset"}},"type":"object"},"GitCommitSummary":{"properties":{"author":{"description":"The author of the commit","type":"string"},"branch_name":{"description":"The branch where the commit was made","type":"string"},"commit_hash":{"description":"The hash of the commit","type":"string"},"commit_name":{"description":"The name of the commit","type":"string"},"status_summary":{"additionalProperties":{"type":"string"},"description":"A map of operating system to status pairs","type":"object"},"timestamp":{"description":"The timestamp when the commit was made","format":"date-time","type":"string"}},"type":"object"},"GithubEnterprise":{"description":"A GitHub enterprise","properties":{"avatar_url":{"description":"URL to the enterprise avatar","type":"string"},"created_at":{"description":"When the enterprise was created","format":"date-time","type":"string"},"description":{"description":"The enterprise description","nullable":true,"type":"string"},"html_url":{"description":"The HTML URL of the enterprise","type":"string"},"id":{"description":"The enterprise ID","type":"integer"},"name":{"description":"The enterprise name","type":"string"},"node_id":{"description":"The enterprise node ID","type":"string"},"slug":{"description":"The enterprise slug","type":"string"},"updated_at":{"description":"When the enterprise was last updated","format":"date-time","type":"string"},"website_url":{"description":"The enterprise website URL","nullable":true,"type":"string"}},"required":["id","slug","name","node_id","avatar_url","html_url","created_at","updated_at"],"type":"object"},"GithubInstallation":{"description":"A GitHub App installation","properties":{"access_tokens_url":{"description":"The API URL for access tokens","type":"string"},"account":{"$ref":"#/components/schemas/GithubUser"},"app_id":{"description":"The GitHub App ID","type":"integer"},"created_at":{"description":"When the installation was created","format":"date-time","type":"string"},"events":{"description":"The events the installation subscribes to","items":{"type":"string"},"type":"array"},"html_url":{"description":"The HTML URL of the installation","type":"string"},"id":{"description":"The installation ID","type":"integer"},"permissions":{"description":"The installation permissions","type":"object"},"repositories_url":{"description":"The API URL for repositories","type":"string"},"repository_selection":{"description":"Repository selection for the installation","enum":["selected","all"],"type":"string"},"single_file_name":{"description":"The single file name if applicable","nullable":true,"type":"string"},"target_id":{"description":"The target ID","type":"integer"},"target_type":{"description":"The target type","type":"string"},"updated_at":{"description":"When the installation was last updated","format":"date-time","type":"string"}},"required":["id","account","repository_selection","access_tokens_url","repositories_url","html_url","app_id","target_id","target_type","permissions","events","created_at","updated_at"],"type":"object"},"GithubOrganization":{"description":"A GitHub organization","properties":{"avatar_url":{"description":"URL to the organization's avatar","type":"string"},"description":{"description":"The organization description","nullable":true,"type":"string"},"events_url":{"description":"The API URL of the organization's events","type":"string"},"hooks_url":{"description":"The API URL of the organization's hooks","type":"string"},"id":{"description":"The organization ID","type":"integer"},"issues_url":{"description":"The API URL of the organization's issues","type":"string"},"login":{"description":"The organization's login name","type":"string"},"members_url":{"description":"The API URL of the organization's members","type":"string"},"node_id":{"description":"The organization node ID","type":"string"},"public_members_url":{"description":"The API URL of the organization's public members","type":"string"},"repos_url":{"description":"The API URL of the organization's repositories","type":"string"},"url":{"description":"The API URL of the organization","type":"string"}},"required":["login","id","node_id","url","repos_url","events_url","hooks_url","issues_url","members_url","public_members_url","avatar_url"],"type":"object"},"GithubReleaseAsset":{"description":"A GitHub release asset","properties":{"browser_download_url":{"description":"The browser download URL","type":"string"},"content_type":{"description":"The content type of the asset","type":"string"},"created_at":{"description":"When the asset was created","format":"date-time","type":"string"},"download_count":{"description":"The number of downloads","type":"integer"},"id":{"description":"The asset ID","type":"integer"},"label":{"description":"The label of the asset","nullable":true,"type":"string"},"name":{"description":"The name of the asset","type":"string"},"node_id":{"description":"The asset node ID","type":"string"},"size":{"description":"The size of the asset in bytes","type":"integer"},"state":{"description":"The state of the asset","enum":["uploaded","open"],"type":"string"},"updated_at":{"description":"When the asset was last updated","format":"date-time","type":"string"},"uploader":{"$ref":"#/components/schemas/GithubUser"}},"required":["id","node_id","name","content_type","state","size","download_count","created_at","updated_at","browser_download_url","uploader"],"type":"object"},"GithubReleaseWebhook":{"description":"GitHub release webhook payload based on official webhook documentation","properties":{"action":{"description":"The action performed on the release","enum":["published","unpublished","created","edited","deleted","prereleased","released"],"type":"string"},"enterprise":{"$ref":"#/components/schemas/GithubEnterprise"},"installation":{"$ref":"#/components/schemas/GithubInstallation"},"organization":{"$ref":"#/components/schemas/GithubOrganization"},"release":{"description":"The release object","properties":{"assets":{"description":"Array of release assets","items":{"$ref":"#/components/schemas/GithubReleaseAsset"},"type":"array"},"assets_url":{"description":"The URL to the release assets","type":"string"},"author":{"$ref":"#/components/schemas/GithubUser"},"body":{"description":"The release notes/body","nullable":true,"type":"string"},"created_at":{"description":"When the release was created","format":"date-time","type":"string"},"draft":{"description":"Whether the release is a draft","type":"boolean"},"html_url":{"description":"The HTML URL of the release","type":"string"},"id":{"description":"The ID of the release","type":"integer"},"name":{"description":"The name of the release","nullable":true,"type":"string"},"node_id":{"description":"The node ID of the release","type":"string"},"prerelease":{"description":"Whether the release is a prerelease","type":"boolean"},"published_at":{"description":"When the release was published","format":"date-time","nullable":true,"type":"string"},"tag_name":{"description":"The tag name of the release","type":"string"},"tarball_url":{"description":"URL to the tarball","type":"string"},"target_commitish":{"description":"The branch or commit the release was created from","type":"string"},"upload_url":{"description":"The URL to upload release assets","type":"string"},"url":{"description":"The API URL of the release","type":"string"},"zipball_url":{"description":"URL to the zipball","type":"string"}},"required":["id","node_id","url","html_url","tag_name","target_commitish","draft","prerelease","created_at","author","tarball_url","zipball_url","assets"],"type":"object"},"repository":{"$ref":"#/components/schemas/GithubRepository"},"sender":{"$ref":"#/components/schemas/GithubUser"}},"required":["action","release","repository","sender"],"type":"object"},"GithubRepository":{"description":"A GitHub repository","properties":{"clone_url":{"description":"The clone URL of the repository","type":"string"},"created_at":{"description":"When the repository was created","format":"date-time","type":"string"},"default_branch":{"description":"The default branch of the repository","type":"string"},"description":{"description":"The repository description","nullable":true,"type":"string"},"fork":{"description":"Whether the repository is a fork","type":"boolean"},"full_name":{"description":"The full name of the repository (owner/repo)","type":"string"},"git_url":{"description":"The git URL of the repository","type":"string"},"html_url":{"description":"The HTML URL of the repository","type":"string"},"id":{"description":"The repository ID","type":"integer"},"name":{"description":"The name of the repository","type":"string"},"node_id":{"description":"The repository node ID","type":"string"},"owner":{"$ref":"#/components/schemas/GithubUser"},"private":{"description":"Whether the repository is private","type":"boolean"},"pushed_at":{"description":"When the repository was last pushed to","format":"date-time","type":"string"},"ssh_url":{"description":"The SSH URL of the repository","type":"string"},"updated_at":{"description":"When the repository was last updated","format":"date-time","type":"string"},"url":{"description":"The API URL of the repository","type":"string"}},"required":["id","node_id","name","full_name","private","owner","html_url","fork","url","clone_url","git_url","ssh_url","default_branch","created_at","updated_at","pushed_at"],"type":"object"},"GithubUser":{"description":"A GitHub user","properties":{"avatar_url":{"description":"URL to the user's avatar","type":"string"},"gravatar_id":{"description":"The user's gravatar ID","nullable":true,"type":"string"},"html_url":{"description":"The HTML URL of the user","type":"string"},"id":{"description":"The user's ID","type":"integer"},"login":{"description":"The user's login name","type":"string"},"node_id":{"description":"The user's node ID","type":"string"},"site_admin":{"description":"Whether the user is a site admin","type":"boolean"},"type":{"description":"The type of user","enum":["Bot","User","Organization"],"type":"string"},"url":{"description":"The API URL of the user","type":"string"}},"required":["login","id","node_id","avatar_url","url","html_url","type","site_admin"],"type":"object"},"HeyGenAssetInput":{"description":"Asset reference. Set type to the discriminator ('url', 'asset_id', or\n'base64') and provide the matching field: url, asset_id, or\nmedia_type + data.\n","properties":{"asset_id":{"description":"HeyGen asset ID from the asset upload endpoint","type":"string"},"data":{"description":"Base64-encoded file content","type":"string"},"media_type":{"description":"MIME type of base64-encoded content (e.g. 'image/png')","type":"string"},"type":{"description":"Input type discriminator: 'url', 'asset_id', or 'base64'","type":"string"},"url":{"description":"Publicly accessible HTTPS URL for the asset","type":"string"}},"required":["type"],"type":"object"},"HeyGenAvatarLook":{"description":"A HeyGen avatar look. The id field is the look-level identifier to pass\nas avatar_id when creating a video.\n","properties":{"avatar_type":{"description":"Avatar look type: 'studio_avatar', 'digital_twin', or 'photo_avatar'","type":"string"},"default_voice_id":{"description":"Default voice ID for this look","type":"string"},"error":{"$ref":"#/components/schemas/HeyGenAvatarLookError"},"gender":{"description":"Gender of the avatar","type":"string"},"group_id":{"description":"ID of the avatar group this look belongs to","type":"string"},"id":{"description":"Unique look identifier","type":"string"},"image_height":{"description":"Native height of the look in pixels","type":"integer"},"image_width":{"description":"Native width of the look in pixels","type":"integer"},"name":{"description":"Display name of the look","type":"string"},"preferred_orientation":{"description":"Preferred orientation of the look: 'portrait', 'landscape', or 'square'","type":"string"},"preview_image_url":{"description":"URL to the look preview image","type":"string"},"preview_video_url":{"description":"URL to the look preview video","type":"string"},"status":{"description":"Training status of the avatar look: 'processing', 'pending_consent', 'completed', or 'failed'","type":"string"},"supported_api_engines":{"description":"Engine values this look supports: 'avatar_v', 'avatar_iv', 'avatar_iii'","items":{"type":"string"},"type":"array"},"tags":{"description":"Tags associated with the look","items":{"type":"string"},"type":"array"}},"type":"object"},"HeyGenAvatarLookError":{"description":"Error details for a failed avatar look","properties":{"code":{"description":"Machine-readable error code","type":"string"},"message":{"description":"Human-readable error description","type":"string"}},"type":"object"},"HeyGenAvatarLookResponse":{"description":"Response envelope for HeyGen get-avatar-look","properties":{"data":{"$ref":"#/components/schemas/HeyGenAvatarLook"}},"type":"object"},"HeyGenBackgroundSetting":{"description":"Background configuration for the generated video","properties":{"asset_id":{"description":"HeyGen asset ID of the background image. Used when type is 'image'","type":"string"},"type":{"description":"Background type: 'color' (solid hex color) or 'image'","type":"string"},"url":{"description":"URL of the background image. Used when type is 'image'","type":"string"},"value":{"description":"Hex color code (e.g. '#ff0000'). Required when type is 'color'","type":"string"}},"required":["type"],"type":"object"},"HeyGenCaptionSetting":{"description":"Caption generation settings. A sidecar subtitle file is always returned\nvia subtitle_url; set style to additionally burn captions into the\nrendered video.\n","properties":{"file_format":{"description":"Output format for the sidecar caption file (e.g. 'srt')","type":"string"},"style":{"description":"Visual style for burned-in captions. Omit for sidecar-only captions","type":"string"}},"type":"object"},"HeyGenCreateAvatarData":{"description":"Payload of a successful HeyGen create-avatar response","properties":{"avatar_group":{"$ref":"#/components/schemas/HeyGenCreateAvatarGroup"},"avatar_item":{"$ref":"#/components/schemas/HeyGenCreateAvatarItem"}},"type":"object"},"HeyGenCreateAvatarGroup":{"description":"The avatar group created for the new avatar","properties":{"id":{"description":"Unique avatar group identifier","type":"string"}},"type":"object"},"HeyGenCreateAvatarItem":{"description":"The first look created for the new avatar","properties":{"id":{"description":"Unique look identifier. Pass this as avatar_id when creating videos once training completes","type":"string"},"status":{"description":"Initial training status (e.g. 'processing')","type":"string"}},"type":"object"},"HeyGenCreateAvatarRequest":{"description":"Request body for HeyGen v3 create-avatar. Types 'photo' (from an\nimage) and 'prompt' (generated from a text description) are supported\nthrough this proxy; 'digital_twin' requires a consent flow and is not\nsupported.\n","properties":{"file":{"$ref":"#/components/schemas/HeyGenAssetInput"},"name":{"description":"Display name for the new avatar","type":"string"},"prompt":{"description":"Text description of the avatar to generate (prompt type only, max 1000 characters)","type":"string"},"reference_images":{"description":"Optional reference images guiding prompt-based generation (up to 3)","items":{"$ref":"#/components/schemas/HeyGenAssetInput"},"type":"array"},"type":{"description":"Avatar creation variant: 'photo' or 'prompt'","type":"string"}},"required":["type"],"type":"object"},"HeyGenCreateAvatarResponse":{"description":"Response envelope for HeyGen create-avatar","properties":{"data":{"$ref":"#/components/schemas/HeyGenCreateAvatarData"}},"type":"object"},"HeyGenCreateModelAvatarVideoRequest":{"description":"Request body for a HeyGen Avatar 6 model generation. Send reference_images, reference_videos, or both","properties":{"audio":{"$ref":"#/components/schemas/HeyGenAssetInput"},"model":{"description":"Model identifier: 'heygen-avatar-6' or 'heygen-avatar-6-turbo'","type":"string"},"motion_expressiveness":{"description":"'default' or 'less' for fewer, smaller gestures and calmer expressions","type":"string"},"motion_prompt":{"description":"Gestures, expression, posture and camera direction, up to 1,200 characters","type":"string"},"output_height":{"description":"Exact output height in even pixels. Set together with output_width","type":"integer"},"output_width":{"description":"Exact output width in even pixels. Set together with output_height","type":"integer"},"reference_images":{"description":"One reference image, up to 32 MB. With a reference video, it must show the same person or character","items":{"$ref":"#/components/schemas/HeyGenAssetInput"},"type":"array"},"reference_videos":{"description":"One reference video, up to 50 MB by url or base64, or 200 MB as an uploaded asset","items":{"$ref":"#/components/schemas/HeyGenAssetInput"},"type":"array"},"resolution":{"description":"Output resolution: '1080p' (default) or '2k'","type":"string"}},"required":["model","audio"],"type":"object"},"HeyGenCreateModelVideoRequest":{"description":"Request body for HeyGen Video model generation","properties":{"aspect_ratio":{"description":"Output aspect ratio: '21:9', '16:9', '4:3', '1:1', '3:4', or '9:16', plus 'adaptive' for reference_to_video. image_to_video follows the first frame","type":"string"},"duration":{"description":"Video length in whole seconds (default 5), or 'auto' to size the clip from the quoted dialogue in the prompt. text_to_video and image_to_video with prompt_enhancement 'turbo' or 'quality' take 5-30 ('auto' picks 8-30); other requests take 5-15 ('auto' picks 8-15)","oneOf":[{"maximum":30,"minimum":5,"type":"integer"},{"enum":["auto"],"type":"string"}]},"image":{"$ref":"#/components/schemas/HeyGenAssetInput"},"mode":{"description":"Conditioning mode: 'text_to_video', 'image_to_video', or 'reference_to_video' (default)","type":"string"},"model":{"description":"Model identifier: 'heygen-video-1'","type":"string"},"prompt":{"description":"Text prompt, 1 to 32,000 characters","type":"string"},"prompt_enhancement":{"description":"Prompt enhancement pass: 'turbo', 'quality' (default), 'ultraquality', or 'disabled'","type":"string"},"reference_audio":{"description":"Reference audio clips, up to 3 (reference_to_video only)","items":{"$ref":"#/components/schemas/HeyGenAssetInput"},"type":"array"},"reference_images":{"description":"Reference images, up to 9 (reference_to_video only)","items":{"$ref":"#/components/schemas/HeyGenAssetInput"},"type":"array"},"reference_videos":{"description":"Reference videos, up to 3 (reference_to_video only). The videos share a 15-second input budget","items":{"$ref":"#/components/schemas/HeyGenAssetInput"},"type":"array"},"resolution":{"description":"Output resolution class: '480p', '768p' (default), '1080p' or '2k'. '1080p' and '2k' need aspect_ratio '16:9' or '9:16' for text_to_video and reference_to_video","type":"string"},"seed":{"description":"Unsigned 32-bit seed; random when omitted","format":"int64","type":"integer"}},"required":["model","prompt"],"type":"object"},"HeyGenCreateModelVoiceData":{"properties":{"voice_id":{"description":"Identifier of the new voice","type":"string"}},"type":"object"},"HeyGenCreateModelVoiceRequest":{"description":"Request body for creating a HeyGen Voice instant voice","properties":{"age":{"description":"'young' or 'old'. Detected when omitted","type":"string"},"audio":{"description":"Exactly one recording. Only the first 3 minutes are used","items":{"$ref":"#/components/schemas/HeyGenAssetInput"},"type":"array"},"gender":{"description":"'male' or 'female'. Detected when omitted","type":"string"},"language":{"description":"Language code of the recording (e.g. 'en'). Detected when omitted","type":"string"},"mode":{"description":"Voice mode. Only 'instant' is accepted","type":"string"},"name":{"description":"Display name, 1-64 characters","type":"string"},"remove_background_noise":{"description":"Clean the recording before cloning. Defaults to true","type":"boolean"},"similarity":{"description":"How closely the voice follows the recording: 'medium', 'high', 'extra_high' or 'max'. Defaults to 'extra_high'","type":"string"}},"required":["mode","name","audio"],"type":"object"},"HeyGenCreateModelVoiceResponse":{"description":"Response envelope for HeyGen Voice voice creation","properties":{"data":{"$ref":"#/components/schemas/HeyGenCreateModelVoiceData"}},"type":"object"},"HeyGenCreateVideoData":{"description":"Payload of a successful HeyGen create-video response","properties":{"output_format":{"description":"Resolved output format for the video","type":"string"},"status":{"description":"Initial video status (e.g. 'waiting')","type":"string"},"video_id":{"description":"Unique identifier for the created video","type":"string"}},"type":"object"},"HeyGenCreateVideoRequest":{"description":"Request body for HeyGen v3 create-video. This is a flattened union of\nthe three variants selected by type: 'avatar' (requires avatar_id),\n'image' (requires image), and 'cinematic_avatar' (requires prompt and\navatar_id). Script/voice fields apply to the 'avatar' and 'image'\nvariants; prompt/references/duration fields apply to the\n'cinematic_avatar' variant.\n","properties":{"aspect_ratio":{"description":"Output video aspect ratio: '16:9', '9:16', '4:5', '5:4', '1:1', or 'auto'","type":"string"},"audio_asset_id":{"description":"HeyGen asset ID of an uploaded audio file. Mutually exclusive with script","type":"string"},"audio_url":{"description":"Public URL of an audio file to lip-sync. Mutually exclusive with script","type":"string"},"auto_duration":{"description":"Let the model choose the video length (cinematic_avatar only)","type":"boolean"},"avatar_id":{"description":"Avatar look reference. For type 'avatar' this is a single look ID\nstring; for type 'cinematic_avatar' it is an array of 1 to 3 look\nID strings.\n"},"background":{"$ref":"#/components/schemas/HeyGenBackgroundSetting"},"callback_id":{"description":"Caller-defined identifier echoed back in the webhook payload","type":"string"},"callback_url":{"description":"Webhook URL to receive a POST notification when the video is ready","type":"string"},"caption":{"$ref":"#/components/schemas/HeyGenCaptionSetting"},"duration":{"description":"Video length in seconds, 4-15 (cinematic_avatar only)","type":"integer"},"engine":{"$ref":"#/components/schemas/HeyGenEngineConfig"},"enhance_prompt":{"description":"Enable server-side prompt enhancement (cinematic_avatar only)","type":"boolean"},"expressiveness":{"description":"Avatar expressiveness level for photo avatars: 'high', 'medium', or 'low'","type":"string"},"fit":{"description":"How the subject is fitted to the output canvas: 'cover' or 'contain'","type":"string"},"image":{"$ref":"#/components/schemas/HeyGenAssetInput"},"motion_prompt":{"description":"Natural-language prompt controlling avatar body motion and hand gestures","type":"string"},"output_format":{"description":"Output container: 'mp4' (default) or 'webm' (transparent background)","type":"string"},"prompt":{"description":"Natural-language prompt describing the video to generate (cinematic_avatar only)","type":"string"},"references":{"description":"Reference assets (images, videos, or audio) guiding the generation (cinematic_avatar only)","items":{"$ref":"#/components/schemas/HeyGenAssetInput"},"type":"array"},"remove_background":{"description":"Remove the avatar background. Video avatars must be trained with matting enabled","type":"boolean"},"resolution":{"description":"Output video resolution: '720p', '1080p', or '4k' (4k only on looks whose engine supports it). heygen-avatar-6 and heygen-avatar-6-turbo take '1080p' (default) or '2k' only","type":"string"},"script":{"description":"Text script for the avatar to speak. Mutually exclusive with audio_url/audio_asset_id","type":"string"},"title":{"description":"Display title for the video in the HeyGen dashboard","type":"string"},"type":{"description":"Video creation variant: 'avatar', 'image', or 'cinematic_avatar'","type":"string"},"voice_id":{"description":"Voice ID for text-to-speech. Required with script unless avatar_id has a default voice","type":"string"},"voice_settings":{"$ref":"#/components/schemas/HeyGenVoiceSettings"}},"required":["type"],"type":"object"},"HeyGenCreateVideoResponse":{"description":"Response envelope for HeyGen create-video","properties":{"data":{"$ref":"#/components/schemas/HeyGenCreateVideoData"}},"type":"object"},"HeyGenCreateVideoTranslationRequest":{"description":"Request body for HeyGen v3 create-video-translation","properties":{"audio":{"$ref":"#/components/schemas/HeyGenAssetInput"},"brand_glossary_id":{"description":"Brand glossary ID for custom term translations","type":"string"},"brand_voice_id":{"description":"Brand glossary ID for custom term translations (legacy alias of brand_glossary_id)","type":"string"},"callback_id":{"description":"ID included in webhook payload","type":"string"},"callback_url":{"description":"Webhook URL for completion notifications","type":"string"},"disable_music_track":{"description":"Remove background music","type":"boolean"},"enable_caption":{"description":"Generate captions for translated video","type":"boolean"},"enable_dynamic_duration":{"description":"Allow dynamic duration adjustment","type":"boolean"},"enable_speech_enhancement":{"description":"Enhance speech quality","type":"boolean"},"enable_watermark":{"description":"Add watermark to output","type":"boolean"},"end_time":{"description":"End time in seconds for partial translation","format":"double","type":"number"},"folder_id":{"description":"Project/folder ID to organize translation into","type":"string"},"fps_mode":{"description":"Frame rate mode for the output video: 'vfr', 'cfr', or 'passthrough'","type":"string"},"input_language":{"description":"Source language code (auto-detected if omitted)","type":"string"},"keep_the_same_format":{"description":"Preserve the source video's encoding specs (resolution, bitrate)","type":"boolean"},"mode":{"description":"Translation quality mode: 'speed' (default, faster) or 'precision' (higher lip-sync quality)","type":"string"},"output_languages":{"description":"Target language names (e.g. 'Spanish (Spain)', 'English'). Use one\nfor single translation, multiple for batch.\n","items":{"type":"string"},"type":"array"},"speaker_num":{"description":"Number of speakers (improves speaker separation)","type":"integer"},"srt":{"$ref":"#/components/schemas/HeyGenAssetInput"},"srt_role":{"description":"Which video the subtitle applies to: 'input' (source) or 'output' (translated)","type":"string"},"start_time":{"description":"Start time in seconds for partial translation","format":"double","type":"number"},"stock_voice_config":{"$ref":"#/components/schemas/HeyGenStockVoiceConfig"},"title":{"description":"Title for the translation job","type":"string"},"translate_audio_only":{"description":"Only translate audio, keep original video","type":"boolean"},"video":{"$ref":"#/components/schemas/HeyGenAssetInput"}},"required":["video","output_languages"],"type":"object"},"HeyGenEngineConfig":{"description":"Engine configuration for video generation","properties":{"motion_expressiveness":{"description":"'default' or 'less' for fewer, smaller gestures (heygen-avatar-6 and heygen-avatar-6-turbo only)","type":"string"},"reference_look_id":{"description":"Optional look used as the animation reference (avatar_v, or a consented digital-twin look in the same avatar group for heygen-avatar-6 and heygen-avatar-6-turbo)","type":"string"},"type":{"description":"Engine type: 'avatar_iii', 'avatar_iv', 'avatar_v', 'heygen-avatar-6', or 'heygen-avatar-6-turbo'. Defaults to 'avatar_iv' when omitted","type":"string"}},"required":["type"],"type":"object"},"HeyGenModelCloneSpeechData":{"description":"Payload of a successful HeyGen Voice clone and text to speech response","properties":{"audio_url":{"description":"URL of the generated mono 44.1 kHz WAV file","type":"string"},"duration":{"description":"Duration of the audio in seconds","format":"double","type":"number"}},"type":"object"},"HeyGenModelCloneSpeechRequest":{"description":"Request body for HeyGen Voice clone and text to speech","properties":{"expressiveness_boost":{"description":"0.0-1.0, defaults to 1.0","format":"double","type":"number"},"language":{"description":"Language code of the text (e.g. 'en'). Detected from the text when omitted","type":"string"},"model":{"description":"Model name: 'heygen-voice-1' (default), 'heygen-voice-1-turbo', or 'heygen-voice-1-turbo-free'. 'heygen-voice-1-turbo-free' is free and accepted through 2026-11-30 UTC only; it is refused from 2026-12-01","type":"string"},"reference_audio":{"$ref":"#/components/schemas/HeyGenAssetInput"},"reference_language":{"description":"Language code of the recording (e.g. 'en'). Detected when omitted","type":"string"},"remove_background_noise":{"description":"Clean the recording before cloning. Defaults to true","type":"boolean"},"similarity":{"description":"How closely the voice follows the recording: 'medium', 'high', 'extra_high' or 'max'. Defaults to 'extra_high'","type":"string"},"text":{"description":"Plain prose to synthesize, 1-5000 characters","maxLength":5000,"minLength":1,"type":"string"}},"required":["reference_audio","text"],"type":"object"},"HeyGenModelCloneSpeechResponse":{"description":"Response envelope for HeyGen Voice clone and text to speech","properties":{"data":{"$ref":"#/components/schemas/HeyGenModelCloneSpeechData"}},"type":"object"},"HeyGenModelDecisionAnswer":{"description":"The answer to one question. The fields present depend on type","properties":{"choice":{"description":"choice only. The option with the highest probability","type":"string"},"confidence":{"description":"choice and score only. Concentration of the distribution, 0-1","format":"double","type":"number"},"legend":{"additionalProperties":{"type":"string"},"description":"score only. Level index to level description","type":"object"},"noul":{"description":"noul only. Estimated probability of true, 0-1","format":"double","type":"number"},"probabilities":{"additionalProperties":{"format":"double","type":"number"},"description":"choice and score only. Probability per option name or level index","type":"object"},"score":{"description":"score only. Probability-weighted average of the level indices","format":"double","type":"number"},"type":{"description":"Question type: 'noul', 'choice' or 'score'","type":"string"}},"type":"object"},"HeyGenModelDecisionAssets":{"description":"Named media shared by every question. Each map key names one input","properties":{"audios":{"additionalProperties":{"$ref":"#/components/schemas/HeyGenAssetInput"},"description":"Up to 10 audio clips (WAV, MP3, FLAC, OGG, M4A, AAC, WebM), each at most 30 minutes","type":"object"},"images":{"additionalProperties":{"$ref":"#/components/schemas/HeyGenAssetInput"},"description":"Up to 100 images (JPEG, PNG, WebP)","type":"object"},"videos":{"additionalProperties":{"$ref":"#/components/schemas/HeyGenAssetInput"},"description":"Up to 10 videos (MP4, WebM, MOV), each at most 60 s","type":"object"}},"type":"object"},"HeyGenModelDecisionData":{"description":"Payload of a successful HeyGen Decision response","properties":{"answers":{"additionalProperties":{"$ref":"#/components/schemas/HeyGenModelDecisionAnswer"},"description":"One answer per question, keyed by question name","type":"object"},"id":{"description":"Identifier of this decision result","type":"string"},"model":{"description":"The model that answered","type":"string"},"request_id":{"description":"Request identifier for troubleshooting","type":"string"},"usage":{"$ref":"#/components/schemas/HeyGenModelDecisionUsage"}},"type":"object"},"HeyGenModelDecisionQuestion":{"description":"One named question","properties":{"criteria":{"description":"Optional 'true'/'false' descriptions for noul, an object of 1-255 named options for choice, or an array of 1-10 ordered levels for score"},"instructions":{"description":"The question to answer or the rule to apply. A string, JSON object, array or null. Defaults to the question name"},"type":{"description":"Question type: 'noul' (yes/no probability), 'choice' (pick one option) or 'score' (rate against ordered levels)","type":"string"}},"required":["type"],"type":"object"},"HeyGenModelDecisionRequest":{"description":"Request body for HeyGen Decision","properties":{"assets":{"$ref":"#/components/schemas/HeyGenModelDecisionAssets"},"model":{"description":"Model name: 'heygen-decision-1-turbo' (default) or 'heygen-decision-1'","type":"string"},"questions":{"additionalProperties":{"$ref":"#/components/schemas/HeyGenModelDecisionQuestion"},"description":"1-400 named questions. Each key becomes the matching key in data.answers","type":"object"},"state":{"description":"The material to evaluate. A string, JSON object or JSON array"}},"required":["state","questions"],"type":"object"},"HeyGenModelDecisionResponse":{"description":"Response envelope for HeyGen Decision","properties":{"data":{"$ref":"#/components/schemas/HeyGenModelDecisionData"}},"type":"object"},"HeyGenModelDecisionUsage":{"description":"Token usage of a decision","properties":{"input_tokens":{"description":"Total input tokens read for this request. Billed per input token","format":"int64","type":"integer"},"output_tokens":{"description":"Always 0","format":"int64","type":"integer"}},"type":"object"},"HeyGenModelSpeechCharacter":{"description":"Timing of one character of the submitted text","properties":{"end_time":{"description":"End time in seconds","format":"double","type":"number"},"start_time":{"description":"Start time in seconds","format":"double","type":"number"},"text":{"type":"string"}},"type":"object"},"HeyGenModelSpeechData":{"description":"Payload of a successful HeyGen Voice speech response","properties":{"audio_url":{"description":"URL of the generated mono 44.1 kHz WAV file","type":"string"},"duration":{"description":"Duration of the audio in seconds","format":"double","type":"number"},"original_characters":{"description":"Per-character timing, present when with_timestamps is true","items":{"$ref":"#/components/schemas/HeyGenModelSpeechCharacter"},"type":"array"}},"type":"object"},"HeyGenModelSpeechRequest":{"description":"Request body for HeyGen Voice text to speech","properties":{"expressiveness_boost":{"description":"Instant voices only. 0.0-1.0, defaults to 1.0","format":"double","type":"number"},"language":{"description":"Language code of the text (e.g. 'en'). Detected from the text when omitted","type":"string"},"model":{"description":"Model name: 'heygen-voice-1' (default), 'heygen-voice-1-turbo', or 'heygen-voice-1-turbo-free'. Turbo speaks instant voices only. 'heygen-voice-1-turbo-free' is free and accepted through 2026-11-30 UTC only; it is refused from 2026-12-01","type":"string"},"pitch_shift":{"description":"Professional voices only. Pitch shift in semitones, -4 to +4","format":"double","type":"number"},"pitch_variance":{"description":"Professional voices only. Pitch variation, 0.5-2.0","format":"double","type":"number"},"seed":{"description":"Professional voices only. Best-effort deterministic seed","format":"int64","type":"integer"},"speed":{"description":"Professional voices only. Speech speed multiplier, 0.75-1.25","format":"double","type":"number"},"text":{"description":"Plain prose to synthesize, 1-5000 characters","maxLength":5000,"minLength":1,"type":"string"},"voice_id":{"description":"An ACTIVE HeyGen Voice voice, or a HeyGen public voice","type":"string"},"with_timestamps":{"description":"Add per-character timestamps to the response. Defaults to false","type":"boolean"}},"required":["voice_id","text"],"type":"object"},"HeyGenModelSpeechResponse":{"description":"Response envelope for HeyGen Voice text to speech","properties":{"data":{"$ref":"#/components/schemas/HeyGenModelSpeechData"}},"type":"object"},"HeyGenModelVideoDetail":{"description":"HeyGen Video model generation returned by the get-model-video endpoint","properties":{"aspect_ratio":{"description":"Resolved output aspect ratio","type":"string"},"created_at":{"description":"Unix timestamp of creation","format":"int64","type":"integer"},"duration":{"description":"Video duration in seconds","format":"double","type":"number"},"failure_code":{"description":"Machine-readable failure reason: 'generation_failed' or 'generation_cancelled'. Only present when status is failed or cancelled","type":"string"},"failure_message":{"description":"Human-readable failure description. Only present when status is failed or cancelled","type":"string"},"height":{"description":"Output height in pixels","type":"integer"},"model":{"description":"Model identifier used for the generation","type":"string"},"seed":{"description":"Seed used for the generation","format":"int64","type":"integer"},"status":{"description":"Current video status: 'pending', 'processing', 'completed', 'failed', or 'cancelled'","type":"string"},"timings":{"description":"Generation timings in seconds","properties":{"inference":{"description":"Model inference time in seconds","format":"double","type":"number"}},"type":"object"},"video_id":{"description":"Unique video identifier","type":"string"},"video_url":{"description":"HTTPS URL to download the video file","type":"string"},"width":{"description":"Output width in pixels","type":"integer"}},"type":"object"},"HeyGenModelVideoDetailResponse":{"description":"Response envelope for HeyGen get-model-video","properties":{"data":{"$ref":"#/components/schemas/HeyGenModelVideoDetail"}},"type":"object"},"HeyGenModelVoiceDetail":{"description":"A HeyGen Voice voice","properties":{"created_at":{"description":"Unix timestamp of creation","format":"int64","type":"integer"},"failure_reason":{"description":"Why the voice failed: 'INVALID_AUDIO', 'PREPROCESSING_FAILED', 'DESIGN_FAILED' or 'INTERNAL_ERROR'","type":"string"},"language":{"description":"Language code of the voice. Absent until HeyGen detects it","type":"string"},"mode":{"description":"'instant' or 'professional'","type":"string"},"name":{"type":"string"},"status":{"description":"'PENDING', 'ACTIVE' or 'FAILED'","type":"string"},"voice_id":{"type":"string"}},"type":"object"},"HeyGenModelVoiceDetailResponse":{"description":"Response envelope for a HeyGen Voice voice","properties":{"data":{"$ref":"#/components/schemas/HeyGenModelVoiceDetail"}},"type":"object"},"HeyGenSpeechData":{"description":"Payload of a successful HeyGen text-to-speech response","properties":{"audio_url":{"description":"URL of the generated audio file","type":"string"},"duration":{"description":"Duration of the audio in seconds","format":"double","type":"number"},"request_id":{"description":"Unique identifier for this generation request","type":"string"},"word_timestamps":{"description":"Word-level timing data","items":{"$ref":"#/components/schemas/HeyGenWordTimestamp"},"type":"array"}},"type":"object"},"HeyGenSpeechRequest":{"description":"Request body for HeyGen v3 text-to-speech generation","example":{"text":"Hello from Comfy. This voice is generated with the HeyGen Starfish engine.","voice_id":"d2f4f24783d04e22ab49ee8fdc3715e0"},"properties":{"input_type":{"description":"Type of the input: 'text' for plain text, 'ssml' for SSML markup. Defaults to 'text'","type":"string"},"language":{"description":"Base language code (e.g. 'en'). Auto-detected from text when omitted","type":"string"},"locale":{"description":"BCP-47 locale tag (e.g. 'en-US'). When set, language is inferred from locale","type":"string"},"speed":{"description":"Speed multiplier (0.5-2.0)","format":"double","maximum":2,"minimum":0.5,"type":"number"},"text":{"description":"Text to synthesize (1-5000 characters)","maxLength":5000,"minLength":1,"type":"string"},"voice_id":{"description":"Voice ID to use. The voice must support the starfish engine","type":"string"}},"required":["text","voice_id"],"type":"object"},"HeyGenSpeechResponse":{"description":"Response envelope for HeyGen text-to-speech","properties":{"data":{"$ref":"#/components/schemas/HeyGenSpeechData"}},"type":"object"},"HeyGenStockVoiceConfig":{"description":"Stock-voice options for a video translation. Use a preset HeyGen voice\ninstead of recreating the original speaker's voice.\n","properties":{"preferred_stock_voice_ids":{"description":"Optional stock voice IDs to draw from","items":{"type":"string"},"type":"array"},"use_stock_voice":{"description":"Set to true to use a preset stock voice instead of cloning the original speaker","type":"boolean"}},"type":"object"},"HeyGenVideoDetail":{"description":"HeyGen video resource returned by the get-video endpoint","properties":{"captioned_video_url":{"description":"Presigned URL to download the video file with captions burned in","type":"string"},"completed_at":{"description":"Unix timestamp when video generation finished","format":"int64","type":"integer"},"created_at":{"description":"Unix timestamp of creation","format":"int64","type":"integer"},"duration":{"description":"Video duration in seconds","format":"double","type":"number"},"failure_code":{"description":"Machine-readable failure reason. Only present when status is failed","type":"string"},"failure_message":{"description":"Human-readable failure description. Only present when status is failed","type":"string"},"folder_id":{"description":"ID of containing folder","type":"string"},"gif_url":{"description":"URL to animated GIF preview","type":"string"},"id":{"description":"Unique video identifier","type":"string"},"output_language":{"description":"BCP-47 output language code. Present only for translated videos","type":"string"},"status":{"description":"Current video status: 'pending', 'processing', 'completed', or 'failed'","type":"string"},"subtitle_url":{"description":"Presigned URL to download the SRT subtitle file","type":"string"},"thumbnail_url":{"description":"URL to video thumbnail image","type":"string"},"title":{"description":"Video title","type":"string"},"video_page_url":{"description":"URL to the video page in the HeyGen app","type":"string"},"video_url":{"description":"Presigned URL to download the video file","type":"string"}},"type":"object"},"HeyGenVideoDetailResponse":{"description":"Response envelope for HeyGen get-video","properties":{"data":{"$ref":"#/components/schemas/HeyGenVideoDetail"}},"type":"object"},"HeyGenVideoTranslationCreateData":{"description":"Payload of a successful HeyGen create-video-translation response","properties":{"video_translation_ids":{"description":"Video translation IDs, one per target language","items":{"type":"string"},"type":"array"}},"type":"object"},"HeyGenVideoTranslationCreateResponse":{"description":"Response envelope for HeyGen create-video-translation","properties":{"data":{"$ref":"#/components/schemas/HeyGenVideoTranslationCreateData"}},"type":"object"},"HeyGenVideoTranslationDetail":{"description":"HeyGen video translation resource returned by the get-video-translation endpoint","properties":{"audio_url":{"description":"Presigned download URL for the translated audio. Only present when completed","type":"string"},"callback_id":{"description":"Client-provided callback ID","type":"string"},"created_at":{"description":"Unix timestamp when the translation was created","format":"int64","type":"integer"},"duration":{"description":"Video duration in seconds","format":"double","type":"number"},"failure_message":{"description":"Error description. Only present when status is failed","type":"string"},"id":{"description":"Unique video translation identifier","type":"string"},"input_language":{"description":"Detected or specified source language code","type":"string"},"output_language":{"description":"Target language code","type":"string"},"srt_caption_url":{"description":"Presigned download URL for the SRT caption file","type":"string"},"status":{"description":"Current translation status: 'pending', 'running', 'completed', or 'failed'","type":"string"},"title":{"description":"Title of the translation job","type":"string"},"translate_audio_only":{"description":"Whether only the audio was translated, keeping the original video","type":"boolean"},"video_url":{"description":"Presigned download URL for the translated video. Only present when completed","type":"string"},"vtt_caption_url":{"description":"Presigned download URL for the VTT caption file","type":"string"}},"type":"object"},"HeyGenVideoTranslationDetailResponse":{"description":"Response envelope for HeyGen get-video-translation","properties":{"data":{"$ref":"#/components/schemas/HeyGenVideoTranslationDetail"}},"type":"object"},"HeyGenVoiceSettings":{"description":"Voice tuning parameters for text-to-speech. Applies only when script +\nvoice_id are provided.\n","properties":{"engine_settings":{"additionalProperties":true,"description":"Engine-specific voice tuning discriminated by engine_type\n('elevenlabs', 'fish', or 'starfish'); remaining fields vary by\nengine.\n","type":"object"},"locale":{"description":"Locale/accent hint for multi-lingual voices (e.g. 'en-US')","type":"string"},"pitch":{"description":"Pitch adjustment in semitones (-50 to +50)","format":"double","type":"number"},"speed":{"description":"Playback speed multiplier (0.5 to 1.5)","format":"double","type":"number"},"volume":{"description":"Voice audio volume (0.0 to 1.0)","format":"double","type":"number"}},"type":"object"},"HeyGenWordTimestamp":{"description":"Word-level timing data from TTS generation","properties":{"end":{"description":"End time in seconds","format":"double","type":"number"},"start":{"description":"Start time in seconds","format":"double","type":"number"},"word":{"description":"The word","type":"string"}},"type":"object"},"HiggsfieldGenjutsuMotionTransferRequest":{"description":"Request body for Higgsfield Genjutsu Motion Transfer v1.0.","example":{"image_urls":["https://cdn.example.com/character.jpg"],"prompt":"Keep the camera move and recast the dancer as the character in the reference image","resolution":"720p","video_url":"https://cdn.example.com/source.mp4"},"properties":{"image_urls":{"description":"URLs of 1 to 8 reference images for the cast, location and style.","items":{"type":"string"},"maxItems":8,"minItems":1,"type":"array"},"prompt":{"description":"Optional guidance for the recast.","maxLength":10000,"type":"string"},"resolution":{"default":"720p","description":"Output resolution: 480p, 720p or 1080p.","type":"string"},"video_url":{"description":"URL of the source video whose motion, camera and timing are kept. Minimum 4 seconds; a longer video is trimmed to 30 seconds.","maxLength":2083,"minLength":1,"type":"string"}},"required":["video_url","image_urls"],"type":"object"},"HiggsfieldMediaOutput":{"description":"One Higgsfield media output.","properties":{"url":{"description":"Download URL of the generated media.","type":"string"}},"required":["url"],"type":"object"},"HiggsfieldRequestStatus":{"description":"Higgsfield's request envelope, returned BOTH by a generation POST (as `{status: \"queued\", request_id, status_url, cancel_url}`) and by the shared status route, which adds the output once the request completes. Only the video output is modelled here because the two enrolled families are video models; Higgsfield's own shared component also carries image and audio outputs for families Comfy does not enrol.\nThis is also the Comfy Router output schema for every Higgsfield video id Router publishes — `higgsfield/higgsfield-kling-3-{std,pro,4k}`, `higgsfield/higgsfield-kling-3-turbo` and `higgsfield/higgsfield-wan-3`. All five are SUBMIT-AND-POLL: Router polls the shared status route on the caller's behalf, so the body a caller receives is this TERMINAL document rather than the queued handle the generation POST answers with. A caller therefore reads `status: \"completed\"` with the download URL at `video.url`; `queued` and `in_progress` are in-flight states Router does not return, and `nsfw`, `failed` and `canceled` are the terminal failures. `url` is required on the video output, so a `completed` carrying no `video` is a contract break rather than a finished generation.","example":{"cancel_url":"https://api.higgsfield.ai/requests/d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff/cancel","request_id":"d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff","status":"queued","status_url":"https://api.higgsfield.ai/requests/d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff/status"},"properties":{"cancel_url":{"description":"Absolute URL used to cancel a request before processing starts.","type":"string"},"error":{"description":"Failure detail, set when `status` is `failed`.","nullable":true,"type":"string"},"request_id":{"description":"Stable identifier used for polling, cancellation and support.","type":"string"},"status":{"description":"Current request state.","enum":["queued","in_progress","nsfw","failed","completed","canceled"],"type":"string"},"status_url":{"description":"Absolute URL to poll until the request reaches a terminal state.","type":"string"},"video":{"$ref":"#/components/schemas/HiggsfieldMediaOutput"}},"required":["status","request_id"],"type":"object"},"HitPawErrorResponse":{"description":"Error response from HitPaw API","properties":{"error_code":{"description":"Error code","type":"integer"},"message":{"description":"Error message","type":"string"}},"type":"object"},"HitPawJobResponse":{"description":"Response from HitPaw Enhancement APIs (photo and video)","properties":{"code":{"description":"Status code, 200 indicates success","example":200,"type":"integer"},"data":{"properties":{"consume_coins":{"description":"Number of coins consumed for this task","example":75,"type":"integer"},"job_id":{"description":"Unique identifier for the enhancement job","example":"f5007c0b-e902-4070-8c75-f337d896168f","type":"string"}},"type":"object"},"message":{"description":"Response message","example":"OK","type":"string"}},"type":"object"},"HitPawPhotoEnhancerRequest":{"description":"Request body for HitPaw Photo Enhancement API","properties":{"DPI":{"description":"Target DPI for the output image","example":300,"format":"int64","type":"integer"},"exif":{"description":"Whether to preserve EXIF data (default false)","example":true,"type":"boolean"},"extension":{"description":"File extension of the image (e.g., \".jpg\", \".png\")","example":".jpg","type":"string"},"img_url":{"description":"URL of the image to be enhanced. Must be publicly accessible.","example":"https://example.com/image.jpg","format":"uri","type":"string"},"model_name":{"description":"The model name to use for enhancement.\n\n**Available Models:**\n- face_2x, face_4x: Face Clear Model (2x/4x upscaling)\n- face_v2_2x, face_v2_4x: Face Natural Model (2x/4x upscaling)\n- general_2x, general_4x: General Enhance Model (2x/4x upscaling)\n- high_fidelity_2x, high_fidelity_4x: High Fidelity Model (2x/4x upscaling)\n- sharpen_denoise: Sharp Denoise Model\n- detail_denoise: Detail Denoise Model\n- generative_portrait: Generative Portrait Model\n- generative: Generative Enhance Model\n","enum":["face_2x","face_4x","face_v2_2x","face_v2_4x","general_2x","general_4x","high_fidelity_2x","high_fidelity_4x","sharpen_denoise","detail_denoise","generative_portrait","generative"],"example":"generative_portrait","type":"string"}},"required":["model_name","img_url","extension"],"type":"object"},"HitPawTaskStatusRequest":{"description":"Request body for HitPaw Task Status Query API","properties":{"job_id":{"description":"Task ID obtained from Enhancement API response","example":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","type":"string"}},"required":["job_id"],"type":"object"},"HitPawTaskStatusResponse":{"description":"Response from HitPaw Task Status Query API","properties":{"code":{"description":"Status code, 200 indicates success","example":200,"type":"integer"},"data":{"properties":{"job_id":{"description":"Task ID","example":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","type":"string"},"original_url":{"description":"Original Image URL (photo enhancement only)","example":"https://example.com/original.jpg","format":"uri","type":"string"},"res_url":{"description":"Result URL, only valid when status is COMPLETED","example":"https://example.com/result.jpg","format":"uri","type":"string"},"status":{"description":"Task status:\n- WAITING: The job is queued and waiting to be processed\n- CONVERTING: Processing task in progress\n- COMPLETED: Task completed successfully\n- ERROR: Task failed\n","enum":["WAITING","CONVERTING","COMPLETED","ERROR"],"type":"string"}},"type":"object"},"message":{"description":"Response message","example":"OK","type":"string"}},"type":"object"},"HitPawVideoEnhancerRequest":{"description":"Request body for HitPaw Video Enhancement API","properties":{"extension":{"default":".mp4","description":"File extension for the output video (default \".mp4\")","example":".mp4","type":"string"},"model_name":{"description":"Model name to use for enhancement.\n\n**Available Models:**\n- face_soft: Face Soft Model\n- portrait_restore_1x: Portrait Restore Model 1x\n- portrait_restore_2x: Portrait Restore Model 2x\n- general_restore_1x: General Restore Model 1x\n- general_restore_2x: General Restore Model 2x\n- general_restore_4x: General Restore Model 4x\n- ultrahd_restore: Ultra HD Model\n- generative: Generative Model (SD)\n","enum":["face_soft","portrait_restore_1x","portrait_restore_2x","general_restore_1x","general_restore_2x","general_restore_4x","ultrahd_restore","generative"],"example":"general_restore_2x","type":"string"},"original_resolution":{"description":"Original video resolution [width, height]","example":[1280,720],"items":{"type":"integer"},"maxItems":2,"minItems":2,"type":"array"},"resolution":{"description":"Target resolution [width, height]","example":[1920,1080],"items":{"type":"integer"},"maxItems":2,"minItems":2,"type":"array"},"video_url":{"description":"URL of the video to be enhanced","example":"https://example.com/video.mp4","format":"uri","type":"string"}},"required":["video_url","model_name","resolution"],"type":"object"},"Ideogram45GenerateRequest":{"description":"Parameters for the Ideogram 4.5 Generate proxy request. Omit images for text-to-image; send one to five images to edit them.","properties":{"enable_copyright_detection":{"description":"Opt into post-generation copyright detection.","type":"boolean"},"images":{"description":"Optional source images (JPEG, PNG, or WebP, at most 25 MB each). The first is the primary source and the rest are references. Up to five, or four with a mask.","items":{"format":"binary","type":"string"},"type":"array"},"magic_prompt":{"description":"Prompt rewriting for text-to-image. Supported values are auto, on, and off. Defaults to auto.","type":"string"},"mask":{"description":"Optional mask with the same dimensions as the first image. Black areas are edited and white areas are preserved. Omit size when you send a mask.","format":"binary","type":"string"},"num_images":{"default":1,"description":"Number of images to return.","maximum":8,"minimum":1,"type":"integer"},"prompt":{"description":"The instruction or description for the image, 1 to 10,000 characters.","type":"string"},"quality":{"description":"Quality tier. With source images: very_low, low, medium, or high (default medium). Without source images: low, medium, or high (default high).","example":"medium","type":"string"},"seed":{"description":"Seed for reproducible results.","maximum":2147483647,"minimum":0,"type":"integer"},"size":{"description":"Output size. auto (default), source (requires images), or WIDTHxHEIGHT.","example":"2048x2048","type":"string"}},"required":["prompt"],"type":"object"},"Ideogram45PreciseEditRequest":{"description":"Parameters for the Ideogram 4.5 Precise Edit proxy request.","properties":{"context_window":{"description":"The region to edit. `none` edits the whole image and scales an image larger than 4,194,304 pixels down to that size. `auto` needs a `mask` and edits a region around the masked area; if that area is larger than 4,194,304 pixels, it edits the whole image as `none` does. `y_min,x_min,y_max,x_max` edits that region, in image pixels from the top-left corner, with exclusive max edges. A region must be inside the image, at least 256 pixels on each side, between 1:6 and 6:1 in aspect ratio, and at most 4,194,304 pixels. A mask must select only pixels inside the region. With `auto` or a region, the output keeps the size of the input and the rest of the image does not change. Defaults to none.","example":"none","type":"string"},"enable_copyright_detection":{"description":"Opt into post-generation copyright detection.","type":"boolean"},"image":{"description":"The source image to edit (JPEG, PNG, or WebP, at most 50 MB and 67,108,864 pixels).","format":"binary","type":"string"},"mask":{"description":"Optional mask with the same dimensions as image. Black areas are edited and white areas are preserved.","format":"binary","type":"string"},"num_images":{"default":1,"description":"Number of images to return.","maximum":8,"minimum":1,"type":"integer"},"prompt":{"description":"The edit instruction, 1 to 10,000 characters.","type":"string"},"quality":{"description":"Quality tier. Supported values are very_low, low, medium, and high. Defaults to medium.","example":"medium","type":"string"},"reference_images":{"description":"Optional reference images that guide the edit. Up to four, or three with a mask.","items":{"format":"binary","type":"string"},"type":"array"},"seed":{"description":"Seed for reproducible results.","maximum":2147483647,"minimum":0,"type":"integer"}},"required":["prompt","image"],"type":"object"},"Ideogram45Response":{"description":"Response from the Ideogram 4.5 Generate and Precise Edit APIs.","properties":{"data":{"description":"The generated images.","items":{"properties":{"is_image_safe":{"description":"Indicates whether the image is considered safe. Only use images where this is true.","type":"boolean"},"prompt":{"description":"The prompt used to generate this image.","type":"string"},"resolution":{"description":"The resolution of the generated image.","type":"string"},"seed":{"description":"The seed used for this image.","type":"integer"},"url":{"description":"URL to the generated image.","type":"string"}},"type":"object"},"type":"array"},"generation_id":{"description":"The identifier of the generation.","type":"string"},"seed":{"description":"The seed used for the generation.","type":"integer"}},"type":"object"},"Ideogram46GenerateMultipartRequest":{"description":"Parameters for an Ideogram 4.6 Generate request, sent as multipart form data. Attach images to edit the first of them.","properties":{"background":{"description":"transparent returns an alpha channel. opaque forces a solid background.","type":"string"},"images":{"description":"Up to five JPEG, PNG, or WebP images, 25 MB each. The first is edited and the rest are references.","items":{"format":"binary","type":"string"},"type":"array"},"magic_prompt":{"description":"Prompt rewriting. Supported values are auto, on, and off. Requests with images always use auto.","type":"string"},"num_images":{"default":1,"description":"Number of images to return.","maximum":8,"minimum":1,"type":"integer"},"prompt":{"description":"The description of the image or, with images, the edit instruction. Up to 10,000 characters.","type":"string"},"quality":{"description":"Quality tier. Supported values are very_low, low, medium, and high. Defaults to medium. very_low renders up to 2K.","example":"medium","type":"string"},"seed":{"description":"Seed for reproducible results.","type":"integer"},"size":{"description":"Output size. auto (default) picks about 2K. WIDTHxHEIGHT on a 32 pixel grid, up to 16,777,216 pixels with sides up to 8192 and a 6:1 ratio, or source to match the first image.","example":"2048x2048","type":"string"}},"required":["prompt"],"type":"object"},"Ideogram46GenerateRequest":{"description":"Parameters for an Ideogram 4.6 Generate text to image request, sent as JSON.","properties":{"background":{"description":"transparent returns an alpha channel. opaque forces a solid background.","type":"string"},"magic_prompt":{"description":"Prompt rewriting. Supported values are auto, on, and off. Defaults to auto.","type":"string"},"num_images":{"default":1,"description":"Number of images to return.","maximum":8,"minimum":1,"type":"integer"},"prompt":{"description":"The description of the image, up to 10,000 characters.","type":"string"},"quality":{"description":"Quality tier. Supported values are very_low, low, medium, and high. Defaults to medium. very_low renders up to 2K.","example":"medium","type":"string"},"seed":{"description":"Seed for reproducible results.","type":"integer"},"size":{"description":"Output size. auto (default) picks about 2K. WIDTHxHEIGHT on a 32 pixel grid, up to 16,777,216 pixels with sides up to 8192 and a 6:1 ratio.","example":"2048x2048","type":"string"}},"required":["prompt"],"type":"object"},"Ideogram46Image":{"description":"One Ideogram 4.6 result image.","properties":{"is_image_safe":{"description":"Indicates whether the image is considered safe.","type":"boolean"},"resolution":{"description":"The size of the image as WIDTHxHEIGHT, for example 1600x1280.","type":"string"},"seed":{"description":"The seed used for this image.","type":"integer"},"url":{"description":"Temporary URL to the image. Copy the image to your own storage.","type":"string"}},"type":"object"},"Ideogram46PreciseEditRequest":{"description":"Parameters for an Ideogram 4.6 Precise Edit request.","properties":{"context_window":{"description":"auto (default), a region as y,x,y,x to edit part of a 4K or 8K image at full resolution, or none to send the whole image.","example":"auto","type":"string"},"image":{"description":"The image to edit, as JPEG, PNG, or WebP up to 50 MB and 8192x8192 pixels. The result keeps its exact size.","format":"binary","type":"string"},"mask":{"description":"Optional mask that limits the edit to the painted area.","format":"binary","type":"string"},"num_images":{"default":1,"description":"Number of images to return.","maximum":8,"minimum":1,"type":"integer"},"prompt":{"description":"The edit, written as an instruction.","type":"string"},"quality":{"description":"Quality tier. Supported values are very_low, low, medium, and high. Defaults to medium.","example":"medium","type":"string"},"reference_images":{"description":"Optional images that guide the edit. Up to four, or three with a mask.","items":{"format":"binary","type":"string"},"type":"array"},"seed":{"description":"Seed for reproducible results.","type":"integer"}},"required":["prompt","image"],"type":"object"},"Ideogram46Response":{"description":"Response from the Ideogram 4.6 Generate and Precise Edit APIs.","properties":{"data":{"description":"The generated images.","items":{"$ref":"#/components/schemas/Ideogram46Image"},"type":"array"},"generation_id":{"description":"The identifier of the generation.","type":"string"},"seed":{"description":"The seed used for the generation.","type":"integer"}},"type":"object"},"IdeogramColorPalette":{"description":"A color palette specification that can either use a preset name or explicit color definitions with weights","oneOf":[{"properties":{"name":{"description":"Name of the preset color palette","type":"string"}},"required":["name"]},{"properties":{"members":{"description":"Array of color definitions with optional weights","items":{"properties":{"color":{"description":"Hexadecimal color code","pattern":"^#[0-9A-Fa-f]{6}$","type":"string"},"weight":{"description":"Optional weight for the color (0-1)","maximum":1,"minimum":0,"type":"number"}},"type":"object"},"type":"array"}},"required":["members"]}],"type":"object"},"IdeogramGenerateRequest":{"description":"Parameters for the Ideogram generation proxy request. Based on Ideogram's API.","properties":{"image_request":{"description":"The image generation request parameters.","properties":{"aspect_ratio":{"description":"Optional. The aspect ratio (e.g., 'ASPECT_16_9', 'ASPECT_1_1'). Cannot be used with resolution. Defaults to 'ASPECT_1_1' if unspecified.","type":"string"},"color_palette":{"additionalProperties":true,"description":"Optional. Color palette object. Only for V_2, V_2_TURBO.","type":"object"},"magic_prompt_option":{"description":"Optional. MagicPrompt usage ('AUTO', 'ON', 'OFF').","type":"string"},"model":{"description":"The model used (e.g., 'V_2', 'V_2A_TURBO')","type":"string"},"negative_prompt":{"description":"Optional. Description of what to exclude. Only for V_1, V_1_TURBO, V_2, V_2_TURBO.","type":"string"},"num_images":{"default":1,"description":"Optional. Number of images to generate (1-8). Defaults to 1.","maximum":8,"minimum":1,"type":"integer"},"prompt":{"description":"Required. The prompt to use to generate the image.","type":"string"},"resolution":{"description":"Optional. Resolution (e.g., 'RESOLUTION_1024_1024'). Only for model V_2. Cannot be used with aspect_ratio.","type":"string"},"seed":{"description":"Optional. A number between 0 and 2147483647.","format":"int64","maximum":2147483647,"minimum":0,"type":"integer"},"style_type":{"description":"Optional. Style type ('AUTO', 'GENERAL', 'REALISTIC', 'DESIGN', 'RENDER_3D', 'ANIME'). Only for models V_2 and above.","type":"string"}},"required":["prompt","model"],"type":"object"}},"required":["image_request"],"type":"object"},"IdeogramGenerateResponse":{"description":"Response from the Ideogram image generation API.","properties":{"created":{"description":"Timestamp when the generation was created.","format":"date-time","type":"string"},"data":{"description":"Array of generated image information.","items":{"properties":{"is_image_safe":{"description":"Indicates whether the image is considered safe.","type":"boolean"},"prompt":{"description":"The prompt used to generate this image.","type":"string"},"resolution":{"description":"The resolution of the generated image (e.g., '1024x1024').","type":"string"},"seed":{"description":"The seed value used for this generation.","type":"integer"},"style_type":{"description":"The style type used for generation (e.g., 'REALISTIC', 'ANIME').","type":"string"},"url":{"description":"URL to the generated image.","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"IdeogramGenerationResponse":{"description":"Status of an Ideogram asynchronous generation.","properties":{"created":{"description":"The time the generation was created.","type":"string"},"data":{"description":"The results. Present when the status is completed.","items":{"properties":{"asset_id":{"description":"The Ideogram asset identifier of the result.","type":"string"},"height":{"description":"The height of the result in pixels.","type":"integer"},"mime_type":{"description":"The MIME type of the result, for example image/svg+xml.","type":"string"},"object_type":{"description":"The result type, for example svg.generation.","type":"string"},"url":{"description":"Signed URL to the result.","type":"string"},"width":{"description":"The width of the result in pixels.","type":"integer"}},"type":"object"},"type":"array"},"generation_id":{"description":"The identifier of the generation.","type":"string"},"response_type":{"description":"The response type, for example url.","type":"string"},"status":{"description":"The generation status. Supported values are pending, completed, and failed.","example":"completed","type":"string"}},"type":"object"},"IdeogramGenerationSubmitResponse":{"description":"Response from an Ideogram asynchronous submit.","properties":{"generation_id":{"description":"The identifier to poll with GET /proxy/ideogram/v1/generations/{generation_id}.","type":"string"}},"type":"object"},"IdeogramPImageRequest":{"description":"Parameters for the P-Image-Ideogram text-to-image generation proxy request. The v1 `/proxy/` route reads these as multipart/form-data, which is also why Comfy Router cannot invoke this model yet: Router dispatches application/json only and refuses the call 403 not_enabled before validation. Use the v1 route until that changes.","example":{"prompt":"A beautiful mountain landscape"},"properties":{"aspect_ratio":{"description":"Aspect ratio in format WxH. Supported values: 1x3, 3x1, 1x2, 2x1, 9x16, 16x9, 10x16, 16x10, 2x3, 3x2, 3x4, 4x3, 4x5, 5x4, 1x1. Defaults to 1x1.","example":"1x1","type":"string"},"enable_copyright_detection":{"description":"Opt into post-generation copyright detection (Hive likeness and logo checks).","type":"boolean"},"prompt":{"description":"The prompt for image generation, either natural language or an Ideogram 4.0 JSON structured prompt.","type":"string"},"prompt_upsampling":{"description":"Prompt upsampling mode. Supported values are AUTO, ON, and OFF. Defaults to AUTO.","example":"AUTO","type":"string"},"quality":{"description":"Generation quality level. Supported values are VERY_LOW, LOW, MEDIUM, and HIGH. Defaults to MEDIUM.","example":"MEDIUM","type":"string"},"resolution":{"description":"Output resolution. Supported values are 1K and 2K. Defaults to 1K.","example":"1K","type":"string"},"seed":{"description":"Seed value for reproducible generation","type":"integer"}},"required":["prompt"],"type":"object"},"IdeogramStyleType":{"default":"GENERAL","enum":["AUTO","GENERAL","REALISTIC","DESIGN","FICTION"],"type":"string"},"IdeogramV3EditRequest":{"properties":{"character_reference_images":{"description":"Generations with character reference are subject to the character reference pricing. A set of images to use as character references (maximum total size 10MB across all character references), currently only supports 1 character reference image. The images should be in JPEG, PNG or WebP format.","items":{"format":"binary","type":"string"},"type":"array"},"character_reference_images_mask":{"description":"Optional masks for character reference images. When provided, must match the number of character_reference_images. Each mask should be a grayscale image of the same dimensions as the corresponding character reference image. The images should be in JPEG, PNG or WebP format.","items":{"format":"binary","type":"string"},"type":"array"},"color_palette":{"$ref":"#/components/schemas/IdeogramColorPalette"},"image":{"description":"The image being edited (max size 10MB); only JPEG, WebP and PNG formats are supported at this time.","format":"binary","type":"string"},"magic_prompt":{"description":"Determine if MagicPrompt should be used in generating the request or not.","type":"string"},"mask":{"description":"A black and white image of the same size as the image being edited (max size 10MB). Black regions in the mask should match up with the regions of the image that you would like to edit; only JPEG, WebP and PNG formats are supported at this time.","format":"binary","type":"string"},"num_images":{"description":"The number of images to generate.","type":"integer"},"prompt":{"description":"The prompt used to describe the edited result.","type":"string"},"rendering_speed":{"$ref":"#/components/schemas/RenderingSpeed"},"seed":{"description":"Random seed. Set for reproducible generation.","type":"integer"},"style_codes":{"description":"A list of 8 character hexadecimal codes representing the style of the image. Cannot be used in conjunction with style_reference_images or style_type.","items":{"pattern":"^[0-9A-Fa-f]{8}$","type":"string"},"type":"array"},"style_reference_images":{"description":"A set of images to use as style references (maximum total size 10MB across all style references). The images should be in JPEG, PNG or WebP format.","items":{"format":"binary","type":"string"},"type":"array"},"style_type":{"$ref":"#/components/schemas/IdeogramStyleType"}},"required":["prompt","rendering_speed"],"type":"object"},"IdeogramV3Fields":{"properties":{"aspect_ratio":{"description":"Aspect ratio in format WxH","example":"1x3","type":"string"},"color_palette":{"properties":{"members":{"description":"Explicit colors with optional weights","items":{"properties":{"color":{"description":"Hexadecimal color code","pattern":"^#[0-9A-Fa-f]{6}$","type":"string"},"weight":{"description":"Optional weight for the color (0-1)","maximum":1,"minimum":0,"type":"number"}},"type":"object"},"type":"array"},"name":{"description":"Name of the color palette","example":"PASTEL","type":"string"}},"type":"object"},"magic_prompt":{"description":"Whether to enable magic prompt enhancement","enum":["AUTO","ON","OFF"],"type":"string"},"negative_prompt":{"description":"Text prompt specifying what to avoid in the generation","type":"string"},"num_images":{"description":"Number of images to generate","minimum":1,"type":"integer"},"prompt":{"description":"The text prompt for image generation","type":"string"},"rendering_speed":{"$ref":"#/components/schemas/RenderingSpeed"},"resolution":{"description":"Image resolution in format WxH","example":"1280x800","type":"string"},"seed":{"description":"Seed value for reproducible generation","type":"integer"},"style_codes":{"description":"Array of style codes in hexadecimal format","items":{"pattern":"^[0-9A-Fa-f]{8}$","type":"string"},"type":"array"},"style_type":{"$ref":"#/components/schemas/IdeogramStyleType"}},"required":["prompt","rendering_speed"],"type":"object"},"IdeogramV3IdeogramResponse":{"properties":{"created":{"format":"date-time","type":"string"},"data":{"items":{"properties":{"is_image_safe":{"type":"boolean"},"prompt":{"type":"string"},"resolution":{"type":"string"},"seed":{"type":"integer"},"style_type":{"type":"string"},"url":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"IdeogramV3ReframeRequest":{"properties":{"color_palette":{"type":"object"},"image":{"format":"binary","type":"string"},"num_images":{"maximum":8,"minimum":1,"type":"integer"},"rendering_speed":{"$ref":"#/components/schemas/RenderingSpeed"},"resolution":{"type":"string"},"seed":{"maximum":2147483647,"minimum":0,"type":"integer"},"style_codes":{"items":{"type":"string"},"type":"array"},"style_reference_images":{"items":{"format":"binary","type":"string"},"type":"array"}},"required":["resolution"],"type":"object"},"IdeogramV3RemixRequest":{"properties":{"aspect_ratio":{"type":"string"},"character_reference_images":{"description":"Generations with character reference are subject to the character reference pricing. A set of images to use as character references (maximum total size 10MB across all character references), currently only supports 1 character reference image. The images should be in JPEG, PNG or WebP format.","items":{"format":"binary","type":"string"},"type":"array"},"character_reference_images_mask":{"description":"Optional masks for character reference images. When provided, must match the number of character_reference_images. Each mask should be a grayscale image of the same dimensions as the corresponding character reference image. The images should be in JPEG, PNG or WebP format.","items":{"format":"binary","type":"string"},"type":"array"},"color_palette":{"type":"object"},"image":{"format":"binary","type":"string"},"image_weight":{"default":50,"maximum":100,"minimum":1,"type":"integer"},"magic_prompt":{"enum":["AUTO","ON","OFF"],"type":"string"},"negative_prompt":{"type":"string"},"num_images":{"maximum":8,"minimum":1,"type":"integer"},"prompt":{"type":"string"},"rendering_speed":{"$ref":"#/components/schemas/RenderingSpeed"},"resolution":{"type":"string"},"seed":{"maximum":2147483647,"minimum":0,"type":"integer"},"style_codes":{"items":{"type":"string"},"type":"array"},"style_reference_images":{"items":{"format":"binary","type":"string"},"type":"array"},"style_type":{"$ref":"#/components/schemas/IdeogramStyleType"}},"required":["prompt"],"type":"object"},"IdeogramV3ReplaceBackgroundRequest":{"properties":{"color_palette":{"type":"object"},"image":{"format":"binary","type":"string"},"magic_prompt":{"enum":["AUTO","ON","OFF"],"type":"string"},"num_images":{"maximum":8,"minimum":1,"type":"integer"},"prompt":{"type":"string"},"rendering_speed":{"$ref":"#/components/schemas/RenderingSpeed"},"seed":{"maximum":2147483647,"minimum":0,"type":"integer"},"style_codes":{"items":{"type":"string"},"type":"array"},"style_reference_images":{"items":{"format":"binary","type":"string"},"type":"array"}},"required":["prompt"],"type":"object"},"IdeogramV3Request":{"allOf":[{"$ref":"#/components/schemas/IdeogramV3Fields"},{"properties":{"character_reference_images":{"description":"Generations with character reference are subject to the character reference pricing. A set of images to use as character references (maximum total size 10MB across all character references), currently only supports 1 character reference image. The images should be in JPEG, PNG or WebP format.","items":{"format":"binary","type":"string"},"type":"array"},"character_reference_images_mask":{"description":"Optional masks for character reference images. When provided, must match the number of character_reference_images. Each mask should be a grayscale image of the same dimensions as the corresponding character reference image. The images should be in JPEG, PNG or WebP format.","items":{"format":"binary","type":"string"},"type":"array"},"style_reference_images":{"description":"Array of reference image URLs or identifiers","items":{"format":"binary","type":"string"},"type":"array"}},"type":"object"}],"description":"Parameters for Ideogram V3 image generation — the v1 `POST /proxy/ideogram/ideogram-v3/generate` body.\nIt composes `IdeogramV3Fields` rather than restating its fields, and adds the three reference-image arrays only the v1 surface can carry. They are `format: binary` file parts, sent as `multipart/form-data`; Comfy Router dispatches `application/json` only, so its input schema is `IdeogramV3Inputs`, which composes the same fields and refuses these three.\nRead the note above `IdeogramV3Fields` for the full rule."},"IdeogramV4Request":{"description":"Parameters for the Ideogram 4.0 (V4) text-to-image generation proxy request. Supply exactly one of text_prompt or json_prompt.","example":{"rendering_speed":"DEFAULT","text_prompt":"A poster for a jazz festival, bold typography, warm colours"},"minProperties":1,"properties":{"enable_copyright_detection":{"description":"Opt into post-generation copyright detection (Hive likeness and logo checks).","type":"boolean"},"json_prompt":{"additionalProperties":true,"description":"Structured V4 prompt. Disables Magic Prompt; consumed directly. Supply exactly one of text_prompt or json_prompt.","type":"object"},"rendering_speed":{"$ref":"#/components/schemas/RenderingSpeed"},"resolution":{"description":"Output resolution in WIDTHxHEIGHT. Omit to let the model pick an aspect ratio. Supported 2K values: 2048x2048, 1440x2880, 2880x1440, 1664x2496, 2496x1664, 1792x2240, 2240x1792, 1440x2560, 2560x1440, 1600x2560, 2560x1600, 1728x2304, 2304x1728, 1296x3168, 3168x1296, 1152x2944, 2944x1152, 1248x3328, 3328x1248, 1280x3072, 3072x1280.","example":"2048x2048","type":"string"},"text_prompt":{"description":"Natural-language prompt. Enables Magic Prompt automatically. Supply exactly one of text_prompt or json_prompt.","type":"string"}},"type":"object"},"IdeogramVector1GenerateRequest":{"description":"Parameters for the Ideogram Vector 1 Generate SVG proxy request.","properties":{"aspect_ratio":{"description":"Aspect ratio as WIDTHxHEIGHT, for example 1x1 or 16x9. Defaults to auto.","example":"1x1","type":"string"},"images":{"description":"Optional reference images. Up to five. The first is the primary source and the rest are additional references.","items":{"format":"binary","type":"string"},"type":"array"},"num_images":{"default":1,"description":"Number of SVGs to return.","maximum":8,"minimum":1,"type":"integer"},"prompt":{"description":"The description of the design, up to 9,500 characters.","type":"string"},"quality":{"description":"Quality tier. Supported values are low, medium, and high. Defaults to medium.","example":"medium","type":"string"},"seed":{"description":"Seed for reproducible results.","maximum":2147483647,"minimum":0,"type":"integer"}},"required":["prompt"],"type":"object"},"IdeogramVector1VectorizeRequest":{"description":"Parameters for the Ideogram Vector 1 Image to SVG proxy request.","properties":{"image":{"description":"The source image (JPEG, PNG, or WebP, at most 50 MB).","format":"binary","type":"string"},"mode":{"description":"Conversion mode. simple gives fewer, simpler shapes. default keeps finer detail. Defaults to default.","example":"default","type":"string"}},"required":["image"],"type":"object"},"ImageGenerationCall":{"description":"An image generation tool call. `result` carries the generated image as base64 bytes on a completed call and is null while the call is still running or if it produced nothing.\n","properties":{"id":{"description":"The unique ID of the image generation call.","type":"string"},"result":{"description":"The generated image, base64-encoded.","nullable":true,"type":"string"},"status":{"description":"The status of the item. One of `in_progress`, `completed`,\n`generating` or `failed`.\n","type":"string"},"type":{"description":"The type of the item. Always `image_generation_call`.","enum":["image_generation_call"],"type":"string","x-stainless-const":true}},"required":["type"],"title":"Image generation call","type":"object"},"ImageGenerationServerTool_OpenRouter":{"description":"OpenRouter built-in server tool: generates images from text prompts using an image generation model","properties":{"parameters":{"$ref":"#/components/schemas/OpenRouterImageGenerationServerToolConfig"},"type":{"$ref":"#/components/schemas/OpenRouterImageGenerationServerToolOpenRouterType"}},"required":["type"],"title":"ImageGenerationServerTool_OpenRouter","type":"object"},"ImagenGenerateImageRequest":{"example":{"instances":[{"prompt":"A single red maple leaf on a plain white background."}],"parameters":{"sampleCount":1}},"properties":{"instances":{"items":{"$ref":"#/components/schemas/ImagenImageGenerationInstance"},"minItems":1,"type":"array"},"parameters":{"$ref":"#/components/schemas/ImagenImageGenerationParameters"}},"required":["instances"],"type":"object"},"ImagenGenerateImageResponse":{"properties":{"predictions":{"items":{"$ref":"#/components/schemas/ImagenImagePrediction"},"type":"array"}},"type":"object"},"ImagenImageGenerationInstance":{"properties":{"prompt":{"description":"Text prompt for image generation","type":"string"}},"required":["prompt"],"type":"object"},"ImagenImageGenerationParameters":{"properties":{"addWatermark":{"type":"boolean"},"aspectRatio":{"enum":["1:1","9:16","16:9","3:4","4:3"],"type":"string"},"enhancePrompt":{"type":"boolean"},"includeRaiReason":{"type":"boolean"},"includeSafetyAttributes":{"type":"boolean"},"outputOptions":{"$ref":"#/components/schemas/ImagenOutputOptions"},"personGeneration":{"enum":["dont_allow","allow_adult","allow_all"],"type":"string"},"safetySetting":{"enum":["block_most","block_some","block_few","block_fewest"],"type":"string"},"sampleCount":{"default":4,"maximum":4,"minimum":1,"type":"integer"},"seed":{"format":"uint32","type":"integer"},"storageUri":{"description":"Optional Cloud Storage destination for the generated images, as a `gs://` URI. When it is set Vertex writes the images there and returns their `gcsUri` instead of inline bytes; when it is omitted the images come back inline as `bytesBase64Encoded`. `ImagenImagePrediction` models both shapes, one field per variant.\nIT MUST NAME A BUCKET OF YOUR OWN. This route runs under Comfy's own Google Cloud credentials rather than yours, so a destination inside a Comfy-owned bucket would be a write performed by Comfy's service account, into a shared layout, billed to Comfy's project. A request naming one is refused with a 400 and nothing is generated. Any other destination is forwarded to Vertex unchanged and is yours to grant access to -- Comfy's service account must be able to write to it, or Vertex refuses the generation.","type":"string"}},"type":"object"},"ImagenImagePrediction":{"properties":{"bytesBase64Encoded":{"description":"Base64-encoded image content. Present when the request did NOT set `parameters.storageUri`, which is the default; `gcsUri` takes its place when it did.","format":"byte","type":"string"},"gcsUri":{"description":"Cloud Storage URI (`gs://`) of the generated image, present INSTEAD OF `bytesBase64Encoded` when the request set `parameters.storageUri`. The object is written into the bucket the caller named, so reading it is the caller's own business: Router neither re-hosts it onto Comfy storage nor signs it, and the URI is returned exactly as Vertex wrote it.","type":"string"},"mimeType":{"description":"MIME type of the generated image","type":"string"},"prompt":{"description":"Enhanced or rewritten prompt used to generate this image","type":"string"}},"type":"object"},"ImagenOutputOptions":{"properties":{"compressionQuality":{"maximum":100,"minimum":0,"type":"integer"},"mimeType":{"enum":["image/png","image/jpeg"],"type":"string"}},"type":"object"},"Includable":{"description":"Specify additional output data to include in the model response. Currently\nsupported values are:\n- `file_search_call.results`: Include the search results of\n  the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n","enum":["file_search_call.results","message.input_image.image_url","computer_call_output.output.image_url"],"type":"string"},"InputContent":{"oneOf":[{"$ref":"#/components/schemas/InputTextContent"},{"$ref":"#/components/schemas/InputImageContent"},{"$ref":"#/components/schemas/InputFileContent"}]},"InputFileContent":{"description":"A file input to the model.","properties":{"file_data":{"description":"The content of the file to be sent to the model.\n","type":"string"},"file_id":{"description":"The ID of the file to be sent to the model.","type":"string"},"filename":{"description":"The name of the file to be sent to the model.","type":"string"},"type":{"default":"input_file","description":"The type of the input item. Always `input_file`.","enum":["input_file"],"type":"string","x-stainless-const":true}},"required":["type"],"title":"Input file","type":"object"},"InputImageContent":{"description":"An image input to the model. Learn about [image inputs](/docs/guides/vision).","properties":{"detail":{"description":"The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.","enum":["low","high","auto"],"type":"string"},"file_id":{"description":"The ID of the file to be sent to the model.","type":"string"},"image_url":{"description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.","type":"string"},"type":{"default":"input_image","description":"The type of the input item. Always `input_image`.","enum":["input_image"],"type":"string","x-stainless-const":true}},"required":["type","detail"],"title":"Input image","type":"object"},"InputItem":{"oneOf":[{"$ref":"#/components/schemas/EasyInputMessage"},{"$ref":"#/components/schemas/Item"}]},"InputMessage":{"properties":{"content":{"$ref":"#/components/schemas/InputMessageContentList"},"role":{"enum":["user","system","developer"],"type":"string"},"status":{"enum":["in_progress","completed","incomplete"],"type":"string"},"type":{"enum":["message"],"type":"string"}},"type":"object"},"InputMessageContentList":{"description":"A list of one or many input items to the model, containing different content\ntypes.\n","items":{"$ref":"#/components/schemas/InputContent"},"title":"Input item content list","type":"array"},"InputTextContent":{"description":"A text input to the model.","properties":{"text":{"description":"The text input to the model.","type":"string"},"type":{"default":"input_text","description":"The type of the input item. Always `input_text`.","enum":["input_text"],"type":"string","x-stainless-const":true}},"required":["type","text"],"title":"Input text","type":"object"},"Item":{"description":"Content item used to generate a response.\n","oneOf":[{"$ref":"#/components/schemas/InputMessage"},{"$ref":"#/components/schemas/OutputMessage"},{"$ref":"#/components/schemas/FileSearchToolCall"},{"$ref":"#/components/schemas/ComputerToolCall"},{"$ref":"#/components/schemas/WebSearchToolCall"},{"$ref":"#/components/schemas/FunctionToolCall"},{"$ref":"#/components/schemas/ReasoningItem"}],"type":"object"},"KlingAudioUploadType":{"description":"Method of Transmitting Audio Files for Lip-Sync. Required when mode is audio2video.","enum":["file","url"],"type":"string"},"KlingAvatarMode":{"default":"std","description":"Video generation mode. std: Standard Mode (cost-effective), pro: Professional Mode (longer duration, higher quality).","enum":["std","pro"],"type":"string"},"KlingAvatarRequest":{"description":"Generate an avatar video from an image and exactly one audio source: audio_id or sound_file.","example":{"image":"https://example.invalid/kling/avatar.png","mode":"std","prompt":"The presenter smiles and gestures towards the camera.","sound_file":"https://example.invalid/kling/voice.mp3"},"oneOf":[{"required":["audio_id"]},{"required":["sound_file"]}],"properties":{"audio_id":{"description":"Audio ID Generated via TTS API. Only supports 2-300 second audio generated within the last 30 days. Either audio_id or sound_file must be provided (mutually exclusive).","type":"string"},"callback_url":{"description":"The callback notification address for the result of this task. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","format":"uri","type":"string"},"external_task_id":{"description":"Customized Task ID. Must be unique within a single user account. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"image":{"description":"Avatar Reference Image. Supports Base64 encoding or image URL. Supported formats: .jpg/.jpeg/.png. Max 10MB, min 300px width/height, aspect ratio between 1:2.5 and 2.5:1.","type":"string"},"mode":{"$ref":"#/components/schemas/KlingAvatarMode"},"prompt":{"description":"Positive text prompt. Can define avatar actions, emotions, and camera movements.","maxLength":2500,"type":"string"},"sound_file":{"description":"Sound File. Supports Base64-encoded audio or accessible audio URL. Accepted formats: .mp3/.wav/.m4a/.aac (max 5MB), 2-300 seconds. Either audio_id or sound_file must be provided (mutually exclusive).","type":"string"},"watermark_info":{"properties":{"enabled":{"description":"Whether to generate watermarked results simultaneously.","type":"boolean"}},"type":"object"}},"required":["image"],"type":"object"},"KlingAvatarResponse":{"properties":{"code":{"description":"Error code","type":"integer"},"data":{"properties":{"created_at":{"description":"Task creation time","type":"integer"},"final_unit_deduction":{"description":"The deduction units of task","type":"string"},"task_id":{"description":"Task ID","type":"string"},"task_info":{"properties":{"external_task_id":{"type":"string"}},"type":"object"},"task_result":{"properties":{"videos":{"items":{"$ref":"#/components/schemas/KlingVideoResult"},"type":"array"}},"type":"object"},"task_status":{"$ref":"#/components/schemas/KlingTaskStatus"},"task_status_msg":{"description":"Task status information","type":"string"},"updated_at":{"description":"Task update time","type":"integer"},"watermark_info":{"properties":{"enabled":{"type":"boolean"}},"type":"object"}},"type":"object"},"message":{"description":"Error message","type":"string"},"request_id":{"description":"Request ID","type":"string"}},"type":"object"},"KlingCameraConfig":{"properties":{"horizontal":{"description":"Controls camera's movement along horizontal axis (x-axis). Negative indicates left, positive indicates right.","maximum":10,"minimum":-10,"type":"number"},"pan":{"description":"Controls camera's rotation in vertical plane (x-axis). Negative indicates downward rotation, positive indicates upward rotation.","maximum":10,"minimum":-10,"type":"number"},"roll":{"description":"Controls camera's rolling amount (z-axis). Negative indicates counterclockwise, positive indicates clockwise.","maximum":10,"minimum":-10,"type":"number"},"tilt":{"description":"Controls camera's rotation in horizontal plane (y-axis). Negative indicates left rotation, positive indicates right rotation.","maximum":10,"minimum":-10,"type":"number"},"vertical":{"description":"Controls camera's movement along vertical axis (y-axis). Negative indicates downward, positive indicates upward.","maximum":10,"minimum":-10,"type":"number"},"zoom":{"description":"Controls change in camera's focal length. Negative indicates narrower field of view, positive indicates wider field of view.","maximum":10,"minimum":-10,"type":"number"}},"type":"object"},"KlingCameraControl":{"properties":{"config":{"$ref":"#/components/schemas/KlingCameraConfig"},"type":{"$ref":"#/components/schemas/KlingCameraControlType"}},"type":"object"},"KlingCameraControlType":{"description":"Predefined camera movements type. simple: Customizable camera movement. down_back: Camera descends and moves backward. forward_up: Camera moves forward and tilts up. right_turn_forward: Rotate right and move forward. left_turn_forward: Rotate left and move forward.","enum":["simple","down_back","forward_up","right_turn_forward","left_turn_forward"],"type":"string"},"KlingCharacterEffectModelName":{"default":"kling-v1","description":"Model Name. Can be kling-v1, kling-v1-5, or kling-v1-6.","enum":["kling-v1","kling-v1-5","kling-v1-6"],"type":"string"},"KlingDualCharacterEffectInput":{"properties":{"duration":{"$ref":"#/components/schemas/KlingVideoGenDuration"},"images":{"$ref":"#/components/schemas/KlingDualCharacterImages"},"mode":{"$ref":"#/components/schemas/KlingVideoGenMode"},"model_name":{"$ref":"#/components/schemas/KlingCharacterEffectModelName"}},"required":["images","duration"],"type":"object"},"KlingDualCharacterEffectsScene":{"description":"Scene Name. Dual-character Effects (hug, kiss, heart_gesture).","enum":["hug","kiss","heart_gesture"],"type":"string"},"KlingDualCharacterImages":{"items":{"description":"Reference Image Group. Must contain exactly 2 images. First image will be positioned on left side, second on right side of the composite. Each image follows the same requirements as single image effects.","type":"string"},"maxItems":2,"minItems":2,"type":"array"},"KlingErrorResponse":{"properties":{"code":{"description":"- 1000: Authentication failed\n- 1001: Authorization is empty\n- 1002: Authorization is invalid\n- 1003: Authorization is not yet valid\n- 1004: Authorization has expired\n- 1100: Account exception\n- 1101: Account in arrears (postpaid scenario)\n- 1102: Resource pack depleted or expired (prepaid scenario)\n- 1103: Unauthorized access to requested resource\n- 1200: Invalid request parameters\n- 1201: Invalid parameters\n- 1202: Invalid request method\n- 1203: Requested resource does not exist\n- 1300: Trigger platform strategy\n- 1301: Trigger content security policy\n- 1302: API request too frequent\n- 1303: Concurrency/QPS exceeds limit\n- 1304: Trigger IP whitelist policy\n- 5000: Internal server error\n- 5001: Service temporarily unavailable\n- 5002: Server internal timeout\n","type":"integer"},"message":{"description":"Human-readable error message","type":"string"},"request_id":{"description":"Request ID for tracking and troubleshooting","type":"string"}},"required":["code","message","request_id"],"type":"object"},"KlingImage2VideoInputs":{"description":"Request body for a Kling image-to-video generation. The `example` below deliberately omits `model_name`; a direct v1 call to POST /proxy/kling/v1/videos/image2video may add it (the proxy forwards an absent one as-is and Kling applies its own default).","example":{"duration":"5","image":"https://example.invalid/kling/reference.png","mode":"std","prompt":"The fox turns its head towards the camera."},"properties":{"callback_url":{"description":"The callback notification address. Server will notify when the task status changes. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","format":"uri","type":"string"},"camera_control":{"$ref":"#/components/schemas/KlingCameraControl"},"cfg_scale":{"$ref":"#/components/schemas/KlingVideoGenCfgScale"},"duration":{"$ref":"#/components/schemas/KlingVideoGenDuration"},"dynamic_masks":{"description":"Dynamic Brush Configuration List (up to 6 groups). For 5-second videos, trajectory length must not exceed 77 coordinates.","items":{"properties":{"mask":{"description":"Dynamic Brush Application Area (Mask image created by users using the motion brush). The aspect ratio must match the input image.","format":"uri","type":"string"},"trajectories":{"items":{"properties":{"x":{"description":"The horizontal coordinate of trajectory point. Based on bottom-left corner of image as origin (0,0).","type":"integer"},"y":{"description":"The vertical coordinate of trajectory point. Based on bottom-left corner of image as origin (0,0).","type":"integer"}},"type":"object"},"type":"array"}},"type":"object"},"maxItems":6,"type":"array"},"element_list":{"description":"Reference Element List based on element ID configuration. Supports up to 3 reference elements. The element_list and voice_list parameters are mutually exclusive.","items":{"properties":{"element_id":{"description":"Element ID","format":"int64","type":"integer"}},"required":["element_id"],"type":"object"},"maxItems":3,"type":"array"},"external_task_id":{"description":"Customized Task ID. Must be unique within a single user account. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"image":{"description":"Reference Image - URL or Base64 encoded string, cannot exceed 10MB, resolution not less than 300*300px, aspect ratio between 1:2.5 ~ 2.5:1. Base64 should not include data:image prefix.","type":"string"},"image_tail":{"description":"Reference Image - End frame control. URL or Base64 encoded string, cannot exceed 10MB, resolution not less than 300*300px. Base64 should not include data:image prefix. Cannot be used simultaneously with dynamic_masks/static_mask or camera_control.","type":"string"},"mode":{"$ref":"#/components/schemas/KlingVideoGenMode"},"model_name":{"description":"Model name. Omit it or send null when using Comfy Router; the model is selected by the request path. A supplied name must match that path.","nullable":true,"type":"string"},"multi_prompt":{"description":"Information about each storyboard, such as prompts and duration. Supports up to 6 storyboards, with a minimum of 1. Required when multi_shot is true and shot_type is customize.","items":{"properties":{"duration":{"description":"Duration of this storyboard in seconds. Must not exceed total task duration and must not be less than 1. Sum of all storyboard durations equals total task duration.","type":"string"},"index":{"description":"Shot sequence number","type":"integer"},"prompt":{"description":"Prompt word for this storyboard. Maximum length 512 characters.","maxLength":512,"type":"string"}},"type":"object"},"maxItems":6,"minItems":1,"type":"array"},"multi_shot":{"default":false,"description":"Whether to generate multi-shot video. When true, the prompt parameter is invalid. When false, the shot_type and multi_prompt parameters are invalid.","type":"boolean"},"negative_prompt":{"description":"Negative text prompt. It is recommended to supplement negative prompt information through negative sentences directly within positive prompts.","maxLength":2500,"type":"string"},"prompt":{"description":"Positive text prompt. Use \u003c\u003c\u003cvoice_1\u003e\u003e\u003e to specify a voice matching the voice_list parameter order. A task can reference up to 2 tones. When specifying a tone, the sound parameter value must be on.","maxLength":2500,"type":"string"},"shot_type":{"description":"Storyboard method. Required when the multi_shot parameter is set to true.","enum":["customize","intelligence"],"type":"string"},"sound":{"default":"off","description":"Whether to generate sound simultaneously when generating videos. Only V2.6 and subsequent versions of the model support this parameter.","enum":["on","off"],"type":"string"},"static_mask":{"description":"Static Brush Application Area (Mask image created by users using the motion brush). The aspect ratio must match the input image.","type":"string"},"voice_list":{"description":"List of voices referenced when generating videos. Supports up to 2 voices. The element_list and voice_list parameters are mutually exclusive.","items":{"properties":{"voice_id":{"description":"Voice ID returned through the voice customization API or a system preset voice ID.","type":"string"}},"required":["voice_id"],"type":"object"},"maxItems":2,"type":"array"},"watermark_info":{"description":"Whether to generate watermarked results simultaneously. Custom watermark is not supported at this time.","properties":{"enabled":{"description":"true means generate watermark, false means do not generate.","type":"boolean"}},"type":"object"}},"type":"object"},"KlingImage2VideoRequest":{"allOf":[{"$ref":"#/components/schemas/KlingImage2VideoInputs"},{"properties":{"model_name":{"$ref":"#/components/schemas/KlingVideoGenModelName"}},"type":"object"}],"description":"Request body for the v1 `POST /proxy/kling/v1/videos/image2video` proxy.\nIt composes `KlingImage2VideoInputs` rather than restating its fields, and adds back the one narrowing only the v1 surface can carry. `model_name` is that field: this route has no path segment supplying it, so the published enum (`KlingVideoGenModelName`, which lists the three surviving video ids) still describes what the proxy accepts, whereas the Comfy Router route supplies it from the path and its input schema must neither require nor enum-constrain it (BE-11167).\nThe component has NEVER required `model_name` -- it carried no `required` list at all before this split -- so nothing here restores or invents a requirement; routerV1ProxyModelRequirement pins that answer."},"KlingImageGenAspectRatio":{"default":"16:9","description":"Aspect ratio of the generated images","enum":["16:9","9:16","1:1","4:3","3:4","3:2","2:3","21:9"],"type":"string"},"KlingImageGenImageReferenceType":{"description":"Image reference type","enum":["subject","face"],"type":"string"},"KlingImageGenModelName":{"default":"kling-v1","description":"Model Name","enum":["kling-v1","kling-v1-5","kling-v2","kling-v3"],"type":"string"},"KlingImageGenerationsRequest":{"properties":{"aspect_ratio":{"$ref":"#/components/schemas/KlingImageGenAspectRatio"},"callback_url":{"description":"The callback notification address. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","format":"uri","type":"string"},"element_list":{"description":"Reference Element List based on element ID configuration. The sum of reference elements and reference images shall not exceed 10.","items":{"properties":{"element_id":{"description":"Element ID","format":"int64","type":"integer"}},"type":"object"},"type":"array"},"external_task_id":{"description":"Customized Task ID. Must be unique within a single user account. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"human_fidelity":{"default":0.45,"description":"Subject reference similarity","maximum":1,"minimum":0,"type":"number"},"image":{"description":"Reference Image - Base64 encoded string or image URL. Supported formats include .jpg/.jpeg/.png. File size cannot exceed 10MB. Width and height dimensions shall not be less than 300px, aspect ratio between 1:2.5 ~ 2.5:1. Required when image_reference is not empty.","type":"string"},"image_fidelity":{"default":0.5,"description":"Reference intensity for user-uploaded images","maximum":1,"minimum":0,"type":"number"},"image_reference":{"$ref":"#/components/schemas/KlingImageGenImageReferenceType"},"model_name":{"$ref":"#/components/schemas/KlingImageGenModelName"},"n":{"default":1,"description":"Number of generated images. Value range [1,9].","maximum":9,"minimum":1,"type":"integer"},"negative_prompt":{"description":"Negative text prompt. Cannot exceed 2500 characters. It is recommended to supplement negative prompt information through negative sentences directly within positive prompts. Not supported in Image-to-Image scenario (when image field is not empty).","maxLength":2500,"type":"string"},"prompt":{"description":"Positive text prompt. Must not exceed 2,500 characters.","maxLength":2500,"type":"string"},"resolution":{"default":"1k","description":"Image generation resolution. 1k is 1K standard, 2k is 2K high-res.","enum":["1k","2k"],"type":"string"}},"required":["prompt"],"type":"object"},"KlingImageGenerationsResponse":{"properties":{"code":{"description":"Error code","type":"integer"},"data":{"properties":{"created_at":{"description":"Task creation time, Unix timestamp in milliseconds","type":"integer"},"final_unit_deduction":{"description":"The deduction units of task","type":"string"},"task_id":{"description":"Task ID","type":"string"},"task_info":{"properties":{"external_task_id":{"description":"Customer-defined task ID","type":"string"}},"type":"object"},"task_result":{"properties":{"images":{"items":{"$ref":"#/components/schemas/KlingImageResult"},"type":"array"}},"type":"object"},"task_status":{"$ref":"#/components/schemas/KlingTaskStatus"},"task_status_msg":{"description":"Task status information, displaying the failure reason when the task fails","type":"string"},"updated_at":{"description":"Task update time, Unix timestamp in milliseconds","type":"integer"}},"type":"object"},"message":{"description":"Error message","type":"string"},"request_id":{"description":"Request ID","type":"string"}},"type":"object"},"KlingImageResult":{"properties":{"index":{"description":"Image Number (0-9)","type":"integer"},"url":{"description":"URL for generated image","format":"uri","type":"string"}},"type":"object"},"KlingImageV4Content":{"description":"One item of a Kling Image 4.0 `contents` array. The fields present depend on `type`.","properties":{"element_id":{"description":"Element ID, when type is \"element\". Only multi-image elements are supported.","type":"string"},"id":{"description":"Reference ID for this input, used as @id in the prompt. Must be unique within the task.","type":"string"},"text":{"description":"Text prompt, when type is \"prompt\". Up to 50,000 English characters or 21,000 non-English characters. Reference other inputs as @id.","type":"string"},"type":{"description":"Input type. One of \"prompt\", \"refer_image\" or \"element\". A prompt item is required. Up to 10 reference images and elements in total.","enum":["prompt","refer_image","element"],"type":"string"},"url":{"description":"Image URL or Base64 data, when type is \"refer_image\". Images are .jpg, .jpeg or .png up to 30MB, at least 300px per side, with an aspect ratio between 2:5 and 5:2.","type":"string"}},"required":["type"],"type":"object"},"KlingImageV4Request":{"description":"Request body for a Kling Image 4.0 generation. The prompt is a `contents` item of type \"prompt\"; reference images and elements turn it into image-to-image. `settings.result_type` \"single\" makes `settings.n` independent images, and \"series\" makes a related set of `settings.series_amount` images. Billed from the list price Kling reports for the finished task.","example":{"contents":[{"text":"A knitted fox asleep on a pile of old books, soft window light.","type":"prompt"}],"settings":{"aspect_ratio":"1:1","n":1,"resolution":"2k","result_type":"single"}},"properties":{"contents":{"description":"The prompt and up to 10 reference images and elements.","items":{"$ref":"#/components/schemas/KlingImageV4Content"},"maxItems":11,"minItems":1,"type":"array"},"options":{"allOf":[{"$ref":"#/components/schemas/KlingV4Text2VideoOptions"}],"description":"General configuration such as watermark options. `options.callback_url` and `options.external_task_id` are not supported; they are removed before the request reaches Kling.","nullable":true,"type":"object"},"settings":{"description":"Output configuration such as result type, image count, resolution and aspect ratio.","properties":{"aspect_ratio":{"description":"Aspect ratio (width:height) of the generated images. Default \"auto\", which follows the input.","enum":["16:9","9:16","1:1","4:3","3:4","3:2","2:3","21:9","auto"],"type":"string"},"n":{"description":"Number of independent images in single mode, 1 through 9. Default 1. Ignored in series mode.","maximum":9,"minimum":1,"type":"integer"},"resolution":{"description":"Output resolution. One of \"2k\", \"4k\" or \"8k\". Default \"2k\".","enum":["2k","4k","8k"],"type":"string"},"result_type":{"description":"One of \"single\" (independent images, counted by `n`) or \"series\" (a related set, counted by `series_amount`). Default \"single\".","enum":["single","series"],"type":"string"},"series_amount":{"description":"Number of images in a series, 2 through 10, or \"auto\" to let Kling choose 2 to 10 from the input. Default 4. Used only in series mode.","oneOf":[{"maximum":10,"minimum":2,"type":"integer"},{"enum":["auto"],"type":"string"}]}},"type":"object"}},"required":["contents"],"type":"object"},"KlingLipSyncInputObject":{"anyOf":[{"properties":{"mode":{"enum":["text2video"]}},"required":["video_id","text","voice_id"]},{"properties":{"mode":{"enum":["audio2video"]}},"required":["video_id","audio_file"]},{"properties":{"mode":{"enum":["audio2video"]}},"required":["video_id","audio_url"]},{"properties":{"mode":{"enum":["text2video"]}},"required":["video_url","text","voice_id"]},{"properties":{"mode":{"enum":["audio2video"]}},"required":["video_url","audio_file"]},{"properties":{"mode":{"enum":["audio2video"]}},"required":["video_url","audio_url"]}],"properties":{"audio_file":{"description":"Local Path of Audio File. Supported formats: .mp3/.wav/.m4a/.aac, maximum file size of 5MB. Base64 code.","type":"string"},"audio_type":{"$ref":"#/components/schemas/KlingAudioUploadType"},"audio_url":{"description":"Audio File Download URL. Supported formats: .mp3/.wav/.m4a/.aac, maximum file size of 5MB.","type":"string"},"mode":{"$ref":"#/components/schemas/KlingLipSyncMode"},"text":{"description":"Text Content for Lip-Sync Video Generation. Required when mode is text2video. Maximum length is 120 characters.","maxLength":120,"type":"string"},"video_id":{"description":"The ID of the video generated by Kling AI. Only supports 5-second and 10-second videos generated within the last 30 days.","type":"string"},"video_url":{"description":"Get link for uploaded video. Video files support .mp4/.mov, file size does not exceed 100MB, video length between 2-10s.","type":"string"},"voice_id":{"description":"Voice ID. Required when mode is text2video. The system offers a variety of voice options to choose from.","type":"string"},"voice_language":{"$ref":"#/components/schemas/KlingLipSyncVoiceLanguage"},"voice_speed":{"default":1,"description":"Speech Rate. Valid range: 0.8~2.0, accurate to one decimal place.","maximum":2,"minimum":0.8,"type":"number"}},"required":["mode"],"type":"object"},"KlingLipSyncMode":{"description":"Video Generation Mode. text2video: Text-to-video generation mode; audio2video: Audio-to-video generation mode","enum":["text2video","audio2video"],"type":"string"},"KlingLipSyncRequest":{"description":"Generate lip-sync for a video_id or video_url. Use text2video with text and voice_id, or audio2video with an audio_file or audio_url.","example":{"input":{"mode":"text2video","text":"Welcome to Comfy Cloud.","video_id":"kling-video-6f5e4d3c2b1a","voice_id":"genshin_vindi2","voice_language":"en","voice_speed":1}},"properties":{"callback_url":{"description":"The callback notification address. Server will notify when the task status changes. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","format":"uri","type":"string"},"input":{"$ref":"#/components/schemas/KlingLipSyncInputObject"}},"required":["input"],"type":"object"},"KlingLipSyncResponse":{"properties":{"code":{"description":"Error code","type":"integer"},"data":{"properties":{"created_at":{"description":"Task creation time","type":"integer"},"final_unit_deduction":{"description":"The deduction units of task","type":"string"},"task_id":{"description":"Task ID","type":"string"},"task_info":{"properties":{"external_task_id":{"type":"string"}},"type":"object"},"task_result":{"properties":{"videos":{"items":{"$ref":"#/components/schemas/KlingVideoResult"},"type":"array"}},"type":"object"},"task_status":{"$ref":"#/components/schemas/KlingTaskStatus"},"updated_at":{"description":"Task update time","type":"integer"}},"type":"object"},"message":{"description":"Error message","type":"string"},"request_id":{"description":"Request ID","type":"string"}},"type":"object"},"KlingLipSyncVoiceLanguage":{"default":"en","description":"The voice language corresponds to the Voice ID.","enum":["zh","en"],"type":"string"},"KlingLongImageV4Content":{"description":"One item of a Kling Image 4.0 long-image `contents` array. The fields present depend on `type`.","properties":{"id":{"description":"Reference ID for this input, used as @id in the prompt. Must be unique within the task.","type":"string"},"text":{"description":"Text prompt, when type is \"prompt\". Up to 166,000 English characters or 71,000 non-English characters. Reference images as @id.","type":"string"},"type":{"description":"Input type. Exactly one \"prompt\" item is required. The \"webpage\" skill takes at most one \"style_refer_image\" and at most one \"subject_refer_image\". The \"ecommerce\" skill takes 1 to 3 \"refer_image\" items (the product photos). Elements are not supported.","enum":["prompt","refer_image","style_refer_image","subject_refer_image"],"type":"string"},"url":{"description":"Image URL or Base64 data, when type is a reference image. Images are .jpg, .jpeg or .png up to 30MB, at least 300px per side, with an aspect ratio between 2:5 and 5:2.","type":"string"}},"required":["type"],"type":"object"},"KlingLongImageV4Request":{"description":"Request body for a Kling Image 4.0 long-image generation. Each task makes one long image, either a webpage design (`settings.skill` \"webpage\") or an e-commerce product detail page (`settings.skill` \"ecommerce\", which needs 1 to 3 \"refer_image\" product photos). Billed from the list price Kling reports for the finished task.","example":{"contents":[{"text":"A landing page for a specialty coffee roaster: hero, product showcase, roasting story and footer.","type":"prompt"}],"settings":{"resolution":"1k","skill":"webpage"}},"properties":{"contents":{"description":"The prompt and up to 3 reference images.","items":{"$ref":"#/components/schemas/KlingLongImageV4Content"},"maxItems":4,"minItems":1,"type":"array"},"options":{"allOf":[{"$ref":"#/components/schemas/KlingV4Text2VideoOptions"}],"description":"General configuration such as watermark options. `options.callback_url` and `options.external_task_id` are not supported; they are removed before the request reaches Kling.","nullable":true,"type":"object"},"settings":{"description":"Output configuration such as skill, resolution and page length.","properties":{"length":{"description":"Page length for the \"ecommerce\" skill, one of \"short\", \"medium\" or \"long\". Default \"medium\". Ignored for \"webpage\".","enum":["short","medium","long"],"type":"string"},"resolution":{"description":"Output resolution. One of \"1k\" or \"2k\". Default \"1k\".","enum":["1k","2k"],"type":"string"},"skill":{"description":"One of \"webpage\" (a webpage design) or \"ecommerce\" (an e-commerce product detail page). Required.","enum":["webpage","ecommerce"],"type":"string"}},"required":["skill"],"type":"object"}},"required":["contents","settings"],"type":"object"},"KlingMotionControlRequest":{"properties":{"callback_url":{"description":"The callback notification address for the result of this task. If configured, the server will actively notify when the task status changes. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","format":"uri","type":"string"},"character_orientation":{"description":"Generate the orientation of the characters in the video. image - same orientation as the person in the picture (reference video duration should not exceed 10 seconds). video - consistent with the orientation of the characters in the video (reference video duration should not exceed 30 seconds).","enum":["image","video"],"type":"string"},"element_list":{"description":"Reference Element List based on element ID configuration. Currently only one element can be introduced.","items":{"properties":{"element_id":{"description":"Element ID","format":"int64","type":"integer"}},"type":"object"},"type":"array"},"external_task_id":{"description":"Customized Task ID. Users can provide a customized task ID, which will not overwrite the system-generated task ID but can be used for task queries. Must be unique within a single user account. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"image_url":{"description":"Reference Image. The characters, backgrounds, and other elements in the generated video are based on the reference image. Supports inputting image Base64 encoding or image URL (ensure accessibility). Supported image formats include .jpg / .jpeg / .png. The image file size cannot exceed 10MB, and the width and height dimensions of the image range from 300px to 65536px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.","type":"string"},"keep_original_sound":{"default":"yes","description":"Whether to keep the original sound of the video. Enumeration values - yes (Keep the original sound), no (do not retain the original video sound).","enum":["yes","no"],"type":"string"},"mode":{"description":"Video generation mode. std - Standard Mode (cost-effective). pro - Professional Mode (longer duration but higher quality video output).","enum":["std","pro"],"type":"string"},"model_name":{"default":"kling-v2-6","description":"Model name for motion control. Enum values - kling-v2-6, kling-v3.","enum":["kling-v2-6","kling-v3"],"type":"string"},"prompt":{"description":"Text prompt words, which can include positive and negative descriptions. Cannot exceed 2500 characters.","maxLength":2500,"type":"string"},"video_url":{"description":"The URL of the reference video. The character actions in the generated video are consistent with the reference video. The video file supports .mp4/.mov, with a file size not exceeding 100MB, and only supports side lengths between 340px and 3850px. The lower limit of video duration should not be less than 3 seconds, and the upper limit depends on character_orientation.","type":"string"},"watermark_info":{"description":"Whether to generate watermarked results simultaneously. Custom watermark is not supported at this time.","properties":{"enabled":{"description":"true means generate watermark, false means do not generate.","type":"boolean"}},"type":"object"}},"required":["image_url","video_url","character_orientation","mode"],"type":"object"},"KlingMotionControlResponse":{"properties":{"code":{"description":"Error code","type":"integer"},"data":{"properties":{"created_at":{"description":"Task creation time, Unix timestamp, unit ms","type":"integer"},"final_unit_deduction":{"description":"The deduction units of task","type":"string"},"task_id":{"description":"Task ID","type":"string"},"task_info":{"properties":{"external_task_id":{"description":"Customer-defined task ID","type":"string"}},"type":"object"},"task_result":{"properties":{"videos":{"items":{"$ref":"#/components/schemas/KlingMotionControlVideoResult"},"type":"array"}},"type":"object"},"task_status":{"$ref":"#/components/schemas/KlingTaskStatus"},"task_status_msg":{"description":"Task status information, displaying the failure reason when the task fails","type":"string"},"updated_at":{"description":"Task update time, Unix timestamp, unit ms","type":"integer"},"watermark_info":{"properties":{"enabled":{"type":"boolean"}},"type":"object"}},"type":"object"},"message":{"description":"Error message","type":"string"},"request_id":{"description":"Request ID","type":"string"}},"type":"object"},"KlingMotionControlVideoResult":{"properties":{"duration":{"description":"Total video duration, unit - s (seconds)","type":"string"},"id":{"description":"Generated video ID; globally unique","type":"string"},"url":{"description":"URL for generating videos","type":"string"},"watermark_url":{"description":"URL for generating videos with watermark, hotlink protection format","type":"string"}},"type":"object"},"KlingOmniImageInputs":{"description":"Request body for a Kling omni-image generation. `prompt` is the one field Kling requires and it stays on this Router-safe floor -- the v1 component has required it since the operation was added, and `prompt` is not a field Router fills, so requiring it costs a Router caller nothing. The `example` below is the COMFY ROUTER form and omits `model_name`, which Router fills from the `{model}` path segment.","example":{"aspect_ratio":"1:1","n":1,"prompt":"A watercolour koi pond at dawn, soft light.","resolution":"1k"},"properties":{"aspect_ratio":{"default":"auto","description":"Aspect ratio of the generated images (width:height). auto is to intelligently generate images based on incoming content.","enum":["16:9","9:16","1:1","4:3","3:4","3:2","2:3","21:9","auto"],"type":"string"},"callback_url":{"description":"The callback notification address for the result of this task. If configured, the server will actively notify when the task status changes. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","format":"uri","type":"string"},"element_list":{"description":"Reference Element List based on element ID configuration. The sum of reference elements and reference images shall not exceed 10.","items":{"properties":{"element_id":{"description":"Element ID","format":"int64","type":"integer"}},"required":["element_id"],"type":"object"},"maxItems":10,"type":"array"},"external_task_id":{"description":"Customized Task ID. Must be unique within a single user account. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"image_list":{"description":"Reference Image List. Supports inputting image Base64 encoding or image URL (ensure accessibility). Supported formats include .jpg/.jpeg/.png. File size cannot exceed 10MB. Width and height dimensions shall not be less than 300px, aspect ratio between 1:2.5 ~ 2.5:1. The sum of reference elements and reference images shall not exceed 10.","items":{"properties":{"image":{"description":"Image Base64 encoding or image URL (ensure accessibility)","type":"string"}},"required":["image"],"type":"object"},"maxItems":10,"type":"array"},"model_name":{"description":"Model name. Omit it or send null when using Comfy Router; the model is selected by the request path. A supplied name must match that path.","nullable":true,"type":"string"},"n":{"default":1,"description":"Number of generated images. Value range [1,9].","maximum":9,"minimum":1,"type":"integer"},"prompt":{"description":"Text prompt words, which can include positive and negative descriptions. Must not exceed 2,500 characters. The Omni model can achieve various capabilities through Prompt with elements and images. Specify an image in the format of \u003c\u003c\u003c\u003e\u003e\u003e, such as \u003c\u003c\u003cimage_1\u003e\u003e\u003e.","maxLength":2500,"type":"string"},"resolution":{"default":"1k","description":"Image generation resolution. 1k is 1K standard, 2k is 2K high-res, 4k is 4K high-res.","enum":["1k","2k","4k"],"type":"string"},"result_type":{"default":"single","description":"Control whether to generate a single image or a series of images. series is not supported for kling-image-o1 (also what the v1 proxy uses when model_name is omitted); such a request is refused with HTTP 400.","enum":["single","series"],"type":"string"},"series_amount":{"default":4,"description":"Number of images in a series. Value range [2,9].","maximum":9,"minimum":2,"type":"integer"}},"required":["prompt"],"type":"object"},"KlingOmniImageRequest":{"allOf":[{"$ref":"#/components/schemas/KlingOmniImageInputs"},{"properties":{"model_name":{"default":"kling-image-o1","description":"Model Name","enum":["kling-image-o1","kling-v3-omni"],"type":"string"}},"type":"object"}],"description":"Request body for the v1 `POST /proxy/kling/v1/images/omni-image` proxy.\nIt composes `KlingOmniImageInputs` rather than restating its fields, and adds back the one narrowing only the v1 surface can carry: `model_name` keeps its published enum and default here, because this route has no path segment supplying the model, whereas the Comfy Router route supplies it from the path and its input schema must neither require nor enum-constrain it (BE-11167).\n`required: [prompt]` is NOT restated here: it lives on the shared base, is unchanged by this split, and is the Router-safe floor's own field rather than one this wrapper re-adds. The component has never required `model_name`; routerV1ProxyModelRequirement pins that answer."},"KlingOmniImageResponse":{"properties":{"code":{"description":"Error code","type":"integer"},"data":{"properties":{"created_at":{"description":"Task creation time, Unix timestamp in milliseconds","type":"integer"},"final_unit_deduction":{"description":"The deduction units of task","type":"string"},"task_id":{"description":"Task ID","type":"string"},"task_info":{"properties":{"external_task_id":{"description":"Customer-defined task ID","type":"string"}},"type":"object"},"task_result":{"properties":{"images":{"items":{"$ref":"#/components/schemas/KlingImageResult"},"type":"array"},"result_type":{"description":"Whether the result is a single image or a series of images","enum":["single","series"],"type":"string"},"series_images":{"description":"Series images result list","items":{"properties":{"index":{"description":"Series-image sequence number","type":"integer"},"url":{"description":"URL for generated image","format":"uri","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"task_status":{"$ref":"#/components/schemas/KlingTaskStatus"},"task_status_msg":{"description":"Task status information, displaying the failure reason when the task fails (such as triggering the content risk control of the platform, etc.)","type":"string"},"updated_at":{"description":"Task update time, Unix timestamp in milliseconds","type":"integer"}},"type":"object"},"message":{"description":"Error message","type":"string"},"request_id":{"description":"Request ID","type":"string"}},"type":"object"},"KlingOmniVideoInputs":{"description":"Request body for a Kling omni-video generation. The `example` below is the COMFY ROUTER form and deliberately omits `model_name`, which Router fills from the `{model}` path segment; a direct v1 call to POST /proxy/kling/v1/videos/omni-video may add it (the proxy defaults an absent one to kling-video-o1). One example cannot serve both spellings, so the omitting form is the only one valid on both Router routes.","example":{"aspect_ratio":"16:9","duration":"5","prompt":"A paper boat drifting down a rain-soaked street at dusk."},"properties":{"aspect_ratio":{"description":"The aspect ratio of the generated video frame (width:height). Required when first-frame reference or video editing features are not used.","enum":["16:9","9:16","1:1"],"type":"string"},"callback_url":{"description":"The callback notification address for the result of this task. If configured, the server will actively notify when the task status changes. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","format":"uri","type":"string"},"duration":{"default":"5","description":"Video Length in seconds. When using video editing function (refer_type: base), output duration is the same as input video and this parameter is invalid.","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"type":"string"},"element_list":{"description":"Reference Element List based on element ID configuration.","items":{"properties":{"element_id":{"description":"Element ID","format":"int64","type":"integer"}},"required":["element_id"],"type":"object"},"type":"array"},"external_task_id":{"description":"Customized Task ID. Must be unique within a single user account. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"image_list":{"description":"Reference Image List. Can include reference images of the element, scene, style, etc., or be used as the first or last frame to generate videos.","items":{"properties":{"image_url":{"description":"Image Base64 encoding or image URL (ensure accessibility). Supported formats include .jpg/.jpeg/.png. File size cannot exceed 10MB. Width and height dimensions shall not be less than 300px, aspect ratio between 1:2.5 ~ 2.5:1.","type":"string"},"type":{"description":"Whether the image is in the first or last frame. first_frame is the first frame, end_frame is the last frame. Currently does not support only the end frame.","enum":["first_frame","end_frame"],"type":"string"}},"type":"object"},"type":"array"},"model_name":{"description":"Model name. Omit it or send null when using Comfy Router; the model is selected by the request path. A supplied name must match that path.","nullable":true,"type":"string"},"multi_prompt":{"description":"Information about each storyboard, such as prompts and duration. Supports up to 6 storyboards, with a minimum of 1. Required when multi_shot is true and shot_type is customize.","items":{"properties":{"duration":{"description":"Duration of this storyboard in seconds. Must not exceed total task duration and must not be less than 1. Sum of all storyboard durations equals total task duration.","type":"string"},"index":{"description":"Shot sequence number","type":"integer"},"prompt":{"description":"Prompt word for this storyboard. Maximum length 512 characters.","maxLength":512,"type":"string"}},"type":"object"},"maxItems":6,"minItems":1,"type":"array"},"multi_shot":{"default":false,"description":"Whether to generate multi-shot video. When true, the prompt parameter is invalid. When false, the shot_type and multi_prompt parameters are invalid.","type":"boolean"},"prompt":{"description":"Text prompt words, which can include positive and negative descriptions. Must not exceed 2,500 characters. Can specify elements, images, or videos in the format \u003c\u003c\u003c\u003e\u003e\u003e such as \u003c\u003celement_1\u003e\u003e, \u003c\u003c\u003cimage_1\u003e\u003e\u003e, \u003c\u003c\u003cvideo_1\u003e\u003e\u003e.","maxLength":2500,"type":"string"},"shot_type":{"description":"Storyboard method. Required when the multi_shot parameter is set to true.","enum":["customize","intelligence"],"type":"string"},"sound":{"default":"off","description":"Whether sound is generated simultaneously when generating videos.","enum":["on","off"],"type":"string"},"video_list":{"description":"Reference Video list. Can be used as a reference video for feature or as a video to be edited, with the default being the video to be edited.","items":{"properties":{"keep_original_sound":{"description":"Whether to keep the video original sound. yes indicates retention, no indicates non retention.","enum":["yes","no"],"type":"string"},"refer_type":{"description":"Reference video type. feature is the feature reference video, base is the video to be edited.","enum":["feature","base"],"type":"string"},"video_url":{"description":"URL of uploaded video. Only .mp4/.mov formats are supported. Duration between 3-10 seconds. Resolution must be between 720px and 2160px. Frame rates of 24-60 fps supported. Only 1 video can be uploaded, with size not exceeding 200MB.","type":"string"}},"required":["video_url"],"type":"object"},"maxItems":1,"type":"array"},"watermark_info":{"description":"Whether to generate watermarked results simultaneously. Custom watermark is not supported at this time.","properties":{"enabled":{"description":"true means generate watermark, false means do not generate.","type":"boolean"}},"type":"object"}},"type":"object"},"KlingOmniVideoRequest":{"allOf":[{"$ref":"#/components/schemas/KlingOmniVideoInputs"},{"properties":{"mode":{"default":"pro","description":"Video generation mode. std: Standard Mode, generating 720P videos, cost-effective. pro: Professional Mode, generating 1080P videos, higher quality video output.","enum":["pro","std"],"type":"string"},"model_name":{"default":"kling-video-o1","description":"Model Name","enum":["kling-video-o1","kling-v3-omni"],"type":"string"}},"type":"object"}],"description":"Request body for the v1 `POST /proxy/kling/v1/videos/omni-video` proxy.\nIt composes `KlingOmniVideoInputs` rather than restating its fields, and adds back the one narrowing only the v1 surface can carry: `model_name` keeps its published enum and default here, because this route has no path segment supplying the model, whereas the Comfy Router route supplies it from the path and its input schema must neither require nor enum-constrain it (BE-11167).\nThe component has NEVER required `model_name` -- it carried no `required` list at all before this split -- so nothing here restores or invents a requirement; routerV1ProxyModelRequirement pins that answer.\n`mode` is restated too, for the same reason `model_name` is: it is not declared on `KlingOmniVideoInputs` at all (see the note above that property), and this v1 surface serves both ids through one body, so it stays std/pro rather than the wider enum kling-v3-omni's Router-only variant carries."},"KlingPresetsElement":{"properties":{"element_description":{"type":"string"},"element_id":{"format":"int64","type":"integer"},"element_image_list":{"properties":{"frontal_image":{"type":"string"},"refer_images":{"items":{"properties":{"image_url":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"element_name":{"type":"string"},"element_video_list":{"properties":{"refer_videos":{"items":{"properties":{"video_url":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"element_voice_info":{"properties":{"owned_by":{"type":"string"},"trial_url":{"type":"string"},"voice_id":{"type":"string"},"voice_name":{"type":"string"}},"type":"object"},"owned_by":{"type":"string"},"reference_type":{"type":"string"},"tag_list":{"items":{"properties":{"description":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"KlingPresetsElementTask":{"properties":{"created_at":{"description":"Task creation time, Unix timestamp in ms","type":"integer"},"final_unit_deduction":{"type":"string"},"task_id":{"type":"string"},"task_info":{"properties":{"external_task_id":{"type":"string"}},"type":"object"},"task_result":{"properties":{"elements":{"items":{"$ref":"#/components/schemas/KlingPresetsElement"},"type":"array"}},"type":"object"},"task_status":{"enum":["submitted","processing","succeed","failed"],"type":"string"},"task_status_msg":{"type":"string"},"updated_at":{"description":"Task update time, Unix timestamp in ms","type":"integer"}},"type":"object"},"KlingPresetsElementsResponse":{"properties":{"code":{"type":"integer"},"data":{"items":{"$ref":"#/components/schemas/KlingPresetsElementTask"},"type":"array"},"message":{"type":"string"},"request_id":{"type":"string"}},"type":"object"},"KlingQueryTaskResponse":{"properties":{"code":{"description":"Error code","type":"integer"},"data":{"properties":{"created_at":{"description":"Task creation time, Unix timestamp in milliseconds","type":"integer"},"final_unit_deduction":{"description":"The deduction units of task","type":"string"},"task_id":{"description":"Task ID","type":"string"},"task_info":{"properties":{"external_task_id":{"type":"string"}},"type":"object"},"task_result":{"properties":{"videos":{"items":{"$ref":"#/components/schemas/KlingVideoResult"},"type":"array"}},"type":"object"},"task_status":{"$ref":"#/components/schemas/KlingTaskStatus"},"task_status_msg":{"description":"Task status information, displaying the failure reason when the task fails","type":"string"},"updated_at":{"description":"Task update time, Unix timestamp in milliseconds","type":"integer"},"watermark_info":{"properties":{"enabled":{"type":"boolean"}},"type":"object"}},"type":"object"},"message":{"description":"Error message","type":"string"},"request_id":{"description":"Request ID","type":"string"}},"type":"object"},"KlingResourcePackageResponse":{"properties":{"code":{"description":"Error code; 0 indicates success","type":"integer"},"data":{"properties":{"code":{"description":"Error code; 0 indicates success","type":"integer"},"msg":{"description":"Error information","type":"string"},"resource_pack_subscribe_infos":{"description":"Resource package list","items":{"properties":{"effective_time":{"description":"Effective time, Unix timestamp in ms","format":"int64","type":"integer"},"invalid_time":{"description":"Expiration time, Unix timestamp in ms","format":"int64","type":"integer"},"purchase_time":{"description":"Purchase time, Unix timestamp in ms","format":"int64","type":"integer"},"remaining_quantity":{"description":"Remaining quantity (updated with a 12-hour delay)","format":"float","type":"number"},"resource_pack_id":{"description":"Resource package ID","type":"string"},"resource_pack_name":{"description":"Resource package name","type":"string"},"resource_pack_type":{"description":"Resource package type (decreasing_total=decreasing total, constant_period=constant periodicity)","enum":["decreasing_total","constant_period"],"type":"string"},"status":{"description":"Resource Package Status","enum":["toBeOnline","online","expired","runOut"],"type":"string"},"total_quantity":{"description":"Total quantity","format":"float","type":"number"}},"type":"object"},"type":"array"}},"type":"object"},"message":{"description":"Error information","type":"string"},"request_id":{"description":"Request ID, generated by the system, used to track requests and troubleshoot problems","type":"string"}},"type":"object"},"KlingSingleImageEffectDuration":{"description":"Video Length in seconds. Only 5-second videos are supported.","enum":["5"],"type":"string"},"KlingSingleImageEffectInput":{"properties":{"duration":{"$ref":"#/components/schemas/KlingSingleImageEffectDuration"},"image":{"description":"Reference Image. URL or Base64 encoded string (without data:image prefix). File size cannot exceed 10MB, resolution not less than 300*300px, aspect ratio between 1:2.5 ~ 2.5:1.","type":"string"},"model_name":{"$ref":"#/components/schemas/KlingSingleImageEffectModelName"}},"required":["model_name","image","duration"],"type":"object"},"KlingSingleImageEffectModelName":{"description":"Model Name. Only kling-v1-6 is supported for single image effects.","enum":["kling-v1-6"],"type":"string"},"KlingSingleImageEffectsScene":{"description":"Scene Name. Single Image Effects (bloombloom, dizzydizzy, fuzzyfuzzy, squish, expansion).","enum":["bloombloom","dizzydizzy","fuzzyfuzzy","squish","expansion"],"type":"string"},"KlingSolutionCreateTaskResponse":{"description":"Response returned when a Kling solution task is created.","properties":{"code":{"description":"Error code. 0 indicates success.","type":"integer"},"data":{"properties":{"create_time":{"description":"Task creation time. Unix timestamp in milliseconds.","format":"int64","type":"integer"},"external_id":{"description":"The custom task ID for this task, if any.","type":"string"},"status":{"description":"Task status. One of \"submitted\", \"processing\", \"succeed\" or \"failed\".","type":"string"},"task_id":{"description":"The created task ID. Query it with GET /proxy/kling/solutions?task_ids={task_id}.","type":"string"},"update_time":{"description":"Task update time. Unix timestamp in milliseconds.","format":"int64","type":"integer"}},"type":"object"},"message":{"description":"Error message.","type":"string"},"request_id":{"description":"Request ID generated by the system.","type":"string"}},"type":"object"},"KlingSolutionQueryTaskResponse":{"description":"Response returned when querying Kling solution tasks by ID. `data` is a list of KlingV2Task records; a successful virtual try-on task has one output whose `type` is \"image\".","properties":{"code":{"description":"Error code. 0 indicates success.","type":"integer"},"data":{"description":"Tasks matching the query.","items":{"$ref":"#/components/schemas/KlingV2Task"},"type":"array"},"message":{"description":"Error message.","type":"string"},"request_id":{"description":"Request ID generated by the system.","type":"string"}},"type":"object"},"KlingTaskStatus":{"description":"Task Status","enum":["submitted","processing","succeed","failed"],"type":"string"},"KlingText2VideoInputs":{"description":"Request body for a Kling text-to-video generation. The `example` below is the COMFY ROUTER form and deliberately omits `model_name`, which Router fills from the `{model}` path segment; a direct v1 call to POST /proxy/kling/v1/videos/text2video may add it (the proxy forwards an absent one as-is and Kling applies its own default). One example cannot serve both surfaces -- KlingVideoRouterRequest, the Router input schema for all three spellings, composes this component, so an example naming one of them is refused by the other two routes for naming a different model, while the omitting form is valid on all three.","example":{"aspect_ratio":"16:9","duration":"5","prompt":"A red fox trotting through falling snow, cinematic lighting."},"properties":{"aspect_ratio":{"$ref":"#/components/schemas/KlingVideoGenAspectRatio"},"callback_url":{"description":"The callback notification address. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","format":"uri","type":"string"},"camera_control":{"$ref":"#/components/schemas/KlingCameraControl"},"cfg_scale":{"$ref":"#/components/schemas/KlingVideoGenCfgScale"},"duration":{"$ref":"#/components/schemas/KlingVideoGenDuration"},"external_task_id":{"description":"Customized Task ID. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"model_name":{"description":"Model name. Omit it or send null when using Comfy Router; the model is selected by the request path. A supplied name must match that path.","nullable":true,"type":"string"},"multi_prompt":{"description":"Information about each storyboard, such as prompts and duration. Supports up to 6 storyboards, with a minimum of 1. Required when multi_shot is true and shot_type is customize.","items":{"properties":{"duration":{"description":"Duration of this storyboard in seconds. Must not exceed total task duration and must not be less than 1. Sum of all storyboard durations equals total task duration.","type":"string"},"index":{"description":"Shot sequence number","type":"integer"},"prompt":{"description":"Prompt word for this storyboard. Maximum length 512 characters.","maxLength":512,"type":"string"}},"type":"object"},"maxItems":6,"minItems":1,"type":"array"},"multi_shot":{"default":false,"description":"Whether to generate multi-shot video. When true, the prompt parameter is invalid. When false, the shot_type and multi_prompt parameters are invalid.","type":"boolean"},"negative_prompt":{"description":"Negative text prompt. It is recommended to supplement negative prompt information through negative sentences directly within positive prompts.","maxLength":2500,"type":"string"},"prompt":{"description":"Positive text prompt. Use \u003c\u003c\u003cvoice_1\u003e\u003e\u003e to specify a voice matching the voice_list parameter order. A task can reference up to 2 tones. When specifying a tone, the sound parameter value must be on.","maxLength":2500,"type":"string"},"shot_type":{"description":"Storyboard method. Required when the multi_shot parameter is set to true.","enum":["customize","intelligence"],"type":"string"},"sound":{"default":"off","description":"Whether to generate sound simultaneously when generating videos. Only V2.6 and subsequent versions of the model support this parameter.","enum":["on","off"],"type":"string"},"voice_list":{"description":"List of voices referenced when generating videos. Supports up to 2 voices; reference them in `prompt` as \u003c\u003c\u003cvoice_1\u003e\u003e\u003e and \u003c\u003c\u003cvoice_2\u003e\u003e\u003e in list order. Requires `sound` set to \"on\", which only V2.6 and subsequent versions of the model support; on an earlier model, or with `sound` left at its \"off\" default, voices are not applied.","items":{"properties":{"voice_id":{"description":"Voice ID returned through the voice customization API or a system preset voice ID.","minLength":1,"type":"string"}},"required":["voice_id"],"type":"object"},"maxItems":2,"minItems":1,"type":"array"},"watermark_info":{"description":"Whether to generate watermarked results simultaneously. Custom watermark is not supported at this time.","properties":{"enabled":{"description":"true means generate watermark, false means do not generate.","type":"boolean"}},"type":"object"}},"type":"object"},"KlingText2VideoRequest":{"allOf":[{"$ref":"#/components/schemas/KlingText2VideoInputs"},{"properties":{"mode":{"$ref":"#/components/schemas/KlingVideoGenMode"},"model_name":{"$ref":"#/components/schemas/KlingTextToVideoModelName"}},"type":"object"}],"description":"Request body for the v1 `POST /proxy/kling/v1/videos/text2video` proxy.\nIt composes `KlingText2VideoInputs` rather than restating its fields, and adds back the one narrowing only the v1 surface can carry. `model_name` is that field: this route has no path segment supplying it, so the published enum (`KlingTextToVideoModelName`) still describes what the proxy accepts, whereas the Comfy Router route POST /v2/models/kling/{model} supplies it from the path and its input schema must neither require nor enum-constrain it (RouterBodyForTarget writes it in after routervalidate.Guard has validated the caller's bytes -- BE-11167).\nThe component has NEVER required `model_name` -- it carried no `required` list at all before this split -- so nothing here restores or invents a requirement; routerV1ProxyModelRequirement pins that answer. Read the note above `KlingText2VideoInputs` for the full rule and the guards that enforce it.\n`mode` is restated for the same reason: it is not declared on `KlingText2VideoInputs` at all (see the note above that property), and this v1 surface serves all three ids through one body, so it keeps `KlingVideoGenMode` (std/pro) rather than the wider enum kling-v3's Router-only variant carries."},"KlingTextToVideoModelName":{"default":"kling-v2-5-turbo","description":"Model Name","enum":["kling-v2-5-turbo","kling-v2-6","kling-v3"],"type":"string"},"KlingV2CreateTaskResponse":{"description":"Response returned when a Kling 3.0 Turbo task is created.","properties":{"code":{"description":"Error code. 0 indicates success.","type":"integer"},"data":{"properties":{"create_time":{"description":"Task creation time. Unix timestamp in milliseconds.","format":"int64","type":"integer"},"external_id":{"description":"The custom task ID for this task, if any.","type":"string"},"id":{"description":"The created task ID.","type":"string"},"status":{"description":"Task status. One of \"submitted\", \"processing\", \"succeeded\" or \"failed\".","type":"string"},"update_time":{"description":"Task update time. Unix timestamp in milliseconds.","format":"int64","type":"integer"}},"type":"object"},"message":{"description":"Error message.","type":"string"},"request_id":{"description":"Request ID generated by the system.","type":"string"}},"type":"object"},"KlingV2Image2VideoRequest":{"properties":{"contents":{"description":"Collection of references such as prompts and images. Fields related to the same material belong in the same object.","items":{"properties":{"text":{"description":"Text prompt. Provided when type is \"prompt\". May include positive and negative descriptions; cannot exceed 2500 characters.","type":"string"},"type":{"description":"Reference type. One of \"prompt\" or \"first_frame\".","type":"string"},"url":{"description":"First-frame material. Provided when type is \"first_frame\". May be a URL or Base64 content. Supports .jpg, .jpeg and .png up to 50MB; width and height must be at least 300px with an aspect ratio between 1:2.5 and 2.5:1.","type":"string"}},"type":"object"},"type":"array"},"options":{"$ref":"#/components/schemas/KlingV2Options"},"settings":{"description":"Output configuration such as resolution and duration.","properties":{"duration":{"description":"Video length in seconds. Supported values 3 through 15. Default 5.","type":"integer"},"resolution":{"description":"Clarity of the generated video. One of \"720p\" or \"1080p\". Default \"720p\".","type":"string"}},"type":"object"}},"required":["contents"],"type":"object"},"KlingV2Options":{"description":"General configuration such as callback address and watermark options.","properties":{"callback_url":{"description":"Callback notification URL for task results. The server notifies when the task status changes. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"external_task_id":{"description":"Customized Task ID. Does not overwrite the system-generated task ID but can be used for queries. Must be unique within a single user account. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"watermark_info":{"description":"Whether to generate watermarked results simultaneously. Custom watermarks are not supported.","properties":{"enabled":{"description":"true means generate watermarked result, false means do not generate. Default false.","type":"boolean"}},"type":"object"}},"type":"object"},"KlingV2Output":{"description":"A generated output. The fields present depend on `type` (video, image, audio, voice or element).","properties":{"duration":{"description":"Duration of the generated video in seconds.","type":"string"},"group_id":{"description":"Grouping marker, present only for grouped images.","type":"string"},"id":{"description":"Output ID generated by the system.","type":"string"},"mp3_duration":{"description":"Duration of the generated MP3 audio in seconds.","type":"string"},"mp3_url":{"description":"MP3 URL of the generated audio (hotlink-protected).","type":"string"},"name":{"description":"Name of the generated material.","type":"string"},"owned_by":{"description":"Source of the material. \"kling\" denotes the official library; numbers are creator IDs.","type":"string"},"status":{"description":"Status of the material. One of \"succeeded\" or \"deleted\".","type":"string"},"type":{"description":"Output content type. One of \"video\", \"image\", \"audio\", \"voice\" or \"element\".","type":"string"},"url":{"description":"URL of the generated result (hotlink-protected). Cleared after 30 days.","type":"string"},"watermark_url":{"description":"URL of the watermarked result (hotlink-protected).","type":"string"},"wav_duration":{"description":"Duration of the generated WAV audio in seconds.","type":"string"},"wav_url":{"description":"WAV URL of the generated audio (hotlink-protected).","type":"string"}},"type":"object"},"KlingV2QueryTaskResponse":{"description":"Response returned when querying Kling v2 tasks by ID.","properties":{"code":{"description":"Error code. 0 indicates success.","type":"integer"},"data":{"description":"Tasks matching the query.","items":{"$ref":"#/components/schemas/KlingV2Task"},"type":"array"},"message":{"description":"Error message.","type":"string"},"request_id":{"description":"Request ID generated by the system.","type":"string"}},"type":"object"},"KlingV2Task":{"description":"A single Kling v2 task record.","properties":{"billing":{"description":"Billing details for the task.","items":{"properties":{"amount":{"description":"Consumption amount, accurate to two decimal places.","type":"string"},"cash_type":{"description":"Cash account the charge was drawn from (only present when charge_type is \"cash\"), for example \"balance\". Some tasks return it; others may omit it.","type":"string"},"charge_type":{"description":"Consumption account type. \"cash\" for balance, \"unit\" for a resource package.","type":"string"},"currency":{"description":"ISO 4217 currency code of `amount` and `list_price`, for example \"USD\". Some tasks return it; others may omit it.","type":"string"},"list_price":{"description":"List price of the task before any discount, as a decimal string. Some tasks return it; others may omit it.","type":"string"},"package_type":{"description":"Consumable resource bundle type (only present when charge_type is \"unit\"). One of \"video\", \"image\" or \"audio\".","type":"string"}},"type":"object"},"type":"array"},"create_time":{"description":"Task creation time. Unix timestamp in milliseconds.","format":"int64","type":"integer"},"external_id":{"description":"The custom task ID for this task, if any.","type":"string"},"id":{"description":"The task ID.","type":"string"},"message":{"description":"Task status information, displaying the failure reason when the task fails.","type":"string"},"outputs":{"description":"Generated outputs for the task.","items":{"$ref":"#/components/schemas/KlingV2Output"},"type":"array"},"status":{"description":"Task status. One of \"submitted\", \"processing\", \"succeeded\" or \"failed\".","type":"string"},"update_time":{"description":"Task update time. Unix timestamp in milliseconds.","format":"int64","type":"integer"}},"type":"object"},"KlingV2Text2VideoRequest":{"description":"Request body for a Kling 3.0 Turbo text-to-video generation. `prompt` is the one field Kling requires. The model is named by the route on both surfaces -- the v1 path ends in the model spelling and the Comfy Router path is /v2/models/kling/kling-3.0-turbo -- so the body carries no model field at all and the same `required` list serves both.","example":{"prompt":"A neon-lit alley in the rain, slow dolly forward.","settings":{"aspect_ratio":"16:9","duration":5,"resolution":"1080p"}},"properties":{"aspect_ratio":{"$ref":"#/components/schemas/KlingVideoGenAspectRatio"},"duration":{"$ref":"#/components/schemas/KlingVideoGenDuration"},"options":{"$ref":"#/components/schemas/KlingV2Options"},"prompt":{"description":"Prompt that may include both positive and negative descriptions. Recommended length under 2500 characters. Multi-shot videos use the format \"shot n, m, words; shot n, m, words;\".","maxLength":3072,"type":"string"},"settings":{"description":"Output configuration such as resolution, aspect ratio and duration.","properties":{"aspect_ratio":{"description":"Aspect ratio (width:height) of the generated frames. One of \"16:9\", \"9:16\" or \"1:1\". Default \"16:9\".","enum":["16:9","9:16","1:1"],"type":"string"},"duration":{"description":"Video length in seconds. Supported values 3 through 15. Default 5.","maximum":15,"minimum":3,"type":"integer"},"resolution":{"description":"Clarity of the generated video. One of \"720p\" or \"1080p\". Default \"720p\".","enum":["720p","1080p"],"type":"string"}},"type":"object"}},"required":["prompt"],"type":"object"},"KlingV4Content":{"description":"One item of a Kling 4.0 `contents` array. The fields present depend on `type`.","properties":{"element_id":{"description":"Element ID, when type is \"element\".","type":"string"},"id":{"description":"Reference ID for this input, used as @id in the prompt. Must be unique within the task. Required for \"element\" and \"voice\".","type":"string"},"text":{"description":"Text prompt, when type is \"prompt\". Up to 26,000 English characters or 11,000 non-English characters; comfy-api enforces 1 to 26,000 characters, and Kling itself refuses longer non-English text. Reference other inputs as @id.","type":"string"},"type":{"description":"Input type. Image-to-video accepts only \"prompt\", \"first_frame\", \"middle_frame\" and \"last_frame\", and refuses any other type. Omni video also accepts \"refer_image\", \"feature_video\" (a reference video), \"base_video\" (the video to edit, at most one), \"element\" and \"voice\".","enum":["prompt","first_frame","middle_frame","last_frame","refer_image","feature_video","base_video","element","voice"],"type":"string"},"url":{"description":"Image or video URL, when type is a frame, \"refer_image\", \"feature_video\" or \"base_video\". Images may also be Base64. Images are .jpg, .jpeg or .png up to 30MB, at least 300px per side, with an aspect ratio between 2:5 and 5:2. Videos are .mp4 or .mov up to 300MB and 3 to 30 seconds long.","type":"string"},"voice_id":{"description":"Voice ID, when type is \"voice\". A Kling preset voice or a custom voice.","type":"string"}},"required":["type"],"type":"object"},"KlingV4FlashImage2VideoRequest":{"description":"Request body for a Kling 4.0 Flash image-to-video generation from a first frame image. The aspect ratio follows the image. `settings.duration` and `settings.resolution` are required so the request never falls back to Kling's own defaults.","properties":{"contents":{"description":"The prompt and one first frame image. Each item's type is \"prompt\" or \"first_frame\".","items":{"$ref":"#/components/schemas/KlingV4Content"},"maxItems":2,"minItems":1,"type":"array"},"options":{"$ref":"#/components/schemas/KlingV2Options"},"settings":{"description":"Output configuration such as resolution and duration.","properties":{"duration":{"description":"Video length in seconds, 3 through 20. Required.","maximum":20,"minimum":3,"type":"integer"},"resolution":{"description":"Resolution of the generated video. Kling 4.0 Flash renders \"720p\" only. Required.","enum":["720p"],"type":"string"}},"required":["duration","resolution"],"type":"object"}},"required":["contents","settings"],"type":"object"},"KlingV4FlashOmniVideoRequest":{"description":"Request body for a Kling 4.0 Flash omni video generation. Up to 15 inputs in total, with at most 10 images, 5 videos (at most 1 \"base_video\") and 7 elements. A request with a \"feature_video\", a \"base_video\" or a video character element bills at the video-input rate. `settings.resolution` is required, and so is `settings.duration` unless `contents` holds a \"base_video\", so the request never falls back to Kling's own defaults.","properties":{"contents":{"description":"The prompt and the reference inputs, up to 15. Each item's type is one of \"prompt\", \"first_frame\", \"refer_image\", \"feature_video\", \"base_video\" or \"element\".","items":{"$ref":"#/components/schemas/KlingV4Content"},"maxItems":16,"minItems":1,"type":"array"},"options":{"$ref":"#/components/schemas/KlingV2Options"},"settings":{"description":"Output configuration such as resolution, aspect ratio and duration.","properties":{"aspect_ratio":{"description":"Aspect ratio (width:height) of the generated frames. One of \"21:9\", \"16:9\", \"9:16\", \"1:1\", \"4:3\", \"3:4\" or \"adaptive\". Default \"adaptive\".","enum":["21:9","16:9","9:16","1:1","4:3","3:4","adaptive"],"type":"string"},"audio":{"description":"How the generated video gets its audio. \"native\" generates audio that matches the video. \"original\" keeps the audio of the \"base_video\", or of the first \"feature_video\" when there is no \"base_video\", and needs at least one of them. Default \"native\".","enum":["native","original"],"type":"string"},"duration":{"description":"Video length in seconds, 3 through 20. Required unless `contents` holds a \"base_video\", where an edit may omit it to keep the base video's length. Every call is billed from the price Kling reports for the finished task.","maximum":20,"minimum":3,"type":"integer"},"resolution":{"description":"Resolution of the generated video. Kling 4.0 Flash renders \"720p\" only. Required.","enum":["720p"],"type":"string"}},"required":["resolution"],"type":"object"}},"required":["contents","settings"],"type":"object"},"KlingV4FlashText2VideoRequest":{"description":"Request body for a Kling 4.0 Flash text-to-video generation. `settings.duration` and `settings.resolution` are required so the request never falls back to Kling's own defaults.","properties":{"options":{"allOf":[{"$ref":"#/components/schemas/KlingV4Text2VideoOptions"}],"description":"General configuration such as watermark options. `callback_url` and `external_task_id` are removed before the request reaches Kling.","nullable":true,"type":"object"},"prompt":{"description":"Prompt that may include positive and negative descriptions. Up to 26,000 English characters or 11,000 non-English characters; comfy-api enforces 1 to 26,000 characters, and Kling itself refuses longer non-English text.","maxLength":26000,"minLength":1,"type":"string"},"settings":{"description":"Output configuration such as resolution, aspect ratio and duration.","properties":{"aspect_ratio":{"description":"Aspect ratio (width:height) of the generated frames. One of \"21:9\", \"16:9\", \"9:16\", \"1:1\", \"4:3\" or \"3:4\". Default \"16:9\".","enum":["21:9","16:9","9:16","1:1","4:3","3:4"],"nullable":true,"type":"string"},"duration":{"description":"Video length in seconds, 3 through 20. Required.","maximum":20,"minimum":3,"type":"integer"},"resolution":{"description":"Resolution of the generated video. Kling 4.0 Flash renders \"720p\" only. Required.","enum":["720p"],"type":"string"}},"required":["duration","resolution"],"type":"object"}},"required":["prompt","settings"],"type":"object"},"KlingV4Image2VideoRequest":{"description":"Request body for a Kling 4.0 image-to-video generation from first, middle and last frame images. The aspect ratio follows the images. The prompt is a `contents` item of type \"prompt\"; a top-level `prompt` is refused rather than ignored. `settings.duration` and `settings.resolution` are required so the request never falls back to Kling's own defaults, which are the most expensive configuration.","properties":{"contents":{"description":"The prompt and up to 10 frame images. Each item's type is one of \"prompt\", \"first_frame\", \"middle_frame\" or \"last_frame\".","items":{"$ref":"#/components/schemas/KlingV4Content"},"maxItems":11,"minItems":1,"type":"array"},"options":{"allOf":[{"$ref":"#/components/schemas/KlingV4Text2VideoOptions"}],"description":"General configuration such as watermark options. `options.callback_url` and `options.external_task_id` are not supported on Kling 4.0; Comfy Router refuses a request that sets either inside `options`. An explicit null `options` is treated as absent.","nullable":true,"type":"object"},"settings":{"description":"Output configuration such as resolution and duration.","properties":{"duration":{"description":"Video length in seconds, 3 through 30. Required.","maximum":30,"minimum":3,"type":"integer"},"dynamic_range":{"description":"Dynamic range of the generated video. One of \"sdr\" or \"hdr\". Default \"sdr\". \"hdr\" needs a \"1080p\" or \"4k\" resolution and is refused at \"720p\". An HDR video costs more per output second. An explicit null is treated as absent, as the /proxy Kling 4.0 check and Kling do.","enum":["sdr","hdr"],"nullable":true,"type":"string"},"resolution":{"description":"Resolution of the generated video. One of \"720p\", \"1080p\" or \"4k\". Required.","enum":["720p","1080p","4k"],"type":"string"}},"required":["duration","resolution"],"type":"object"}},"required":["contents","settings"],"type":"object"},"KlingV4OmniVideoRequest":{"description":"Request body for a Kling 4.0 omni video generation. The prompt is a `contents` item of type \"prompt\"; a top-level `prompt` is refused rather than ignored. Up to 15 inputs in total, with at most 10 images, 5 videos, 7 elements and 3 voices. A request with a \"feature_video\", a \"base_video\" or a video character element bills at the video-input rate. `settings.resolution` is required, and so is `settings.duration` unless `contents` holds a \"base_video\", so the request never falls back to Kling's own defaults, which are the most expensive configuration.","properties":{"contents":{"description":"The prompt and the reference inputs, up to 15.","items":{"$ref":"#/components/schemas/KlingV4Content"},"maxItems":16,"minItems":1,"type":"array"},"options":{"allOf":[{"$ref":"#/components/schemas/KlingV4Text2VideoOptions"}],"description":"General configuration such as watermark options. `options.callback_url` and `options.external_task_id` are not supported on Kling 4.0; Comfy Router refuses a request that sets either inside `options`. An explicit null `options` is treated as absent.","nullable":true,"type":"object"},"settings":{"description":"Output configuration such as resolution, aspect ratio and duration.","properties":{"aspect_ratio":{"description":"Aspect ratio (width:height) of the generated frames. One of \"21:9\", \"16:9\", \"9:16\", \"1:1\", \"4:3\", \"3:4\" or \"adaptive\". Default \"adaptive\".","enum":["21:9","16:9","9:16","1:1","4:3","3:4","adaptive"],"type":"string"},"duration":{"description":"Video length in seconds, 3 through 30. Required unless `contents` holds a \"base_video\", where an edit may omit it to keep the base video's length. Such a call is held and estimated at the 30-second maximum at the requested resolution, an upper bound rather than the price, and is billed from the price Kling reports for the finished task.","maximum":30,"minimum":3,"type":"integer"},"dynamic_range":{"description":"Dynamic range of the generated video. One of \"sdr\" or \"hdr\". Default \"sdr\". \"hdr\" needs a \"1080p\" or \"4k\" resolution and is refused at \"720p\". An HDR video costs more per output second. An explicit null is treated as absent, as the /proxy Kling 4.0 check and Kling do.","enum":["sdr","hdr"],"nullable":true,"type":"string"},"resolution":{"description":"Resolution of the generated video. One of \"720p\", \"1080p\" or \"4k\". Required.","enum":["720p","1080p","4k"],"type":"string"}},"required":["resolution"],"type":"object"}},"required":["contents","settings"],"type":"object"},"KlingV4Text2VideoOptions":{"additionalProperties":false,"description":"General configuration such as watermark options. `options.callback_url` and `options.external_task_id` are not supported on Kling 4.0; Comfy Router refuses a request that sets either inside `options`. A top-level `callback_url` or `external_task_id` is not part of this schema and is removed before the request reaches Kling.","properties":{"watermark_info":{"description":"Whether to generate watermarked results simultaneously. Custom watermarks are not supported. An explicit null is treated as absent, as the /proxy Kling 4.0 check and Kling do.","nullable":true,"properties":{"enabled":{"description":"true means generate watermarked result, false means do not generate. Default false.","type":"boolean"}},"type":"object"}},"type":"object"},"KlingV4Text2VideoRequest":{"description":"Request body for a Kling 4.0 text-to-video generation. `settings.duration` and `settings.resolution` are required so the request never falls back to Kling's own defaults, which are the most expensive configuration.","example":{"prompt":"A neon-lit alley in the rain, slow dolly forward.","settings":{"aspect_ratio":"16:9","duration":5,"resolution":"1080p"}},"properties":{"options":{"allOf":[{"$ref":"#/components/schemas/KlingV4Text2VideoOptions"}],"description":"General configuration such as watermark options. `options.callback_url` and `options.external_task_id` are not supported on Kling 4.0; Comfy Router refuses a request that sets either inside `options`. A top-level `callback_url` or `external_task_id` is not part of this schema and is removed before the request reaches Kling. An explicit null `options` is treated as absent, as the /proxy Kling 4.0 check and Kling do.","nullable":true,"type":"object"},"prompt":{"description":"Prompt that may include positive and negative descriptions. Up to 26,000 English characters or 11,000 non-English characters; comfy-api enforces 1 to 26,000 characters, and Kling itself refuses longer non-English text.","maxLength":26000,"minLength":1,"type":"string"},"settings":{"description":"Output configuration such as resolution, aspect ratio and duration.","properties":{"aspect_ratio":{"description":"Aspect ratio (width:height) of the generated frames. One of \"21:9\", \"16:9\", \"9:16\", \"1:1\", \"4:3\" or \"3:4\". Default \"16:9\". An explicit null is treated as absent, as the /proxy Kling 4.0 check and Kling do.","enum":["21:9","16:9","9:16","1:1","4:3","3:4"],"nullable":true,"type":"string"},"duration":{"description":"Video length in seconds, 3 through 30. Required.","maximum":30,"minimum":3,"type":"integer"},"dynamic_range":{"description":"Dynamic range of the generated video. One of \"sdr\" or \"hdr\". Default \"sdr\". \"hdr\" needs a \"1080p\" or \"4k\" resolution and is refused at \"720p\". An HDR video costs more per output second. An explicit null is treated as absent, as the /proxy Kling 4.0 check and Kling do.","enum":["sdr","hdr"],"nullable":true,"type":"string"},"resolution":{"description":"Resolution of the generated video. One of \"720p\", \"1080p\" or \"4k\". Required.","enum":["720p","1080p","4k"],"type":"string"}},"required":["duration","resolution"],"type":"object"}},"required":["prompt","settings"],"type":"object"},"KlingVideoEffectsInput":{"oneOf":[{"$ref":"#/components/schemas/KlingSingleImageEffectInput"},{"$ref":"#/components/schemas/KlingDualCharacterEffectInput"}]},"KlingVideoEffectsRequest":{"properties":{"callback_url":{"description":"The callback notification address for the result of this task. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","format":"uri","type":"string"},"effect_scene":{"oneOf":[{"$ref":"#/components/schemas/KlingDualCharacterEffectsScene"},{"$ref":"#/components/schemas/KlingSingleImageEffectsScene"}]},"external_task_id":{"description":"Customized Task ID. Must be unique within a single user account. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"input":{"$ref":"#/components/schemas/KlingVideoEffectsInput"}},"required":["effect_scene","input"],"type":"object"},"KlingVideoEffectsResponse":{"properties":{"code":{"description":"Error code","type":"integer"},"data":{"properties":{"created_at":{"description":"Task creation time","type":"integer"},"task_id":{"description":"Task ID","type":"string"},"task_info":{"properties":{"external_task_id":{"type":"string"}},"type":"object"},"task_result":{"properties":{"videos":{"items":{"$ref":"#/components/schemas/KlingVideoResult"},"type":"array"}},"type":"object"},"task_status":{"$ref":"#/components/schemas/KlingTaskStatus"},"updated_at":{"description":"Task update time","type":"integer"}},"type":"object"},"message":{"description":"Error message","type":"string"},"request_id":{"description":"Request ID","type":"string"}},"type":"object"},"KlingVideoExtendRequest":{"description":"Extend the video identified by video_id. An explicit video is required; the shared provider account cannot select a caller-specific recent video.","example":{"cfg_scale":0.5,"prompt":"The camera keeps drifting forward down the alley.","video_id":"kling-video-6f5e4d3c2b1a"},"properties":{"callback_url":{"description":"The callback notification address. Server will notify when the task status changes.","format":"uri","type":"string"},"cfg_scale":{"$ref":"#/components/schemas/KlingVideoGenCfgScale"},"negative_prompt":{"description":"Negative text prompt for elements to avoid in the extended video","maxLength":2500,"type":"string"},"prompt":{"description":"Positive text prompt for guiding the video extension","maxLength":2500,"type":"string"},"video_id":{"description":"The ID of the video to be extended. Supports videos generated by text-to-video, image-to-video, and previous video extension operations. Cannot exceed 3 minutes total duration after extension.","minLength":1,"type":"string"}},"required":["video_id"],"type":"object"},"KlingVideoExtendResponse":{"properties":{"code":{"description":"Error code","type":"integer"},"data":{"properties":{"created_at":{"description":"Task creation time","type":"integer"},"final_unit_deduction":{"description":"The deduction units of task","type":"string"},"task_id":{"description":"Task ID","type":"string"},"task_info":{"properties":{"external_task_id":{"type":"string"}},"type":"object"},"task_result":{"properties":{"videos":{"items":{"$ref":"#/components/schemas/KlingVideoResult"},"type":"array"}},"type":"object"},"task_status":{"$ref":"#/components/schemas/KlingTaskStatus"},"updated_at":{"description":"Task update time","type":"integer"}},"type":"object"},"message":{"description":"Error message","type":"string"},"request_id":{"description":"Request ID","type":"string"}},"type":"object"},"KlingVideoGenAspectRatio":{"default":"16:9","description":"Video aspect ratio","enum":["16:9","9:16","1:1"],"type":"string"},"KlingVideoGenCfgScale":{"default":0.5,"description":"Flexibility in video generation. The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.","format":"float","maximum":1,"minimum":0,"type":"number"},"KlingVideoGenDuration":{"default":"5","description":"Video length in seconds","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"type":"string"},"KlingVideoGenMode":{"default":"std","description":"Video generation mode. std: Standard Mode, which is cost-effective. pro: Professional Mode, generates videos with longer duration but higher quality output.","enum":["std","pro"],"type":"string"},"KlingVideoGenModelName":{"default":"kling-v2-5-turbo","description":"Model Name","enum":["kling-v2-5-turbo","kling-v2-6","kling-v3"],"type":"string"},"KlingVideoResult":{"properties":{"duration":{"description":"Total video duration in seconds","type":"string"},"id":{"description":"Generated video ID","type":"string"},"url":{"description":"URL for generated video","format":"uri","type":"string"},"watermark_url":{"description":"URL for generated video with watermark, hotlink protection format","format":"uri","type":"string"}},"type":"object"},"KlingVirtualTryOnRequest":{"description":"Request body for a Kling virtual try-on task. `contents` takes exactly one product_image and one person_image.","properties":{"contents":{"description":"Input images. Exactly one item of each type, in any order.","items":{"properties":{"type":{"description":"Image role. One of \"product_image\" (the garment; on-model, mannequin or flat-lay) or \"person_image\" (the person to dress).","type":"string"},"url":{"description":"Publicly accessible image URL. Supports jpg, jpeg, png and webp up to 10MB; the longest side must not exceed 2048px and the shortest side must be greater than 300px.","type":"string"}},"required":["type","url"],"type":"object"},"type":"array"},"options":{"description":"Task options such as the callback address, a custom task ID and the watermark option.","properties":{"callback_url":{"description":"Callback notification URL for task results. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"external_task_id":{"description":"Customized Task ID. Must be unique within a single user account. Ignored: comfy-api drops this field before forwarding; Comfy Router polls on your behalf.","type":"string"},"watermark":{"description":"Whether to generate a watermarked result too. Custom watermarks are not supported.","properties":{"enabled":{"description":"true means generate a watermarked result. Default false.","type":"boolean"}},"type":"object"}},"type":"object"},"settings":{"description":"Controls which parts of the person image are kept. Each field defaults to true.","properties":{"keep_background":{"description":"Keep the original background of the person image. Default true.","type":"boolean"},"keep_face":{"description":"Keep the facial features, expression and hairstyle. Default true.","type":"boolean"},"keep_pose":{"description":"Keep the original pose, body orientation and position. Default true.","type":"boolean"}},"type":"object"}},"required":["contents"],"type":"object"},"Krea3GenerateImageRequest":{"example":{"prompt":"A ceramic coffee mug on a clean studio background","resolution":"1k"},"properties":{"aspect_ratio":{"description":"1:1, 4:5, 3:4, 2:3, 9:16, 5:4, 4:3, 3:2, 16:9 or 21:9. Use with resolution; omit for automatic framing.","type":"string"},"image_urls":{"description":"Input image URLs, up to 8. More than 8 entries is rejected before any fetch (400 on /proxy/krea; Comfy Router's schema check answers 422 first). The image_url returned by uploading the image to POST /proxy/krea/assets (multipart form field `file`) is always accepted. Whether other public https URLs are accepted depends on the environment: where they are not, any link that is not an https URL on the host app-uploads.krea.ai is rejected with 400 saying 'image_urls must be image_url values returned by POST /proxy/krea/assets', so upload the image instead; where they are, any public https image URL is accepted, and a URL that is malformed or not https is rejected with 400 (a URL whose port is numeric but out of range is not caught by this check and can fail with a 502 instead). In that case a request with any image_urls entry that is not an app-uploads.krea.ai link (a public https URL, or a base64 data: URI where those are accepted) is also rejected with 400 before any fetch unless the whole request body is sent as application/json rather than multipart, is valid UTF-8, is at most 25100288 bytes, and carries only the fields this schema declares. For a well-formed https URL in that case, a reference the caller can fix is rejected with 400 naming its host: its host does not resolve or is not publicly reachable when checked before the fetch, it redirects more than the allowed number of times, to a URL that is not https, or to a host that is not publicly reachable, it returns a 4xx other than 408 or 429, it is not an image, it is an image in a format that cannot be read, its image size header is not within the first 2 MiB, or a response with no declared length or chunked encoding ends before its image size header. Any other failure fetching it fails with a 502 error on POST /proxy/krea (Comfy Router answers it with 500 internal_error): a transient DNS, TLS or connection failure, a timeout, an origin 408, 429, 5xx or other non-200 status, or a host that passed that check but does not resolve or is not publicly reachable when the fetch connects. Some of these clear on retry (a resolver error, timeout, dropped connection, an origin answering 5xx, 408 or 429, or a host whose DNS answer switches to a non-public address between the host check and the connection, which on retry can succeed or get the 400 for a non-public host); others fail the same way every time, for example a TLS certificate the fetch does not trust (self-signed, expired or for the wrong host name), or an origin answering a 2xx other than 200 or a 3xx the fetch does not follow (such as 204, 206, 300, 304 or 305, or a 301, 302, 303, 307 or 308 with no Location), so if a retry fails the same way, upload the image instead. A request queued through Comfy Router does not retry such a failure when any of its image_urls is not an app-uploads.krea.ai link, so resubmit it yourself if the cause can clear. Where other URLs are not accepted, an app-uploads.krea.ai link that is not a live upload fails with a 5xx error; where they are, it is rejected with 400 like any other unreachable reference. While a server has not yet learned which applies, any https URL with a host that is not an app-uploads.krea.ai link, public or not, fails with a 503 error that is safe to retry (a queued request is retried on it automatically). A queued request's 400 carries only the generic invalid_input detail, so it shows neither the host nor the wording above, and the queue does not retry it. A queued 400 can come from any field, not only image_urls (for example an unsupported resolution or thinking_mode), so check the other fields first. If they are valid, upload each image to POST /proxy/krea/assets and resubmit with those image_url values and a new Idempotency-Key (or none): reusing the key with a changed body is refused with 409 invalid_input, which says nothing about the images, and reusing it with the same body is answered 201 with the original request_id and Idempotent-Replayed: true, so it does not start a new run, and its result URL returns the same 400 (its status URL answers 200 with error_type invalid_input). Where other public https URLs are accepted, if that resubmit also fails with 400, the image itself is the problem (for example it is not a supported image, or its image size header is not within the first 2 MiB). Where they are not, the same uploaded image fails with a 5xx (500 internal_error on Comfy Router) instead of that 400, and the image is still the problem, so uploading it again does not help. Only the first 2 MiB of each image is read to find its size, so an image whose size information cannot be read inside that window (such as a JPEG with over 2 MiB of embedded metadata, or a paletted PNG whose transparency data, or with none the start of its first image-data chunk, sits past 2 MiB, such as after over 2 MiB of text or color-profile chunks) is rejected with 400 saying its image size header is not within the first 2 MiB, uploaded or not; re-save it without the large metadata, or save a paletted PNG as a non-paletted PNG. Send an internationalized host in its ASCII (punycode) form; a non-ASCII host name is rejected as not existing. Omit for text-to-image.","items":{"type":"string"},"maxItems":8,"type":"array"},"model":{"description":"berry (default, quality) or jam (speed).","type":"string"},"negative_prompt":{"maxLength":1024,"type":"string"},"prompt":{"description":"What to generate. With image_urls, the editing instruction; describe what should change and what should stay the same.","type":"string"},"regional_edit":{"description":"Set true for a local edit that keeps the rest of the image. Needs model berry and at least one image in image_urls.","type":"boolean"},"resolution":{"description":"1k or 2k.","type":"string"},"seed":{"nullable":true,"type":"integer"},"thinking_mode":{"description":"fast (default), high or ultra. High and ultra plan complex edits in more detail and take longer. Ultra needs resolution 2k.","type":"string"}},"required":["prompt","resolution"],"type":"object"},"KreaAsset":{"properties":{"description":{"type":"string"},"height":{"nullable":true,"type":"number"},"id":{"format":"uuid","type":"string"},"image_url":{"format":"uri","type":"string"},"metadata":{"additionalProperties":true,"type":"object"},"mime_type":{"nullable":true,"type":"string"},"size_bytes":{"nullable":true,"type":"number"},"uploaded_at":{"format":"date-time","type":"string"},"width":{"nullable":true,"type":"number"}},"required":["id","image_url","uploaded_at"],"type":"object"},"KreaAssetUploadRequest":{"properties":{"description":{"description":"Optional description for the asset","type":"string"},"file":{"description":"The file to upload (JPEG, PNG, WebP, HEIC, MP4, MOV, WebM, GLB, WAV, MP3). Maximum size: 75MB.","format":"binary","type":"string"}},"required":["file"],"type":"object"},"KreaGenerateImageRequest":{"example":{"aspect_ratio":"1:1","prompt":"a red circle","resolution":"1K"},"properties":{"aspect_ratio":{"description":"Aspect ratio. One of: 1:1, 4:3, 3:2, 16:9, 2.35:1, 4:5, 2:3, 9:16.","enum":["1:1","4:3","3:2","16:9","2.35:1","4:5","2:3","9:16"],"type":"string"},"creativity":{"default":"medium","description":"Prompt interpretation strength: raw=0, low=10, medium=50, high=100.","enum":["raw","low","medium","high"],"type":"string"},"image_style_references":{"description":"Style references to use for the generation","items":{"$ref":"#/components/schemas/KreaImageStyleReference"},"maxItems":10,"type":"array"},"moodboards":{"description":"Moodboards to use for generation. Currently limited to one moodboard.","items":{"$ref":"#/components/schemas/KreaMoodboard"},"maxItems":1,"type":"array"},"prompt":{"type":"string"},"resolution":{"description":"Resolution scale. One of: 1K.","enum":["1K"],"type":"string"},"seed":{"nullable":true,"type":"number"},"styles":{"description":"Styles (typically LoRAs) to use for the generation","items":{"$ref":"#/components/schemas/KreaStyle"},"type":"array"}},"required":["prompt","aspect_ratio","resolution"],"type":"object"},"KreaImageStyleReference":{"properties":{"strength":{"format":"double","maximum":2,"minimum":-2,"type":"number"},"url":{"format":"uri","type":"string"}},"required":["strength"],"type":"object"},"KreaJob":{"properties":{"completed_at":{"format":"date-time","nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"error":{"allOf":[{"$ref":"#/components/schemas/KreaJobError"}]},"job_id":{"format":"uuid","type":"string"},"result":{"allOf":[{"$ref":"#/components/schemas/KreaJobResult"}],"nullable":true},"status":{"description":"Available options: backlogged, queued, scheduled, processing, sampling, intermediate-complete, completed, failed, cancelled","enum":["backlogged","queued","scheduled","processing","sampling","intermediate-complete","completed","failed","cancelled"],"type":"string"}},"required":["job_id","status","created_at","completed_at","result"],"type":"object"},"KreaJobError":{"description":"Set only when status is failed. A cancelled job carries none.","properties":{"code":{"description":"Why the job failed: content_policy, invalid_request, validation_failed, model_unavailable, insufficient_balance, timeout, auto_cancelled, provider_error, internal or node_app_node_failed. Treat an unknown code as internal.","type":"string"},"message":{"description":"Optional. Free-form provider text for provider_error and internal.","type":"string"},"param":{"description":"The request parameter to change, present with invalid_request and validation_failed.","type":"string"}},"required":["code"],"type":"object"},"KreaJobResult":{"properties":{"style_id":{"type":"string"},"urls":{"items":{"format":"uri","type":"string"},"type":"array"}},"type":"object"},"KreaMoodboard":{"properties":{"id":{"format":"uuid","type":"string"},"strength":{"default":0.35,"format":"double","maximum":1.5,"minimum":-0.5,"type":"number"}},"required":["id"],"type":"object"},"KreaStyle":{"properties":{"id":{"type":"string"},"strength":{"format":"double","maximum":2,"minimum":-2,"type":"number"}},"required":["id","strength"],"type":"object"},"LTXAsyncSubmitResponse":{"properties":{"created_at":{"description":"Job creation timestamp (ISO 8601)","type":"string"},"id":{"description":"Unique job identifier used to poll for status","type":"string"}},"type":"object"},"LTXAudio2VideoRequest":{"properties":{"audio_uri":{"description":"Audio driving the generated video, between 2 and 20 seconds (HTTPS URL or base64 data URI)","type":"string"},"image_uri":{"description":"Image to be used as the first frame of the video (HTTPS URL or base64 data URI)","type":"string"},"model":{"description":"Model to use for generation","enum":["ltx-2-5-fast","ltx-2-5-pro"],"type":"string"},"prompt":{"description":"Text description of the desired video content","maxLength":10000,"type":"string"},"resolution":{"description":"Output video resolution","enum":["1920x1080","1080x1920"],"type":"string"}},"required":["audio_uri","model","resolution"],"type":"object"},"LTXImage2VideoRequest":{"properties":{"duration":{"description":"Video duration in seconds (maximum depends on resolution and frame rate)","enum":[2,3,4,5,6,8,10,12,14,16,18,20],"type":"integer"},"fps":{"default":25,"description":"Frame rate in frames per second","enum":[24,25,48,50],"type":"integer"},"generate_audio":{"default":true,"description":"Generate audio for the video","type":"boolean"},"image_uri":{"description":"Image to be used as the first frame of the video (HTTPS URL or base64 data URI)","type":"string"},"last_frame_uri":{"description":"Image to be used as the last frame of the video (HTTPS URL or base64 data URI)","type":"string"},"model":{"description":"Model to use for generation","enum":["ltx-2-5-fast","ltx-2-5-pro"],"type":"string"},"prompt":{"description":"Text description of how the image should be animated","maxLength":10000,"type":"string"},"resolution":{"description":"Output video resolution. The enum is the union over all models; the supported set is per model. Supported pairs: ltx-2-5-fast: 1280x720, 720x1280, 1920x1080, 1080x1920, 2560x1440, 1440x2560, 3840x2160, 2160x3840; ltx-2-5-pro: 1280x720, 720x1280, 1920x1080, 1080x1920. Other (model, resolution) pairs are not supported; the v2 routes reject them with 400. The same matrix is published machine-readably in this property's x-comfy-model-resolutions extension.","enum":["1280x720","720x1280","1920x1080","1080x1920","2560x1440","1440x2560","3840x2160","2160x3840"],"type":"string","x-comfy-model-resolutions":{"ltx-2-5-fast":["1280x720","720x1280","1920x1080","1080x1920","2560x1440","1440x2560","3840x2160","2160x3840"],"ltx-2-5-pro":["1280x720","720x1280","1920x1080","1080x1920"]}}},"required":["image_uri","prompt","model","duration","resolution"],"type":"object"},"LTXJobStatusResponse":{"properties":{"completed_at":{"description":"Job completion timestamp (ISO 8601)","type":"string"},"created_at":{"description":"Job creation timestamp (ISO 8601)","type":"string"},"error":{"description":"Present when status is failed","properties":{"message":{"type":"string"},"type":{"type":"string"}},"type":"object"},"id":{"description":"Unique job identifier","type":"string"},"result":{"description":"Present when status is completed; output URLs expire 24 hours after completion","properties":{"video_url":{"description":"URL of the generated video","type":"string"}},"type":"object"},"status":{"description":"Job status (pending, processing, completed, failed)","type":"string"}},"type":"object"},"LTXText2VideoInputs":{"description":"The LTX text-to-video fields, shared by the v1 `POST /proxy/ltx/v1/text-to-video` and `POST /proxy/ltx/v2/text-to-video` request bodies and the Comfy Router input schema for the `ltx/*` models. See the note above this component for why the two surfaces share properties but not `required`.\n`required` here is the ROUTER-SAFE floor: `model` is absent from it because Router writes the path's model into the body after routervalidate.Guard has already validated the caller's bytes. The v1 wrapper `LTXText2VideoRequest` re-adds it.","example":{"duration":2,"fps":24,"generate_audio":false,"prompt":"A single red maple leaf resting on a plain white background.","resolution":"1280x720"},"properties":{"duration":{"description":"Video duration in seconds (maximum depends on resolution and frame rate)","enum":[2,3,4,5,6,8,10,12,14,16,18,20],"type":"integer"},"fps":{"default":25,"description":"Frame rate in frames per second","enum":[24,25,48,50],"type":"integer"},"generate_audio":{"default":true,"description":"Generate audio for the video","type":"boolean"},"model":{"description":"Model to use for generation. On the Comfy Router route `POST /v2/models/ltx/{model}` this field is supplied from the path and may be omitted. The spellings LTX serves on this operation -- the set Comfy Router addresses as `ltx/\u003cmodel\u003e` -- are ltx-2-5-fast and ltx-2-5-pro; they are written out here rather than constrained to an enum for the reason the comment above gives. Which resolutions each one admits is the `x-comfy-model-resolutions` matrix on the `resolution` property below.","nullable":true,"type":"string"},"prompt":{"description":"Text prompt describing the desired video content","maxLength":10000,"type":"string"},"resolution":{"description":"Output video resolution. The enum is the union over all models; the supported set is per model. Supported pairs: ltx-2-5-fast: 1280x720, 720x1280, 1920x1080, 1080x1920, 2560x1440, 1440x2560, 3840x2160, 2160x3840; ltx-2-5-pro: 1280x720, 720x1280, 1920x1080, 1080x1920. Other (model, resolution) pairs are not supported; the v2 routes reject them with 400. The same matrix is published machine-readably in this property's x-comfy-model-resolutions extension.","enum":["1280x720","720x1280","1920x1080","1080x1920","2560x1440","1440x2560","3840x2160","2160x3840"],"type":"string","x-comfy-model-resolutions":{"ltx-2-5-fast":["1280x720","720x1280","1920x1080","1080x1920","2560x1440","1440x2560","3840x2160","2160x3840"],"ltx-2-5-pro":["1280x720","720x1280","1920x1080","1080x1920"]}}},"required":["prompt","duration","resolution"],"type":"object"},"LTXText2VideoRequest":{"allOf":[{"$ref":"#/components/schemas/LTXText2VideoInputs"},{"properties":{"model":{"description":"Model to use for generation","enum":["ltx-2-5-fast","ltx-2-5-pro"],"type":"string"}},"required":["model"],"type":"object"}],"description":"Request body for the v1 `POST /proxy/ltx/v1/text-to-video` and `POST /proxy/ltx/v2/text-to-video` operations.\nIt composes `LTXText2VideoInputs` rather than restating its fields, and adds back the one field only the v1 surface can demand. `model` is load-bearing: neither route carries a path segment supplying it, so a caller must send it and the published `enum` still describes what the proxy accepts, whereas the Comfy Router route `POST /v2/models/ltx/{model}` supplies it from the path and its input schema must neither require nor enum-constrain it.\nRead the note above `LTXText2VideoInputs` for the full rule and the guards that enforce it.","example":{"duration":2,"fps":24,"generate_audio":false,"model":"ltx-2-5-fast","prompt":"A single red maple leaf resting on a plain white background.","resolution":"1280x720"}},"LTXVideoAlphaGenJobStatusResponse":{"properties":{"completed_at":{"description":"Job completion timestamp (ISO 8601)","type":"string"},"created_at":{"description":"Job creation timestamp (ISO 8601)","type":"string"},"error":{"description":"Present when status is failed","properties":{"message":{"type":"string"},"type":{"type":"string"}},"type":"object"},"id":{"description":"Unique job identifier","type":"string"},"result":{"description":"Present when status is completed; output URLs expire 24 hours after completion","properties":{"cutout_video_url":{"description":"URL of the input video with the matte as its alpha channel, a ProRes 4444 MOV","type":"string"},"matte_video_url":{"description":"URL of the grayscale alpha matte, an MP4 in which white is foreground","type":"string"}},"type":"object"},"status":{"description":"Job status (pending, processing, completed, failed)","type":"string"}},"type":"object"},"LTXVideoAlphaGenRequest":{"description":"Request body for `POST /proxy/ltx/v2/video-alpha-gen`. On Comfy Router this model runs on the queued route only (`POST /v2/models/ltx/ltx-video-alpha-gen/requests`): a job can outlast the time a synchronous call is held, so the synchronous route refuses it.","example":{"video_uri":"https://test-videos.co.uk/vids/sintel/mp4/h264/720/Sintel_720_10s_1MB.mp4"},"properties":{"video_uri":{"description":"Input video as a publicly accessible HTTPS URL or a base64 data URI. H.264 or HEVC in MP4, MOV or MKV, up to 200 MB by URL. At most 3840 pixels on the long side and 2160 on the short side.","type":"string"}},"required":["video_uri"],"type":"object"},"LTXVideoReframePlacement":{"description":"Where the source video sits in the output frame. Send either `anchor`, or `x` and `y` with `width`, `height` or both. Omit `placement` to center the video at the largest size that fits.","properties":{"anchor":{"description":"Edge or corner of the output frame the video is placed against.","enum":["center","top","bottom","left","right","top_left","top_right","bottom_left","bottom_right"],"type":"string"},"height":{"description":"Height of the placed video, as a fraction of the output height.","format":"double","type":"number"},"width":{"description":"Width of the placed video, as a fraction of the output width.","format":"double","type":"number"},"x":{"description":"Left edge of the placed video, as a fraction of the output width.","format":"double","type":"number"},"y":{"description":"Top edge of the placed video, as a fraction of the output height.","format":"double","type":"number"}},"type":"object"},"LTXVideoToVideoHDRJobStatusResponse":{"properties":{"completed_at":{"description":"Job completion timestamp (ISO 8601)","type":"string"},"created_at":{"description":"Job creation timestamp (ISO 8601)","type":"string"},"error":{"description":"Present when status is failed","properties":{"message":{"type":"string"},"type":{"type":"string"}},"type":"object"},"id":{"description":"Unique job identifier","type":"string"},"result":{"description":"Present when status is completed; output URLs expire 24 hours after completion","properties":{"exr_frames_url":{"description":"URL of a ZIP of per-frame OpenEXR images in the requested color space","type":"string"},"video_url":{"description":"URL of the HDR video, a 10-bit HEVC BT.2020/HLG MP4","type":"string"}},"type":"object"},"status":{"description":"Job status (pending, processing, completed, failed)","type":"string"}},"type":"object"},"LTXVideoToVideoHDRRequest":{"description":"Request body for `POST /proxy/ltx/v2/video-to-video-hdr`. On Comfy Router this model runs on the queued route only (`POST /v2/models/ltx/ltx-video-to-video-hdr/requests`): a job can outlast the time a synchronous call is held, so the synchronous route refuses it.","example":{"output_colorspace":"acescg","video_uri":"https://test-videos.co.uk/vids/sintel/mp4/h264/720/Sintel_720_10s_1MB.mp4"},"properties":{"output_colorspace":{"default":"acescg","description":"Color space of the OpenEXR frame sequence at `result.exr_frames_url`. It does not affect `result.video_url`.","enum":["acescg","acescct","srgb_linear","aces2065-1"],"type":"string"},"video_uri":{"description":"Input video as a publicly accessible HTTPS URL or a base64 data URI. H.264 or HEVC in MP4, MOV or MKV, up to 200 MB by URL. Width and height must fit within 3840x2160 in either orientation.","type":"string"}},"required":["video_uri"],"type":"object"},"LTXVideoToVideoReframeRequest":{"description":"Request body for `POST /proxy/ltx/v2/video-to-video-reframe`. On Comfy Router this model runs on the queued route only (`POST /v2/models/ltx/ltx-video-to-video-reframe/requests`): a job can outlast the time a synchronous call is held, so the synchronous route refuses it.","example":{"resolution":"720x1280","video_uri":"https://test-videos.co.uk/vids/sintel/mp4/h264/720/Sintel_720_10s_1MB.mp4"},"properties":{"placement":{"$ref":"#/components/schemas/LTXVideoReframePlacement"},"resolution":{"description":"Target output resolution. The source video is extended to fill this frame.","enum":["720x720","1080x1080","720x900","1080x1350","900x720","1350x1080","720x1280","1080x1920","1280x720","1920x1080"],"type":"string"},"video_uri":{"description":"Input video as a publicly accessible HTTPS URL or a base64 data URI. H.264 or HEVC in MP4, MOV or MKV, up to 200 MB by URL. At most 60 seconds and 1800 frames, with width and height between 64 and 4096 pixels.","type":"string"}},"required":["video_uri","resolution"],"type":"object"},"LTXVideoUpscaleRequest":{"description":"Request body for `POST /proxy/ltx/v2/video-upscale`. On Comfy Router this model runs on the queued route only (`POST /v2/models/ltx/ltx-video-upscale/requests`): a job can outlast the time a synchronous call is held, so the synchronous route refuses it.","example":{"resolution":"1080p","video_uri":"https://test-videos.co.uk/vids/sintel/mp4/h264/720/Sintel_720_10s_1MB.mp4"},"properties":{"resolution":{"description":"Output size. The aspect ratio is kept.","enum":["1080p","4k","8k"],"type":"string"},"video_uri":{"description":"Input video as a publicly accessible HTTPS URL or a base64 data URI. H.264 or HEVC in MP4, MOV or MKV, up to 200 MB by URL. The short side must be at least 480 pixels.","type":"string"}},"required":["video_uri","resolution"],"type":"object"},"LumaAgentsAspectRatio":{"description":"Output aspect ratio. The ray-3.2 video models support the subset 9:16, 3:4, 1:1, 4:3, 16:9, 21:9.","enum":["3:1","2:1","21:9","16:9","3:2","4:3","1:1","3:4","2:3","9:16","1:2","1:3"],"type":"string"},"LumaAgentsError":{"description":"The error object","properties":{"detail":{"description":"The error message","type":"string"}},"type":"object"},"LumaAgentsFailureCode":{"description":"Machine-readable failure code for programmatic handling","enum":["content_moderated","generation_failed","budget_exhausted","output_not_found"],"type":"string"},"LumaAgentsGeneration":{"description":"Generation status and output","properties":{"created_at":{"description":"Creation timestamp","type":"string"},"failure_code":{"allOf":[{"$ref":"#/components/schemas/LumaAgentsFailureCode"}],"description":"Machine-readable failure code, populated only on a FAILED generation. `null` on a successful one.","nullable":true},"failure_reason":{"description":"Human-readable failure description, populated only on a FAILED generation. `null` on a successful one.","nullable":true,"type":"string"},"id":{"description":"Generation identifier","type":"string"},"model":{"description":"Model used","type":"string"},"output":{"items":{"$ref":"#/components/schemas/LumaAgentsGenerationOutput"},"type":"array"},"state":{"$ref":"#/components/schemas/LumaAgentsState"},"type":{"$ref":"#/components/schemas/LumaAgentsGenerationType"}},"type":"object"},"LumaAgentsGenerationOutput":{"description":"A generated output entry","properties":{"type":{"description":"Media type (e.g. image)","type":"string"},"url":{"description":"Presigned URL (1hr expiry)","type":"string"}},"type":"object"},"LumaAgentsGenerationRequest":{"description":"The Luma Agents generation request object","example":{"prompt":"a red circle on a plain white background","type":"image"},"properties":{"aspect_ratio":{"$ref":"#/components/schemas/LumaAgentsAspectRatio"},"image_ref":{"description":"Reference images for style/content guidance. Up to 9 for type 'image', up to 8 for type 'image_edit'.","items":{"$ref":"#/components/schemas/LumaAgentsImageRef"},"type":"array"},"model":{"description":"Model to use. uni-1 / uni-1-max for image generation, ray-3.2 for video generation, editing, and reframing.","type":"string"},"output_format":{"$ref":"#/components/schemas/LumaAgentsOutputFormat"},"prompt":{"description":"Text prompt","type":"string"},"source":{"$ref":"#/components/schemas/LumaAgentsImageRef"},"style":{"$ref":"#/components/schemas/LumaAgentsStyle"},"type":{"$ref":"#/components/schemas/LumaAgentsGenerationType"},"video":{"$ref":"#/components/schemas/LumaAgentsVideoOptions"},"web_search":{"description":"Enable web search grounding","type":"boolean"}},"required":["prompt"],"type":"object"},"LumaAgentsGenerationType":{"description":"The kind of generation to perform. image/image_edit are produced by the uni-1 / uni-1-max models; video/video_edit/video_reframe are produced by the ray-3.2 model.","enum":["image","image_edit","video","video_edit","video_reframe"],"type":"string"},"LumaAgentsImageRef":{"description":"Reference to an image or video. Used for style/content guidance, guided generation, video-edit/video-reframe sources, and guide keyframes. Provide exactly one of generation_id, url, or data.","properties":{"data":{"description":"Base64-encoded image or video data","type":"string"},"generation_id":{"description":"UUID of a prior completed generation to reuse as the source. Used by ray-3.2 video_edit / video_reframe.","type":"string"},"media_type":{"description":"MIME type. Required with data (and with url for video sources, e.g. video/mp4 on video_edit / video_reframe).","type":"string"},"url":{"description":"Publicly accessible image or video URL","type":"string"}},"type":"object"},"LumaAgentsOutputFormat":{"description":"Output image format","enum":["png","jpeg"],"type":"string"},"LumaAgentsState":{"description":"Current state of the generation","enum":["queued","processing","completed","failed"],"type":"string"},"LumaAgentsStyle":{"description":"Style preset","enum":["auto","manga"],"type":"string"},"LumaAgentsVideoDuration":{"description":"Clip duration for ray-3.2 video / video_edit. Defaults to 5s. HDR generation (type video) is restricted to 5s.","enum":["5s","10s"],"type":"string"},"LumaAgentsVideoOptions":{"description":"Video output settings for ray-3.2. Only the fields that affect validation and billing are modelled here; additional fields (edit controls, source_position) are forwarded to Luma untouched.","properties":{"duration":{"$ref":"#/components/schemas/LumaAgentsVideoDuration"},"end_frame":{"allOf":[{"$ref":"#/components/schemas/LumaAgentsImageRef"}],"description":"Ending guide frame. An image seeds image-to-video; a `generation_id` makes the request a backward single-keyframe extend, billed as one 5s block."},"exr_export":{"description":"Not available yet: requests with exr_export=true are rejected with 400 until Luma ships EXR delivery. Will export an EXR file alongside the MP4 (requires hdr true). Rejected for video_reframe.","type":"boolean"},"hdr":{"description":"Render in HDR. Requires 720p/1080p. Rejected for video_reframe.","type":"boolean"},"keyframe_indexes":{"description":"Output-frame positions for `keyframes`, same length; 0–120 for 5s, 0–240 for 10s. Forwarded untouched.","items":{"type":"integer"},"type":"array"},"keyframes":{"description":"Guide-frame images (1–64), mutually exclusive with start_frame/end_frame. Billed at the requested duration; a keyframes request is never a single-keyframe extend.","items":{"$ref":"#/components/schemas/LumaAgentsImageRef"},"type":"array"},"loop":{"description":"Loop the generated clip. Create-only (type video).","type":"boolean"},"resolution":{"$ref":"#/components/schemas/LumaAgentsVideoResolution"},"start_frame":{"allOf":[{"$ref":"#/components/schemas/LumaAgentsImageRef"}],"description":"Starting guide frame. An image seeds image-to-video; a `generation_id` makes the request a forward single-keyframe extend, billed as one 5s block."}},"type":"object"},"LumaAgentsVideoResolution":{"description":"Output resolution for ray-3.2 video. Defaults to 720p. 360p is the draft tier. HDR requires 720p or 1080p.","enum":["360p","540p","720p","1080p"],"type":"string"},"LumaAspectRatio":{"default":"16:9","description":"The aspect ratio of the generation","enum":["1:1","16:9","9:16","4:3","3:4","21:9","9:21"],"example":"16:9","type":"string"},"LumaAssets":{"description":"The assets of the generation","properties":{"image":{"description":"The URL of the image","format":"uri","type":"string"},"progress_video":{"description":"The URL of the progress video","format":"uri","nullable":true,"type":"string"},"video":{"description":"The URL of the video","format":"uri","type":"string"}},"type":"object"},"LumaAudioGenerationRequest":{"description":"The audio generation request object","properties":{"callback_url":{"description":"The callback URL for the audio","format":"uri","type":"string"},"generation_type":{"default":"add_audio","enum":["add_audio"],"type":"string"},"negative_prompt":{"description":"The negative prompt of the audio","type":"string"},"prompt":{"description":"The prompt of the audio","type":"string"}},"type":"object"},"LumaError":{"description":"The error object","example":{"detail":"Invalid API key is provided"},"properties":{"detail":{"description":"The error message","type":"string"}},"type":"object"},"LumaGeneration":{"description":"The generation response object","example":{"assets":{"video":"https://example.com/video.mp4"},"created_at":"2023-06-01T12:00:00Z","failure_reason":null,"generation_type":"video","id":"123e4567-e89b-12d3-a456-426614174000","model":"ray-2","request":{"aspect_ratio":"16:9","duration":"5s","generation_type":"video","keyframes":{"frame0":{"type":"image","url":"https://example.com/image.jpg"},"frame1":{"id":"123e4567-e89b-12d3-a456-426614174002","type":"generation"}},"loop":true,"model":"ray-2","prompt":"A serene lake surrounded by mountains at sunset","resolution":"720p"},"state":"completed"},"properties":{"assets":{"$ref":"#/components/schemas/LumaAssets"},"created_at":{"description":"The date and time when the generation was created","format":"date-time","type":"string"},"failure_reason":{"description":"The reason for the state of the generation","nullable":true,"type":"string"},"generation_type":{"$ref":"#/components/schemas/LumaGenerationType"},"id":{"description":"The ID of the generation","format":"uuid","type":"string"},"model":{"description":"The model used for the generation","type":"string"},"request":{"anyOf":[{"$ref":"#/components/schemas/LumaGenerationRequestEcho"},{"$ref":"#/components/schemas/LumaImageGenerationRequestEcho"},{"$ref":"#/components/schemas/LumaUpscaleVideoGenerationRequest"},{"$ref":"#/components/schemas/LumaAudioGenerationRequest"}],"description":"The request of the generation"},"state":{"$ref":"#/components/schemas/LumaState"}},"type":"object"},"LumaGenerationInputs":{"description":"The generation request object","example":{"aspect_ratio":"16:9","duration":"5s","prompt":"a single red maple leaf resting on a plain white background","resolution":"540p"},"properties":{"aspect_ratio":{"$ref":"#/components/schemas/LumaAspectRatio"},"callback_url":{"description":"The callback URL of the generation, a POST request with Generation object will be sent to the callback URL when the generation is dreaming, completed, or failed","format":"uri","type":"string"},"duration":{"$ref":"#/components/schemas/LumaVideoModelOutputDuration"},"generation_type":{"default":"video","enum":["video"],"type":"string"},"keyframes":{"$ref":"#/components/schemas/LumaKeyframes"},"loop":{"description":"Whether to loop the video","type":"boolean"},"model":{"description":"The video model used for the generation. On the v1 `POST /proxy/luma/generations` route it is required and constrained to the LumaVideoModel enum (`ray-2`, `ray-flash-2`), and both of those models are retired, so the route refuses every video generation. No Luma video model is served through the Comfy Router route `POST /v2/models/luma/{model}`.","nullable":true,"type":"string"},"prompt":{"description":"The prompt of the generation","type":"string"},"resolution":{"$ref":"#/components/schemas/LumaVideoModelOutputResolution"}},"required":["duration","resolution","prompt","aspect_ratio"],"type":"object"},"LumaGenerationReference":{"description":"The generation reference object","example":{"id":"123e4567-e89b-12d3-a456-426614174003","type":"generation"},"properties":{"id":{"description":"The ID of the generation","format":"uuid","type":"string"},"type":{"default":"generation","enum":["generation"],"type":"string"}},"required":["type","id"],"type":"object"},"LumaGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/LumaGenerationInputs"},{"properties":{"model":{"$ref":"#/components/schemas/LumaVideoModel"}},"required":["model"],"type":"object"}],"description":"The v1 `POST /proxy/luma/generations` request body.\nIt composes `LumaGenerationInputs` rather than restating its fields, and adds back the one field only the v1 surface can demand. `model` is the load-bearing one: this route carries no path segment supplying it, so a caller must send it and it must be one of the LumaVideoModel spellings. Both of those spellings (`ray-2`, `ray-flash-2`) are retired, so the route refuses every video generation, and no Luma video model is served through the Comfy Router route `POST /v2/models/luma/{model}`.\nRead the note above `RecraftImageGenerationInputs` for the full rule and the guards that enforce it."},"LumaGenerationRequestEcho":{"description":"The video generation request, echoed back inside the terminal document. Luma serialises every field of its request model, writing an explicit `null` into each one the caller did not set, so read a field's presence from its VALUE rather than from the key.","properties":{"aspect_ratio":{"allOf":[{"$ref":"#/components/schemas/LumaAspectRatio"}],"nullable":true},"callback_url":{"description":"The callback URL of the generation","format":"uri","nullable":true,"type":"string"},"duration":{"allOf":[{"$ref":"#/components/schemas/LumaVideoModelOutputDuration"}],"nullable":true},"generation_type":{"description":"Always `video` when set, echoing the operation. Null when the caller did not send one, for the reason this whole echo object exists.","nullable":true,"type":"string"},"keyframes":{"description":"The keyframes of the generation","nullable":true,"properties":{"frame0":{"allOf":[{"$ref":"#/components/schemas/LumaKeyframe"}],"nullable":true},"frame1":{"allOf":[{"$ref":"#/components/schemas/LumaKeyframe"}],"nullable":true}},"type":"object"},"loop":{"description":"Whether to loop the video","nullable":true,"type":"boolean"},"model":{"allOf":[{"$ref":"#/components/schemas/LumaVideoModel"}],"nullable":true},"prompt":{"description":"The prompt of the generation","nullable":true,"type":"string"},"resolution":{"allOf":[{"$ref":"#/components/schemas/LumaVideoModelOutputResolution"}],"nullable":true}},"type":"object"},"LumaGenerationType":{"enum":["video","image"],"type":"string"},"LumaImageGenerationInputs":{"description":"The image generation request object","example":{"aspect_ratio":"1:1","prompt":"a red circle on a plain white background"},"properties":{"aspect_ratio":{"$ref":"#/components/schemas/LumaAspectRatio"},"callback_url":{"description":"The callback URL for the generation","format":"uri","type":"string"},"character_ref":{"properties":{"identity0":{"$ref":"#/components/schemas/LumaImageIdentity"}},"type":"object"},"generation_type":{"default":"image","enum":["image"],"type":"string"},"image_ref":{"items":{"$ref":"#/components/schemas/LumaImageRef"},"type":"array"},"model":{"description":"The image model used for the generation. On the Comfy Router route `POST /v2/models/luma/{model}` this field is supplied from the path and MUST NOT be sent; on the v1 `POST /proxy/luma/generations/image` route it is constrained to the LumaImageModel enum (`photon-1`, `photon-flash-1`), which the Rewrite enforces by refusing an omitted or unknown model.","nullable":true,"type":"string"},"modify_image_ref":{"$ref":"#/components/schemas/LumaModifyImageRef"},"prompt":{"description":"The prompt of the generation","type":"string"},"style_ref":{"items":{"$ref":"#/components/schemas/LumaImageRef"},"type":"array"}},"type":"object"},"LumaImageGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/LumaImageGenerationInputs"},{"properties":{"model":{"$ref":"#/components/schemas/LumaImageModel"}},"type":"object"}],"description":"The v1 `POST /proxy/luma/generations/image` request body.\nIt composes `LumaImageGenerationInputs` and re-adds the LumaImageModel enum on `model`, which only the v1 surface can demand: this route carries no path segment supplying the model, whereas the Comfy Router route `POST /v2/models/luma/{model}` supplies it from the path and its input schema must not enum-constrain it (BE-11167/BE-12265). `required` stays empty on both surfaces, which is what this operation has always published."},"LumaImageGenerationRequestEcho":{"description":"The image generation request, echoed back inside the terminal document. Luma serialises every field of its request model, writing an explicit `null` into each one the caller did not set, so read a field's presence from its VALUE rather than from the key.","properties":{"aspect_ratio":{"allOf":[{"$ref":"#/components/schemas/LumaAspectRatio"}],"nullable":true},"callback_url":{"description":"The callback URL for the generation","format":"uri","nullable":true,"type":"string"},"character_ref":{"nullable":true,"properties":{"identity0":{"allOf":[{"$ref":"#/components/schemas/LumaImageIdentityEcho"}],"description":"The image identity, echoed back — null when the caller sent none","nullable":true}},"type":"object"},"generation_type":{"description":"Always `image` when set, echoing the operation. Null when the caller did not send one, for the reason this whole echo object exists.","nullable":true,"type":"string"},"image_ref":{"items":{"$ref":"#/components/schemas/LumaImageRefEcho"},"nullable":true,"type":"array"},"model":{"allOf":[{"$ref":"#/components/schemas/LumaImageModel"}],"nullable":true},"modify_image_ref":{"allOf":[{"$ref":"#/components/schemas/LumaModifyImageRefEcho"}],"nullable":true},"prompt":{"description":"The prompt of the generation","nullable":true,"type":"string"},"style_ref":{"items":{"$ref":"#/components/schemas/LumaImageRefEcho"},"nullable":true,"type":"array"}},"type":"object"},"LumaImageIdentity":{"description":"The image identity object","properties":{"images":{"description":"The URLs of the image identity","items":{"format":"uri","type":"string"},"type":"array"}},"type":"object"},"LumaImageIdentityEcho":{"description":"An image identity as it comes BACK inside the terminal document. Same shape as `LumaImageIdentity`, with its members nullable for the reason `LumaImageRefEcho` gives.","properties":{"images":{"description":"The URLs of the image identity","items":{"format":"uri","type":"string"},"nullable":true,"type":"array"}},"type":"object"},"LumaImageModel":{"default":"photon-1","description":"The image model used for the generation","enum":["photon-1","photon-flash-1"],"type":"string"},"LumaImageRef":{"description":"The image reference object","properties":{"url":{"description":"The URL of the image reference","format":"uri","type":"string"},"weight":{"description":"The weight of the image reference","type":"number"}},"type":"object"},"LumaImageRefEcho":{"description":"An image reference as it comes BACK inside the terminal document. Same shape as `LumaImageRef`, with each member nullable because Luma echoes an unset one as an explicit `null` rather than omitting it.","properties":{"url":{"description":"The URL of the image reference","format":"uri","nullable":true,"type":"string"},"weight":{"description":"The weight of the image reference","nullable":true,"type":"number"}},"type":"object"},"LumaImageReference":{"description":"The image object","example":{"type":"image","url":"https://example.com/image.jpg"},"properties":{"type":{"default":"image","enum":["image"],"type":"string"},"url":{"description":"The URL of the image","format":"uri","type":"string"}},"required":["type","url"],"type":"object"},"LumaKeyframe":{"description":"A keyframe can be either a Generation reference, an Image, or a Video","discriminator":{"mapping":{"generation":"#/components/schemas/LumaGenerationReference","image":"#/components/schemas/LumaImageReference"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/LumaGenerationReference"},{"$ref":"#/components/schemas/LumaImageReference"}]},"LumaKeyframes":{"description":"The keyframes of the generation","example":{"frame0":{"type":"image","url":"https://example.com/image.jpg"},"frame1":{"id":"123e4567-e89b-12d3-a456-426614174001","type":"generation"}},"properties":{"frame0":{"$ref":"#/components/schemas/LumaKeyframe"},"frame1":{"$ref":"#/components/schemas/LumaKeyframe"}},"type":"object"},"LumaModifyImageRef":{"description":"The modify image reference object","properties":{"url":{"description":"The URL of the image reference","format":"uri","type":"string"},"weight":{"description":"The weight of the modify image reference","type":"number"}},"type":"object"},"LumaModifyImageRefEcho":{"description":"A modify-image reference as it comes BACK inside the terminal document. Same shape as `LumaModifyImageRef`, with its members nullable for the reason `LumaImageRefEcho` gives.","properties":{"url":{"description":"The URL of the image reference","format":"uri","nullable":true,"type":"string"},"weight":{"description":"The weight of the modify image reference","nullable":true,"type":"number"}},"type":"object"},"LumaState":{"description":"The state of the generation","enum":["queued","dreaming","completed","failed"],"example":"completed","type":"string"},"LumaUpscaleVideoGenerationRequest":{"description":"The upscale generation request object","properties":{"callback_url":{"description":"The callback URL for the upscale","format":"uri","type":"string"},"generation_type":{"default":"upscale_video","enum":["upscale_video"],"type":"string"},"resolution":{"$ref":"#/components/schemas/LumaVideoModelOutputResolution"}},"type":"object"},"LumaVideoModel":{"default":"ray-2","description":"The video model used for the generation","enum":["ray-2","ray-flash-2"],"example":"ray-2","type":"string"},"LumaVideoModelOutputDuration":{"anyOf":[{"enum":["5s","9s"],"type":"string"},{"type":"string"}]},"LumaVideoModelOutputResolution":{"anyOf":[{"enum":["540p","720p","1080p","4k"],"type":"string"},{"type":"string"}]},"MachineStats":{"properties":{"cpu_capacity":{"description":"Total CPU on the machine.","type":"string"},"disk_capacity":{"description":"Total disk capacity on the machine.","type":"string"},"gpu_type":{"description":"The GPU type. eg. NVIDIA Tesla K80","type":"string"},"initial_cpu":{"description":"Initial CPU available before the job starts.","type":"string"},"initial_disk":{"description":"Initial disk available before the job starts.","type":"string"},"initial_ram":{"description":"Initial RAM available before the job starts.","type":"string"},"machine_name":{"description":"Name of the machine.","type":"string"},"memory_capacity":{"description":"Total memory on the machine.","type":"string"},"os_version":{"description":"The operating system version. eg. Ubuntu Linux 20.04","type":"string"},"pip_freeze":{"description":"The pip freeze output","type":"string"},"vram_time_series":{"description":"Time series of VRAM usage.","type":"object"}},"type":"object"},"MeshyAiModel":{"default":"latest","description":"ID of the model to use.","enum":["meshy-6","meshy-7","meshy-7.1","latest"],"type":"string"},"MeshyAnimationCreateResponse":{"properties":{"result":{"description":"The task id of the newly created animation task.","type":"string"}},"required":["result"],"type":"object"},"MeshyAnimationPostProcess":{"description":"Parameters for post-processing animation files.","properties":{"fps":{"default":30,"description":"The target frame rate. Default is 30. Applicable only when operation_type is change_fps.","enum":[24,25,30,60],"type":"integer"},"operation_type":{"description":"The type of operation to perform.","enum":["change_fps","fbx2usdz","extract_armature"],"type":"string"}},"required":["operation_type"],"type":"object"},"MeshyAnimationRequest":{"description":"Request body for Meshy's animation operation (docs.meshy.ai/en/api/animation): apply an animation action to the character produced by a completed rigging task.","example":{"action_id":92,"post_process":{"fps":60,"operation_type":"change_fps"},"rig_task_id":"0193abcd-0000-0000-0000-000000000000"},"properties":{"action_id":{"description":"The identifier of the animation action to apply.","type":"integer"},"post_process":{"$ref":"#/components/schemas/MeshyAnimationPostProcess"},"rig_task_id":{"description":"The id of a successfully completed rigging task (from POST /openapi/v1/rigging). The character from this task will be animated.","type":"string"}},"required":["rig_task_id","action_id"],"type":"object"},"MeshyAnimationResult":{"description":"Contains the output animation URLs if the task SUCCEEDED.","properties":{"animation_fbx_url":{"description":"Downloadable URL for the animation in FBX format.","type":"string"},"animation_glb_url":{"description":"Downloadable URL for the animation in GLB format.","type":"string"},"processed_animation_fps_fbx_url":{"description":"Downloadable URL for the animation with changed FPS in FBX format.","type":"string"},"processed_armature_fbx_url":{"description":"Downloadable URL for the processed armature in FBX format.","type":"string"},"processed_usdz_url":{"description":"Downloadable URL for the processed animation in USDZ format.","type":"string"}},"type":"object"},"MeshyAnimationTask":{"properties":{"created_at":{"description":"Timestamp of when the task was created, in milliseconds.","format":"int64","type":"integer"},"expires_at":{"description":"Timestamp of when the task result expires, in milliseconds.","format":"int64","type":"integer"},"finished_at":{"description":"Timestamp of when the task was finished, in milliseconds. 0 if not finished.","format":"int64","type":"integer"},"id":{"description":"Unique identifier for the task.","type":"string"},"preceding_tasks":{"description":"The count of preceding tasks. Only meaningful when status is PENDING.","type":"integer"},"progress":{"description":"Progress of the task (0-100).","maximum":100,"minimum":0,"type":"integer"},"result":{"$ref":"#/components/schemas/MeshyAnimationResult"},"started_at":{"description":"Timestamp of when the task was started, in milliseconds. 0 if not started.","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/MeshyTaskStatus"},"task_error":{"$ref":"#/components/schemas/MeshyTaskError"},"type":{"description":"Type of the Animation task.","enum":["animate"],"type":"string"}},"required":["id","status"],"type":"object"},"MeshyArtStyle":{"default":"realistic","description":"Describe your desired art style of the object.","enum":["realistic","sculpture"],"type":"string"},"MeshyGenerationAiModel":{"default":"latest","description":"ID of the model to use. meshy-t2.5 requires model_type smart-topology.","enum":["meshy-6","meshy-7","meshy-7.1","meshy-t2.5","latest"],"type":"string"},"MeshyImageTo3DCreateResponse":{"properties":{"result":{"description":"The task id of the newly created Image to 3D task.","type":"string"}},"required":["result"],"type":"object"},"MeshyImageTo3DModelUrls":{"description":"Downloadable URLs to the 3D model files generated by Meshy.","properties":{"fbx":{"description":"Downloadable URL to the FBX file.","type":"string"},"glb":{"description":"Downloadable URL to the GLB file.","type":"string"},"mtl":{"description":"Downloadable URL to the MTL file.","type":"string"},"obj":{"description":"Downloadable URL to the OBJ file.","type":"string"},"pre_remeshed_glb":{"description":"Downloadable URL to the original GLB output before remeshing. Available only when should_remesh and save_pre_remeshed_model are both true.","type":"string"},"usdz":{"description":"Downloadable URL to the USDZ file.","type":"string"}},"type":"object"},"MeshyImageTo3DRequest":{"properties":{"ai_model":{"$ref":"#/components/schemas/MeshyGenerationAiModel"},"enable_pbr":{"default":false,"description":"Generate PBR Maps (metallic, roughness, normal) in addition to the base color.","type":"boolean"},"geometry_resolution":{"default":"standard","description":"Geometry resolution of the generated mesh. 2k and 4k run the Ultra pass for finer surface detail. 2k and 4k require ai_model meshy-7.1 or latest.","enum":["standard","2k","4k"],"type":"string"},"image_url":{"description":"Provide an image for Meshy to use in model creation. Supports .jpg, .jpeg, .png formats or base64-encoded data URI.","type":"string"},"is_a_t_pose":{"default":false,"description":"Deprecated. Use pose_mode instead. Whether to generate the model in an A/T pose.","type":"boolean"},"model_type":{"default":"standard","description":"Specify the type of 3D mesh generation.\n- standard: Regular high-detail 3D mesh generation.\n- lowpoly: Generates low-poly mesh optimized for cleaner polygons.\n- smart-topology: Game-ready triangle mesh generated directly at target_polycount. Requires ai_model meshy-t2.5. Only topology triangle is accepted, target_polycount is 100 to 30,000 (default 15,000), and should_remesh, save_pre_remeshed_model and geometry_resolution are ignored.\nWhen lowpoly is selected, ai_model, topology, target_polycount, should_remesh, save_pre_remeshed_model are ignored.\n","enum":["standard","lowpoly","smart-topology"],"type":"string"},"moderation":{"default":false,"description":"When true, input content will be screened for potentially harmful content.","type":"boolean"},"pose_mode":{"$ref":"#/components/schemas/MeshyPoseMode"},"save_pre_remeshed_model":{"default":false,"description":"When true, stores an extra GLB file before the remesh phase completes. Only takes effect when should_remesh is true.","type":"boolean"},"should_remesh":{"default":true,"description":"Controls whether to enable the remesh phase. When false, returns highest-precision triangular mesh.","type":"boolean"},"should_texture":{"default":true,"description":"Determines if textures are generated. When false, provides a mesh without textures.","type":"boolean"},"symmetry_mode":{"$ref":"#/components/schemas/MeshySymmetryMode"},"target_polycount":{"default":30000,"description":"Specify the target number of polygons in the generated model. Valid range is 100 to 300,000, or 100 to 30,000 with model_type smart-topology.","maximum":300000,"minimum":100,"type":"integer"},"texture_image_url":{"description":"Provide a 2d image to guide the texturing process. Supports .jpg, .jpeg, .png formats or base64-encoded data URI.","type":"string"},"texture_prompt":{"description":"Provide a text prompt to guide the texturing process. Maximum 600 characters.","maxLength":600,"type":"string"},"texture_resolution":{"default":"2k","description":"Texture resolution of the generated textures. One of 2k, 4k or 8k. 4k and 8k require ai_model meshy-6, meshy-7, meshy-7.1 or latest. Only applies when should_texture is true.","type":"string"},"topology":{"$ref":"#/components/schemas/MeshyTopology"},"ultra_mode":{"default":false,"deprecated":true,"description":"Deprecated. Use geometry_resolution instead; true is equivalent to geometry_resolution 2k. Only supported when ai_model is meshy-7, meshy-7.1 or latest and model_type is standard. The exception is meshy-7, where geometry_resolution 2k requires meshy-7.1 or latest, so on meshy-7 ultra_mode true is the way to request the Ultra pass.","type":"boolean"}},"required":["image_url"],"type":"object"},"MeshyImageTo3DTask":{"properties":{"created_at":{"description":"Timestamp of when the task was created, in milliseconds.","type":"integer"},"expires_at":{"description":"Timestamp of when the task result expires, in milliseconds.","type":"integer"},"finished_at":{"description":"Timestamp of when the task was finished, in milliseconds. 0 if not finished.","type":"integer"},"id":{"description":"Unique identifier for the task.","type":"string"},"model_urls":{"$ref":"#/components/schemas/MeshyImageTo3DModelUrls"},"preceding_tasks":{"description":"The count of preceding tasks. Only meaningful when status is PENDING.","type":"integer"},"progress":{"description":"Progress of the task. 0 if not started, 100 when succeeded.","maximum":100,"minimum":0,"type":"integer"},"started_at":{"description":"Timestamp of when the task was started, in milliseconds. 0 if not started.","type":"integer"},"status":{"$ref":"#/components/schemas/MeshyTaskStatus"},"task_error":{"$ref":"#/components/schemas/MeshyTaskError"},"texture_image_url":{"description":"Downloadable URL to the texture image that was used to guide the texturing process.","type":"string"},"texture_prompt":{"description":"The text prompt that was used to guide the texturing process.","type":"string"},"texture_urls":{"description":"An array of texture URL objects that are generated from the task.","items":{"$ref":"#/components/schemas/MeshyTextureUrls"},"type":"array"},"thumbnail_url":{"description":"Downloadable URL to the thumbnail image of the model file.","type":"string"},"type":{"description":"Type of the Image to 3D task.","enum":["image-to-3d"],"type":"string"}},"required":["id","status"],"type":"object"},"MeshyModelType":{"default":"standard","description":"Specify the type of 3D mesh generation.\n- standard: Regular high-detail 3D mesh generation.\n- smart-topology: Game-ready triangle mesh generated directly at target_polycount. Requires ai_model meshy-t2.5. Only topology triangle is accepted, target_polycount is 100 to 30,000 (default 15,000), and should_remesh and geometry_resolution are ignored.\n","enum":["standard","smart-topology"],"type":"string"},"MeshyModelUrls":{"description":"Downloadable URLs to the textured 3D model files generated by Meshy.","properties":{"fbx":{"description":"Downloadable URL to the FBX file.","type":"string"},"glb":{"description":"Downloadable URL to the GLB file.","type":"string"},"mtl":{"description":"Downloadable URL to the MTL file.","type":"string"},"obj":{"description":"Downloadable URL to the OBJ file.","type":"string"},"usdz":{"description":"Downloadable URL to the USDZ file.","type":"string"}},"type":"object"},"MeshyMultiImageTo3DCreateResponse":{"properties":{"result":{"description":"The task id of the newly created Multi-Image to 3D task.","type":"string"}},"required":["result"],"type":"object"},"MeshyMultiImageTo3DRequest":{"properties":{"ai_model":{"$ref":"#/components/schemas/MeshyAiModel"},"enable_pbr":{"default":false,"description":"Generate PBR Maps (metallic, roughness, normal) in addition to the base color.","type":"boolean"},"geometry_resolution":{"default":"standard","description":"Geometry resolution of the generated mesh. 2k runs the Ultra pass for finer surface detail and requires ai_model meshy-7.1 or latest. 4k is not available for multi-image input.","enum":["standard","2k"],"type":"string"},"image_urls":{"description":"Provide 1 to 4 images for Meshy to use in model creation. All images should depict the same object from different angles.","items":{"type":"string"},"maxItems":4,"minItems":1,"type":"array"},"is_a_t_pose":{"default":false,"description":"Deprecated. Use pose_mode instead. Whether to generate the model in an A/T pose.","type":"boolean"},"moderation":{"default":false,"description":"When true, input content will be screened for potentially harmful content.","type":"boolean"},"pose_mode":{"$ref":"#/components/schemas/MeshyPoseMode"},"save_pre_remeshed_model":{"default":false,"description":"When true, stores an extra GLB file before the remesh phase completes. Only takes effect when should_remesh is true.","type":"boolean"},"should_remesh":{"default":true,"description":"Controls whether to enable the remesh phase. When false, returns highest-precision triangular mesh.","type":"boolean"},"should_texture":{"default":true,"description":"Determines if textures are generated. When false, provides a mesh without textures.","type":"boolean"},"symmetry_mode":{"$ref":"#/components/schemas/MeshySymmetryMode"},"target_polycount":{"default":30000,"description":"Specify the target number of polygons in the generated model. Valid range is 100 to 300,000.","maximum":300000,"minimum":100,"type":"integer"},"texture_image_url":{"description":"Provide a 2d image to guide the texturing process. Supports .jpg, .jpeg, .png formats or base64-encoded data URI.","type":"string"},"texture_prompt":{"description":"Provide a text prompt to guide the texturing process. Maximum 600 characters.","maxLength":600,"type":"string"},"texture_resolution":{"default":"2k","description":"Texture resolution of the generated textures. One of 2k, 4k or 8k. 4k and 8k require ai_model meshy-6, meshy-7, meshy-7.1 or latest. Only applies when should_texture is true.","type":"string"},"topology":{"$ref":"#/components/schemas/MeshyTopology"}},"required":["image_urls"],"type":"object"},"MeshyMultiImageTo3DTask":{"properties":{"created_at":{"description":"Timestamp of when the task was created, in milliseconds.","type":"integer"},"expires_at":{"description":"Timestamp of when the task result expires, in milliseconds.","type":"integer"},"finished_at":{"description":"Timestamp of when the task was finished, in milliseconds. 0 if not finished.","type":"integer"},"id":{"description":"Unique identifier for the task.","type":"string"},"model_urls":{"$ref":"#/components/schemas/MeshyImageTo3DModelUrls"},"preceding_tasks":{"description":"The count of preceding tasks. Only meaningful when status is PENDING.","type":"integer"},"progress":{"description":"Progress of the task. 0 if not started, 100 when succeeded.","maximum":100,"minimum":0,"type":"integer"},"started_at":{"description":"Timestamp of when the task was started, in milliseconds. 0 if not started.","type":"integer"},"status":{"$ref":"#/components/schemas/MeshyTaskStatus"},"task_error":{"$ref":"#/components/schemas/MeshyTaskError"},"texture_prompt":{"description":"The text prompt that was used to guide the texturing process.","type":"string"},"texture_urls":{"description":"An array of texture URL objects that are generated from the task.","items":{"$ref":"#/components/schemas/MeshyTextureUrls"},"type":"array"},"thumbnail_url":{"description":"Downloadable URL to the thumbnail image of the model file.","type":"string"},"type":{"description":"Type of the Multi-Image to 3D task.","enum":["multi-image-to-3d"],"type":"string"}},"required":["id","status"],"type":"object"},"MeshyPoseMode":{"description":"Specify the pose mode for the generated model.","enum":["a-pose","t-pose",""],"type":"string"},"MeshyReliefCreateResponse":{"properties":{"result":{"description":"The task id of the newly created Relief task.","type":"string"}},"required":["result"],"type":"object"},"MeshyReliefModelUrls":{"description":"Downloadable URLs to the relief model files, one per requested format. Empty for a depth-map-only task.","properties":{"3mf":{"description":"Downloadable URL to the 3MF file.","type":"string"},"fbx":{"description":"Downloadable URL to the FBX file.","type":"string"},"glb":{"description":"Downloadable URL to the GLB file, in meters.","type":"string"},"mtl":{"description":"Downloadable URL to the MTL material file for the OBJ file.","type":"string"},"obj":{"description":"Downloadable URL to the OBJ file.","type":"string"},"stl":{"description":"Downloadable URL to the binary STL file, in millimeters.","type":"string"},"usdz":{"description":"Downloadable URL to the USDZ file.","type":"string"}},"type":"object"},"MeshyReliefRequest":{"description":"Request body for Meshy's relief operation (docs.meshy.ai/en/api/relief): turn one image into a printable relief model and a depth map. The same schema serves the v1 /proxy route and the Comfy Router route, and the body is forwarded unchanged. Relief tasks cannot be the input of other Meshy operations.","example":{"image_url":"https://example.invalid/meshy/relief/logo.png","variant":"low"},"properties":{"base_thickness_mm":{"description":"Base plate thickness in millimeters, 0.1 to 10. With remove_base true, omit it or send 0.","maximum":10,"minimum":0,"type":"number"},"bend_angle":{"default":60,"description":"Bend angle in degrees. Below 1 the relief stays flat.","maximum":360,"minimum":0,"type":"number"},"bend_axis":{"description":"`xz` (default, bends the left and right edges) or `yz` (bends the top and bottom edges). Applies only when bend_mode is convex or concave.","type":"string"},"bend_mode":{"description":"`off` (default), `convex` or `concave`.","type":"string"},"carving_depth_mm":{"description":"Carving depth in millimeters. The default is 6 for variant high and 3 for variant low.","maximum":60,"minimum":0,"type":"number"},"carving_mode":{"description":"`emboss` (default) or `engrave`.","type":"string"},"color_mapping":{"default":false,"description":"Color the model from the image. GLB, OBJ, FBX and USDZ carry the color; STL and 3MF stay white. The cost does not change.","type":"boolean"},"image_url":{"description":"A public URL or data URI of a jpg, jpeg, png or webp image. At most 20 MB and at least 32 x 32 pixels. Transparent areas are filled with black.","type":"string"},"mesh_resolution":{"default":1024,"description":"Points along the longer side. Larger values give much larger files (about 150 MB GLB and 300 MB STL at 2048).","maximum":2048,"minimum":512,"type":"integer"},"removal_threshold":{"default":0.01,"description":"Background removal threshold. Applies only when remove_base is true.","maximum":1,"minimum":0.01,"type":"number"},"remove_base":{"default":false,"description":"Cut away the background so the relief has no base plate.","type":"boolean"},"should_generate_model":{"default":true,"description":"Set to false for a depth map only, with no model and no preview. The cost does not change.","type":"boolean"},"size_mm":{"default":60,"description":"Length of the longer side in millimeters.","maximum":250,"minimum":20,"type":"number"},"target_formats":{"description":"The model formats to generate. One or more of glb, obj, fbx, stl, usdz and 3mf. The default is glb and stl.","items":{"type":"string"},"type":"array"},"variant":{"description":"`low` (default) gives slight depth and finer detail, for laser or CNC work. `high` gives deeper, sculptural relief, for 3D printing. It also sets the default carving_depth_mm.","type":"string"}},"required":["image_url"],"type":"object"},"MeshyReliefTask":{"properties":{"consumed_credits":{"description":"Meshy credits the task used. 0 for a failed task.","type":"integer"},"created_at":{"description":"Timestamp of when the task was created, in milliseconds.","format":"int64","type":"integer"},"depth_map_url":{"description":"Downloadable URL to the 2k 16-bit grayscale depth map PNG. The values are relative, not millimeters.","type":"string"},"expires_at":{"description":"Timestamp of when the task result expires, in milliseconds. 0 if not finished.","format":"int64","type":"integer"},"finished_at":{"description":"Timestamp of when the task was finished, in milliseconds. 0 if not finished.","format":"int64","type":"integer"},"id":{"description":"Unique identifier for the task.","type":"string"},"model_urls":{"$ref":"#/components/schemas/MeshyReliefModelUrls"},"preceding_tasks":{"description":"The count of preceding tasks. Only meaningful when status is PENDING.","type":"integer"},"progress":{"description":"Progress of the task. 0 if not started, 100 when succeeded.","maximum":100,"minimum":0,"type":"integer"},"started_at":{"description":"Timestamp of when the task was started, in milliseconds. 0 if not started.","format":"int64","type":"integer"},"status":{"description":"PENDING, IN_PROGRESS, SUCCEEDED or FAILED.","type":"string"},"task_error":{"allOf":[{"$ref":"#/components/schemas/MeshyTaskError"}],"nullable":true},"texture_urls":{"description":"Texture URLs. Present only with color_mapping true.","items":{"$ref":"#/components/schemas/MeshyTextureUrls"},"type":"array"},"thumbnail_url":{"description":"Downloadable URL to the preview image. Empty for a depth-map-only task.","type":"string"},"type":{"description":"Type of the task. Always relief.","type":"string"}},"required":["id","status"],"type":"object"},"MeshyRemeshCreateResponse":{"properties":{"result":{"description":"The id of the newly created remesh task.","type":"string"}},"required":["result"],"type":"object"},"MeshyRemeshModelUrls":{"description":"Downloadable URLs to the remeshed 3D model files.","properties":{"blend":{"description":"Downloadable URL to the Blender file.","type":"string"},"fbx":{"description":"Downloadable URL to the FBX file.","type":"string"},"glb":{"description":"Downloadable URL to the GLB file.","type":"string"},"obj":{"description":"Downloadable URL to the OBJ file.","type":"string"},"stl":{"description":"Downloadable URL to the STL file.","type":"string"},"usdz":{"description":"Downloadable URL to the USDZ file.","type":"string"}},"type":"object"},"MeshyRemeshRequest":{"description":"Request body for Meshy's remesh operation (docs.meshy.ai/en/api/remesh): re-topologise or re-format an existing mesh. Supply exactly one of input_task_id or model_url; Meshy requires no single field, so the only structural narrowing is that an empty body is refused.","example":{"input_task_id":"0193abcd-0000-0000-0000-000000000000","origin_at":"bottom","resize_height":1,"target_formats":["glb","fbx"],"target_polycount":50000,"topology":"quad"},"minProperties":1,"oneOf":[{"required":["input_task_id"]},{"required":["model_url"]}],"properties":{"convert_format_only":{"default":false,"description":"If true, only changes the format of the input model file, ignoring other inputs like topology, resize_height, and target_polycount.","type":"boolean"},"input_task_id":{"description":"The ID of the completed Image to 3D or Text to 3D task you wish to remesh. Required if model_url is not provided.","type":"string"},"model_url":{"description":"A publicly accessible URL or data URI to a 3D model. Supported formats glb, gltf, obj, fbx, stl. Required if input_task_id is not provided.","type":"string"},"origin_at":{"description":"Position of the origin.","enum":["bottom","center",""],"type":"string"},"resize_height":{"default":0,"description":"Resize the model to a certain height measured in meters. 0 means no resizing.","type":"number"},"target_formats":{"default":["glb"],"description":"A list of target formats for the remeshed model.","items":{"enum":["glb","fbx","obj","usdz","blend","stl"],"type":"string"},"type":"array"},"target_polycount":{"default":30000,"description":"Specify the target number of polygons in the generated model. Valid range is 100 to 300,000.","maximum":300000,"minimum":100,"type":"integer"},"topology":{"$ref":"#/components/schemas/MeshyTopology"}},"type":"object"},"MeshyRemeshTask":{"properties":{"created_at":{"description":"Timestamp of when the task was created, in milliseconds.","format":"int64","type":"integer"},"finished_at":{"description":"Timestamp of when the task was finished, in milliseconds. 0 if not finished.","format":"int64","type":"integer"},"id":{"description":"Unique identifier for the task.","type":"string"},"model_urls":{"$ref":"#/components/schemas/MeshyRemeshModelUrls"},"preceding_tasks":{"description":"The count of preceding tasks. Only meaningful when status is PENDING.","type":"integer"},"progress":{"description":"Progress of the task. 0 if not started, 100 when succeeded.","maximum":100,"minimum":0,"type":"integer"},"started_at":{"description":"Timestamp of when the task was started, in milliseconds. 0 if not started.","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/MeshyRemeshTaskStatus"},"task_error":{"allOf":[{"$ref":"#/components/schemas/MeshyTaskError"}],"nullable":true},"type":{"description":"Type of the Remesh task.","enum":["remesh"],"type":"string"}},"required":["id","status"],"type":"object"},"MeshyRemeshTaskStatus":{"description":"Status of the remesh task.","enum":["PENDING","PROCESSING","SUCCEEDED","FAILED"],"type":"string"},"MeshyRetextureAiModel":{"default":"latest","description":"ID of the model to use. meshy-n1 textures from one to four reference images only and gives one 2k base color map.","enum":["meshy-6","meshy-7","meshy-n1","latest"],"type":"string"},"MeshyRetextureCreateResponse":{"properties":{"result":{"description":"The task id of the newly created Retexture task.","type":"string"}},"required":["result"],"type":"object"},"MeshyRetextureModelUrls":{"description":"Downloadable URLs to the textured 3D model files.","properties":{"fbx":{"description":"Downloadable URL to the FBX file.","type":"string"},"glb":{"description":"Downloadable URL to the GLB file.","type":"string"},"mtl":{"description":"Downloadable URL to the MTL material file for the OBJ file.","type":"string"},"obj":{"description":"Downloadable URL to the OBJ file.","type":"string"},"stl":{"description":"Downloadable URL to the STL file.","type":"string"},"usdz":{"description":"Downloadable URL to the USDZ file.","type":"string"}},"type":"object"},"MeshyRetextureRequest":{"properties":{"ai_model":{"$ref":"#/components/schemas/MeshyRetextureAiModel"},"enable_original_uv":{"default":true,"description":"Use the original UV of the model instead of generating new UVs.","type":"boolean"},"enable_pbr":{"default":false,"description":"Generate PBR Maps (metallic, roughness, normal) in addition to the base color. meshy-n1 does not support PBR maps.","type":"boolean"},"image_style_url":{"description":"A 2d image to guide the texturing process. Supports jpg, jpeg, png formats or base64-encoded data URI. Required if text_style_prompt is not provided. With meshy-n1 this image is the front view.","type":"string"},"input_task_id":{"description":"The ID of the completed Image to 3D or Text to 3D task you wish to retexture. Required if model_url is not provided.","type":"string"},"model_url":{"description":"A publicly accessible URL or Data URI to a 3D model. Supported formats glb, gltf, obj, fbx, stl. Required if input_task_id is not provided.","type":"string"},"multiview_image_urls":{"description":"One to four images of the same object. The first image is the front view. Requires ai_model meshy-7 or meshy-n1. Do not send with text_style_prompt or image_style_url.","items":{"type":"string"},"maxItems":4,"minItems":1,"type":"array"},"text_style_prompt":{"description":"Describe your desired texture style of the object using text. Maximum 600 characters. Required if image_style_url is not provided.","maxLength":600,"type":"string"},"texture_resolution":{"default":"2k","description":"Texture resolution of the generated textures. One of 2k, 4k or 8k. 4k and 8k require ai_model meshy-6, meshy-7 or latest. meshy-n1 supports 2k only.","type":"string"}},"type":"object"},"MeshyRetextureTask":{"properties":{"created_at":{"description":"Timestamp of when the task was created, in milliseconds.","type":"integer"},"expires_at":{"description":"Timestamp of when the task result expires, in milliseconds.","type":"integer"},"finished_at":{"description":"Timestamp of when the task was finished, in milliseconds. 0 if not finished.","type":"integer"},"id":{"description":"Unique identifier for the task.","type":"string"},"image_style_url":{"description":"The image input that was used to create the texturing task.","type":"string"},"model_urls":{"$ref":"#/components/schemas/MeshyRetextureModelUrls"},"multiview_image_urls":{"description":"The reference images that were used to create the texturing task.","items":{"type":"string"},"type":"array"},"preceding_tasks":{"description":"The count of preceding tasks. Only meaningful when status is PENDING.","type":"integer"},"progress":{"description":"Progress of the task. 0 if not started, 100 when succeeded.","maximum":100,"minimum":0,"type":"integer"},"started_at":{"description":"Timestamp of when the task was started, in milliseconds. 0 if not started.","type":"integer"},"status":{"$ref":"#/components/schemas/MeshyTaskStatus"},"task_error":{"allOf":[{"$ref":"#/components/schemas/MeshyTaskError"}],"nullable":true},"text_style_prompt":{"description":"The text prompt that was used to create the texturing task.","type":"string"},"texture_urls":{"description":"An array of texture URL objects that are generated from the task.","items":{"$ref":"#/components/schemas/MeshyTextureUrls"},"type":"array"},"thumbnail_url":{"description":"Downloadable URL to the thumbnail image of the model file.","type":"string"},"type":{"description":"Type of the Retexture task.","enum":["retexture"],"type":"string"}},"required":["id","status"],"type":"object"},"MeshyRiggingBasicAnimations":{"description":"Contains URLs for default animations.","properties":{"running_armature_glb_url":{"description":"Downloadable URL for running animation armature in GLB format.","type":"string"},"running_fbx_url":{"description":"Downloadable URL for running animation in FBX format (with skin).","type":"string"},"running_glb_url":{"description":"Downloadable URL for running animation in GLB format (with skin).","type":"string"},"walking_armature_glb_url":{"description":"Downloadable URL for walking animation armature in GLB format.","type":"string"},"walking_fbx_url":{"description":"Downloadable URL for walking animation in FBX format (with skin).","type":"string"},"walking_glb_url":{"description":"Downloadable URL for walking animation in GLB format (with skin).","type":"string"}},"type":"object"},"MeshyRiggingCreateResponse":{"properties":{"result":{"description":"The task id of the newly created rigging task.","type":"string"}},"required":["result"],"type":"object"},"MeshyRiggingRequest":{"description":"Request body for Meshy's rigging operation (docs.meshy.ai/en/api/rigging): fit a skeleton to an existing humanoid mesh. Supply exactly one of input_task_id or model_url; Meshy requires no single field, so the only structural narrowing is that an empty body is refused.","example":{"height_meters":1.8,"input_task_id":"0193abcd-0000-0000-0000-000000000000"},"minProperties":1,"oneOf":[{"required":["input_task_id"]},{"required":["model_url"]}],"properties":{"height_meters":{"default":1.7,"description":"The approximate height of the character model in meters. Must be a positive number.","exclusiveMinimum":true,"minimum":0,"type":"number"},"include_fingers":{"default":false,"description":"Whether to add finger bones to the character's hands. Biped rig only; with texture_image_url, a quadruped rig, or a quad-topology input_task_id, Meshy refuses the request with 400, and a model it can rig only without fingers with 422 (not charged). Finger bones don't change the credit cost. Defaults to false.","type":"boolean"},"input_task_id":{"description":"The input task that needs to be rigged. Required if model_url is not provided.","type":"string"},"model_url":{"description":"A publicly accessible URL or Data URI to a textured humanoid GLB file. Required if input_task_id is not provided.","type":"string"},"skeleton_template":{"default":"meshyrig","description":"The skeleton for the rigged character, setting its bone names and hierarchy. Biped rig only. With a value other than meshyrig (or include_fingers true), output files are in meters and use that skeleton's bones instead of the default 24-bone meshyrig files in centimeters; an animation task made from this rig uses the same skeleton. Any other value is refused. Defaults to meshyrig.","enum":["meshyrig","mixamo","ue5_mannequin","max_biped","unity_humanoid","maya_human_ik","blender_rigify_basic_human","cc5_hd_neutral_base","daz_genesis9"],"type":"string"},"texture_image_url":{"description":"The model's UV-unwrapped base color texture image. Publicly accessible URL or Data URI. Supports .png format.","type":"string"}},"type":"object"},"MeshyRiggingResult":{"description":"Contains the output asset URLs if the task SUCCEEDED.","properties":{"basic_animations":{"$ref":"#/components/schemas/MeshyRiggingBasicAnimations"},"rigged_character_fbx_url":{"description":"Downloadable URL for the rigged character in FBX format.","type":"string"},"rigged_character_glb_url":{"description":"Downloadable URL for the rigged character in GLB format.","type":"string"}},"type":"object"},"MeshyRiggingTask":{"properties":{"created_at":{"description":"Timestamp of when the task was created, in milliseconds.","format":"int64","type":"integer"},"expires_at":{"description":"Timestamp of when the task result expires, in milliseconds.","format":"int64","type":"integer"},"finished_at":{"description":"Timestamp of when the task was finished, in milliseconds. 0 if not finished.","format":"int64","type":"integer"},"id":{"description":"Unique identifier for the task.","type":"string"},"preceding_tasks":{"description":"The count of preceding tasks. Only meaningful when status is PENDING.","type":"integer"},"progress":{"description":"Progress of the task (0-100). 0 if not started, 100 if succeeded.","maximum":100,"minimum":0,"type":"integer"},"result":{"$ref":"#/components/schemas/MeshyRiggingResult"},"started_at":{"description":"Timestamp of when the task was started, in milliseconds. 0 if not started.","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/MeshyTaskStatus"},"task_error":{"allOf":[{"$ref":"#/components/schemas/MeshyTaskError"}],"nullable":true},"type":{"description":"Type of the Rigging task.","enum":["rig"],"type":"string"}},"required":["id","status"],"type":"object"},"MeshySymmetryMode":{"default":"auto","description":"Controls symmetry behavior during model generation.","enum":["off","auto","on"],"type":"string"},"MeshyTaskError":{"description":"Error object that contains the error message if the task failed.","properties":{"message":{"description":"Detailed error message.","type":"string"}},"type":"object"},"MeshyTaskStatus":{"description":"Status of the task.","enum":["PENDING","IN_PROGRESS","SUCCEEDED","FAILED","CANCELED"],"type":"string"},"MeshyTextTo3DCreateResponse":{"properties":{"result":{"description":"The task id of the newly created Text to 3D task.","type":"string"}},"required":["result"],"type":"object"},"MeshyTextTo3DPreviewInputs":{"description":"The meshy text-to-3d PREVIEW fields, shared by the `preview` branch of the v1 `POST /proxy/meshy/openapi/v2/text-to-3d` body and the `preview` branch of the Comfy Router input schema for the `meshy/*` models.\nThe two surfaces share every property and both `required` entries. They differ only in `ai_model`: the v1 body restates it as a fixed enum, because that route carries no path segment to supply the model from, while on the Comfy Router route the path supplies it.","properties":{"ai_model":{"description":"The Meshy model to run. On the Comfy Router route this is supplied by the path (`/v2/models/meshy/{model}`) and may be omitted or sent as null; Router writes the path's model here after validation. On the v1 /proxy route see MeshyTextTo3DPreviewRequest, which constrains it to MeshyAiModel.","nullable":true,"type":"string"},"art_style":{"$ref":"#/components/schemas/MeshyArtStyle"},"geometry_resolution":{"default":"standard","description":"Geometry resolution of the generated mesh. 2k and 4k run the Ultra pass for finer surface detail. 2k and 4k require ai_model meshy-7.1 or latest.","enum":["standard","2k","4k"],"type":"string"},"is_a_t_pose":{"default":false,"description":"Deprecated. Use pose_mode instead. Whether to generate the model in an A/T pose.","type":"boolean"},"mode":{"description":"This field should be set to \"preview\" when creating a preview task.","enum":["preview"],"type":"string"},"moderation":{"default":false,"description":"When true, input content will be screened for potentially harmful content.","type":"boolean"},"pose_mode":{"$ref":"#/components/schemas/MeshyPoseMode"},"prompt":{"description":"Describe what kind of object the 3D model is. Maximum 800 characters.","maxLength":800,"type":"string"},"should_remesh":{"default":false,"description":"Controls whether to enable the remesh phase. When false, returns highest-precision triangular mesh. Defaults to true for Meshy 5 and false for Meshy 6 and 7.","type":"boolean"},"symmetry_mode":{"$ref":"#/components/schemas/MeshySymmetryMode"},"target_polycount":{"default":30000,"description":"Specify the target number of polygons in the generated model. Valid range is 100 to 300,000.","maximum":300000,"minimum":100,"type":"integer"},"topology":{"$ref":"#/components/schemas/MeshyTopology"},"ultra_mode":{"default":false,"deprecated":true,"description":"Deprecated. Use geometry_resolution instead; true is equivalent to geometry_resolution 2k. Only supported when ai_model is meshy-7, meshy-7.1 or latest. The exception is meshy-7: geometry_resolution 2k requires meshy-7.1 or latest, so on meshy-7 ultra_mode true is the way to request the Ultra pass.","type":"boolean"}},"required":["mode","prompt"],"type":"object"},"MeshyTextTo3DPreviewRequest":{"allOf":[{"$ref":"#/components/schemas/MeshyTextTo3DPreviewInputs"},{"properties":{"ai_model":{"$ref":"#/components/schemas/MeshyGenerationAiModel"},"model_type":{"$ref":"#/components/schemas/MeshyModelType"}},"type":"object"}],"description":"The v1 `POST /proxy/meshy/openapi/v2/text-to-3d` PREVIEW body.\nIt composes `MeshyTextTo3DPreviewInputs` rather than restating its fields, and restates `ai_model` as `MeshyAiModel` -- the enum this route has published since before the family was addressable through Comfy Router, and which stays on this surface because it carries no path segment the model could come from instead."},"MeshyTextTo3DRefineInputs":{"description":"The meshy text-to-3d REFINE fields, shared by the `refine` branch of the v1 `POST /proxy/meshy/openapi/v2/text-to-3d` body and the `refine` branch of the Comfy Router input schema for the `meshy/*` models.\nThe two surfaces share every property and both `required` entries. They differ only in `ai_model`: the v1 body restates it as a fixed enum, because that route carries no path segment to supply the model from, while on the Comfy Router route the path supplies it.","properties":{"ai_model":{"description":"The Meshy model to run. On the Comfy Router route this is supplied by the path (`/v2/models/meshy/{model}`) and may be omitted or sent as null; Router writes the path's model here after validation. On the v1 /proxy route see MeshyTextTo3DRefineRequest, which constrains it to MeshyAiModel.","nullable":true,"type":"string"},"enable_pbr":{"default":false,"description":"Generate PBR Maps (metallic, roughness, normal) in addition to the base color. Note that enable_pbr should be set to false when using Sculpture style.","type":"boolean"},"mode":{"description":"This field should be set to \"refine\" when creating a refine task.","enum":["refine"],"type":"string"},"moderation":{"default":false,"description":"When true, input content will be screened for potentially harmful content.","type":"boolean"},"preview_task_id":{"description":"The corresponding preview task id. The status of the given preview task must be SUCCEEDED.","type":"string"},"texture_image_url":{"description":"Provide a 2d image to guide the texturing process. Supports .jpg, .jpeg, .png formats or base64-encoded data URI.","type":"string"},"texture_prompt":{"description":"Provide an additional text prompt to guide the texturing process. Maximum 800 characters.","maxLength":800,"type":"string"},"texture_resolution":{"default":"2k","description":"Texture resolution of the generated textures. One of 2k, 4k or 8k. 4k and 8k require ai_model meshy-6, meshy-7, meshy-7.1 or latest.","enum":["2k","4k","8k"],"type":"string"}},"required":["mode","preview_task_id"],"type":"object"},"MeshyTextTo3DRefineRequest":{"allOf":[{"$ref":"#/components/schemas/MeshyTextTo3DRefineInputs"},{"properties":{"ai_model":{"$ref":"#/components/schemas/MeshyAiModel"}},"type":"object"}],"description":"The v1 `POST /proxy/meshy/openapi/v2/text-to-3d` REFINE body.\nIt composes `MeshyTextTo3DRefineInputs` rather than restating its fields, and restates `ai_model` as `MeshyAiModel` -- the enum this route has published since before the family was addressable through Comfy Router, and which stays on this surface because it carries no path segment the model could come from instead."},"MeshyTextTo3DRequest":{"description":"The v1 `POST /proxy/meshy/openapi/v2/text-to-3d` body: the same `mode`-discriminated `oneOf` it has always been, over the two WRAPPER branches that restate `ai_model` as the published MeshyAiModel enum.\n`x-comfy-router-model-id` and the runnable `example` live on the Router half: one of each on `MeshyTextTo3DMeshy6Inputs`, `MeshyTextTo3DMeshy7Inputs` and `MeshyTextTo3DMeshy71Inputs` above. The shared `MeshyTextTo3DInputs` those three compose carries NEITHER, so do not add an id there -- four components would then claim the same three ids and `routerschema.NewFromSpec` rejects the duplicate claim. The operation itself (`x-excluded: true`) is untouched.","discriminator":{"mapping":{"preview":"#/components/schemas/MeshyTextTo3DPreviewRequest","refine":"#/components/schemas/MeshyTextTo3DRefineRequest"},"propertyName":"mode"},"oneOf":[{"$ref":"#/components/schemas/MeshyTextTo3DPreviewRequest"},{"$ref":"#/components/schemas/MeshyTextTo3DRefineRequest"}]},"MeshyTextTo3DTask":{"properties":{"art_style":{"description":"The unmodified art_style that was used to create the preview task.","type":"string"},"created_at":{"description":"Timestamp of when the task was created, in milliseconds.","format":"int64","type":"integer"},"finished_at":{"description":"Timestamp of when the task was finished, in milliseconds. 0 if not finished.","format":"int64","type":"integer"},"id":{"description":"Unique identifier for the task.","type":"string"},"model_urls":{"$ref":"#/components/schemas/MeshyModelUrls"},"negative_prompt":{"description":"Deprecated field maintained for backward compatibility.","type":"string"},"preceding_tasks":{"description":"The count of preceding tasks. Only meaningful when status is PENDING.","type":"integer"},"progress":{"description":"Progress of the task. 0 if not started, 100 when succeeded.","maximum":100,"minimum":0,"type":"integer"},"prompt":{"description":"The unmodified prompt that was used to create the task.","type":"string"},"started_at":{"description":"Timestamp of when the task was started, in milliseconds. 0 if not started.","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/MeshyTaskStatus"},"task_error":{"allOf":[{"$ref":"#/components/schemas/MeshyTaskError"}],"nullable":true},"texture_image_url":{"description":"Downloadable URL to the texture image that was used to guide the texturing process.","type":"string"},"texture_prompt":{"description":"Additional text prompt provided to guide the texturing process during the refine stage.","type":"string"},"texture_richness":{"description":"Deprecated field maintained for backward compatibility.","type":"string"},"texture_urls":{"description":"An array of texture URL objects that are generated from the task.","items":{"$ref":"#/components/schemas/MeshyTextureUrls"},"type":"array"},"thumbnail_url":{"description":"Downloadable URL to the thumbnail image of the model file.","type":"string"},"type":{"description":"Type of the Text to 3D task.","enum":["text-to-3d-preview","text-to-3d-refine"],"type":"string"},"video_url":{"description":"Deprecated field returning the downloadable URL to the preview video.","type":"string"}},"required":["id","status"],"type":"object"},"MeshyTextureUrls":{"description":"Texture URL object containing PBR maps.","properties":{"base_color":{"description":"Downloadable URL to the base color map image.","type":"string"},"metallic":{"description":"Downloadable URL to the metallic map image.","type":"string"},"normal":{"description":"Downloadable URL to the normal map image.","type":"string"},"roughness":{"description":"Downloadable URL to the roughness map image.","type":"string"}},"type":"object"},"MeshyTopology":{"default":"triangle","description":"Specify the topology of the generated model.","enum":["quad","triangle"],"type":"string"},"MetaCreateImageEditRequest":{"properties":{"images":{"description":"Images to edit. Each item must contain exactly one of image_url or file_id","items":{"properties":{"file_id":{"description":"The ID of a pre-uploaded input image file","type":"string"},"image_url":{"description":"The URL or base64 data URL of an input image","type":"string"}},"type":"object"},"minItems":1,"type":"array"},"model":{"description":"Model ID for image editing. Available value is muse-image-1.0","type":"string"},"moderation":{"description":"Moderation level for the safety pipeline, auto, low or none. none requires per-application access","type":"string"},"n":{"default":1,"description":"Number of edited images to generate. Range 1-10, default is 1","maximum":10,"minimum":1,"type":"integer"},"output_format":{"description":"Requested file type for the edited images, png, jpeg or webp. Default is webp","type":"string"},"prompt":{"description":"Text description of the edits to apply","type":"string"},"reasoning_strength":{"description":"How much reasoning the image generator applies before producing the edited image, low or high. Default is high","type":"string"},"response_format":{"description":"Format for the edited images, url or b64_json. Default is b64_json","type":"string"},"size":{"description":"Requested image shape as width x height (e.g. 1024x1024). The value sets the aspect ratio only; the image is produced at the generator's own fixed output resolution","type":"string"},"tool_enablement":{"$ref":"#/components/schemas/MetaImageToolEnablement"},"user":{"description":"A stable end-user identifier that helps detect and mitigate abuse","type":"string"}},"required":["model","prompt","images"],"type":"object"},"MetaCreateImageRequest":{"properties":{"model":{"description":"Model ID for image generation. Available value is muse-image-1.0","type":"string"},"moderation":{"description":"Moderation level for the safety pipeline, auto, low or none. none requires per-application access","type":"string"},"n":{"default":1,"description":"Number of images to generate. Range 1-10, default is 1","maximum":10,"minimum":1,"type":"integer"},"output_format":{"description":"Requested file type for the generated images, png, jpeg or webp. Default is webp","type":"string"},"prompt":{"description":"Text description of the images to generate","type":"string"},"reasoning_strength":{"description":"How much reasoning the image generator applies before producing the image, low or high. Default is high","type":"string"},"response_format":{"description":"Format for returned images, url or b64_json. Default is b64_json","type":"string"},"size":{"description":"Requested image shape as width x height (e.g. 1024x1024). The value sets the aspect ratio only; the image is produced at the generator's own fixed output resolution","type":"string"},"tool_enablement":{"$ref":"#/components/schemas/MetaImageToolEnablement"},"user":{"description":"A stable end-user identifier that helps detect and mitigate abuse","type":"string"}},"required":["model","prompt"],"type":"object"},"MetaImageToolEnablement":{"description":"Per-tool controls for the image generator's planner. Omit to keep the default (all tools available)","properties":{"enable_image_search":{"description":"Whether the image generator may search the web for visual references. false disables it","type":"boolean"},"enable_shell":{"description":"Whether the image generator may run code to build layouts and charts. false disables it","type":"boolean"},"enable_web_search":{"description":"Whether the image generator may search the web for facts. false disables it","type":"boolean"}},"type":"object"},"MetaImagesResponse":{"properties":{"background":{"description":"Background setting for the generated images. Always opaque","type":"string"},"created":{"description":"Unix timestamp (seconds) for when the images were created","type":"integer"},"data":{"description":"Array of generated images, one entry per image","items":{"properties":{"b64_json":{"description":"Base64-encoded image data. Returned when response_format is b64_json","type":"string"},"revised_prompt":{"description":"Revised prompt used for the image","type":"string"},"url":{"description":"Temporary signed URL of the generated image. Returned when response_format is url","type":"string"}},"type":"object"},"type":"array"},"output_format":{"description":"File type of the generated images","type":"string"},"usage":{"description":"Token usage for the request, reported for reference only","properties":{"input_tokens":{"description":"Number of input tokens","type":"integer"},"input_tokens_details":{"description":"Breakdown of input tokens by modality","properties":{"image_tokens":{"description":"Number of image tokens in the input","type":"integer"},"text_tokens":{"description":"Number of text tokens in the input","type":"integer"}},"type":"object"},"output_tokens":{"description":"Number of output tokens","type":"integer"},"total_tokens":{"description":"Total number of tokens","type":"integer"}},"type":"object"}},"required":["created","data"],"type":"object"},"MigrationAPIKey":{"description":"One of a customer's API keys, for cloud's migrate-on-miss to seed into\nworkspace_api_keys by hash. M2M/admin-only; carries the hash, never plaintext.\n","properties":{"description":{"type":"string"},"key_hash":{"type":"string"},"key_prefix":{"type":"string"},"name":{"type":"string"}},"required":["key_hash"],"type":"object"},"MinimaxBaseResponse":{"description":"Common response structure used by Minimax APIs","properties":{"status_code":{"description":"Status code. 0 indicates success, other values indicate errors.","type":"integer"},"status_msg":{"description":"Specific error details or success message.","type":"string"}},"required":["status_code","status_msg"],"type":"object"},"MinimaxFileRetrieveResponse":{"description":"Response from retrieving a Minimax file download URL.","properties":{"base_resp":{"$ref":"#/components/schemas/MinimaxBaseResponse"},"file":{"properties":{"bytes":{"description":"File size in bytes","type":"integer"},"created_at":{"description":"Unix timestamp when the file was created, in seconds","type":"integer"},"download_url":{"description":"The URL to download the video","type":"string"},"file_id":{"description":"Unique identifier for the file","type":"integer"},"filename":{"description":"The name of the file","type":"string"},"purpose":{"description":"The purpose of using the file","type":"string"}},"type":"object"}},"required":["file","base_resp"],"type":"object"},"MinimaxImageEditRequest":{"properties":{"area":{"description":"Output area level when `size` is omitted or `auto`. One of `1K`, `2K`, `4K` (default).","type":"string"},"aspect_ratio":{"description":"Output aspect ratio when `size` is omitted or `auto`. `auto` (default) or `X:Y` between 1:3 and 3:1, such as `16:9`.","type":"string"},"images":{"description":"Reference images.","items":{"$ref":"#/components/schemas/MinimaxImageInput"},"maxItems":16,"minItems":1,"type":"array"},"model":{"description":"Model name. `MiniMax-H3-Image` or `MiniMax-H3-Image-Highspeed`.","type":"string"},"n":{"default":1,"description":"Number of images. Input tokens are charged once per image.","maximum":10,"minimum":1,"type":"integer"},"output_compression":{"description":"Compression quality for `jpeg` and `webp`, default 95.","maximum":100,"minimum":0,"type":"integer"},"output_format":{"description":"Output image format. One of `png`, `jpeg`, `jpg` (default), `webp`.","type":"string"},"prompt":{"description":"Text description of the edit. Reference images are image 1, image 2 and so on, in array order.","maxLength":32000,"type":"string"},"size":{"description":"Output size, `auto` (default) or `WIDTHxHEIGHT` such as `2720x1536`. A fixed size must have an area of 655,360 to 20,000,000 pixels and an aspect ratio between 1:3 and 3:1, and cannot be combined with `aspect_ratio` or `area`.","type":"string"}},"required":["model","prompt","images"],"type":"object"},"MinimaxImageErrorResponse":{"description":"MiniMax's error document for the H3-Image routes. MiniMax's internal code is in the parentheses at the end of `error.message`.","properties":{"error":{"properties":{"http_code":{"type":"string"},"message":{"type":"string"},"type":{"description":"Error class, such as `bad_request_error`, `unprocessable_entity_error` (content safety check), `rate_limit_error` or `server_error`.","type":"string"}},"type":"object"},"request_id":{"type":"string"},"type":{"description":"Always `error`.","type":"string"}},"type":"object"},"MinimaxImageGenerationInputs":{"description":"The MiniMax H3-Image fields, shared by the v1 `POST /proxy/minimax/v1/images/generations` request body and the Comfy Router input schema for `minimax/minimax-h3-image` and `minimax/minimax-h3-image-highspeed`. Without `images` the request is text-to-image; with `images` it runs as an image edit.","example":{"area":"1K","prompt":"A single red maple leaf resting on a plain white background."},"properties":{"area":{"description":"Output area level when `size` is omitted or `auto`. One of `1K`, `2K`, `4K` (default).","type":"string"},"aspect_ratio":{"description":"Output aspect ratio when `size` is omitted or `auto`. `auto` (default) or `X:Y` between 1:3 and 3:1, such as `16:9`.","type":"string"},"disable_prompt_enhanced":{"default":false,"description":"Turns MiniMax's prompt enhancement off. Requires a fixed `size` or an `X:Y` `aspect_ratio`.","type":"boolean"},"images":{"description":"Optional reference images. When present the request runs as an image edit, exactly as on the edits route.","items":{"$ref":"#/components/schemas/MinimaxImageInput"},"maxItems":16,"type":"array"},"model":{"description":"Model name. `MiniMax-H3-Image` or `MiniMax-H3-Image-Highspeed`. Router callers may omit this field or send null; Router fills in the model selected by the request path.","nullable":true,"type":"string"},"n":{"default":1,"description":"Number of images. Input tokens are charged once per image.","maximum":10,"minimum":1,"type":"integer"},"output_compression":{"description":"Compression quality for `jpeg` and `webp`, default 95.","maximum":100,"minimum":0,"type":"integer"},"output_format":{"description":"Output image format. One of `png`, `jpeg`, `jpg` (default), `webp`.","type":"string"},"prompt":{"description":"Text description of the image. With `images`, the description of the edit; the reference images are image 1, image 2 and so on, in array order.","maxLength":32000,"type":"string"},"size":{"description":"Output size, `auto` (default) or `WIDTHxHEIGHT` such as `2720x1536`. A fixed size must have an area of 655,360 to 20,000,000 pixels and an aspect ratio between 1:3 and 3:1, and cannot be combined with `aspect_ratio` or `area`.","type":"string"}},"required":["prompt"],"type":"object"},"MinimaxImageGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/MinimaxImageGenerationInputs"},{"properties":{"model":{"description":"Model name. `MiniMax-H3-Image` or `MiniMax-H3-Image-Highspeed`.","type":"string"}},"required":["model"],"type":"object"}],"description":"Request body for `POST /proxy/minimax/v1/images/generations`. The `MinimaxImageGenerationInputs` fields plus `model`, which this route requires.","example":{"area":"1K","model":"MiniMax-H3-Image","prompt":"A single red maple leaf resting on a plain white background."}},"MinimaxImageInput":{"properties":{"image_url":{"description":"A public http(s) URL or a `data:image/\u003cformat\u003e;base64,` URI. JPEG, PNG, WEBP, HEIC or HEIF, each side 128 to 8192 px, long side at most 4 times the short side.","type":"string"}},"required":["image_url"],"type":"object"},"MinimaxImageObject":{"properties":{"error":{"description":"Present only when this image failed or was withheld.","properties":{"code":{"type":"string"},"message":{"type":"string"}},"type":"object"},"revised_prompt":{"description":"The prompt MiniMax used for this image.","type":"string"},"size":{"description":"Actual image size as `WIDTHxHEIGHT`.","type":"string"},"url":{"description":"URL of the generated image. It expires, so download the image.","type":"string"}},"type":"object"},"MinimaxImageUsage":{"description":"Token usage of the successful images. Billing is based on it.","properties":{"generated_images":{"type":"integer"},"input_tokens":{"type":"integer"},"input_tokens_details":{"properties":{"image_tokens":{"type":"integer"},"text_tokens":{"type":"integer"}},"type":"object"},"output_tokens":{"type":"integer"},"output_tokens_details":{"properties":{"image_tokens":{"type":"integer"}},"type":"object"},"total_tokens":{"type":"integer"}},"type":"object"},"MinimaxImagesResponse":{"properties":{"created":{"format":"int64","type":"integer"},"data":{"items":{"$ref":"#/components/schemas/MinimaxImageObject"},"type":"array"},"output_format":{"type":"string"},"request_id":{"type":"string"},"usage":{"$ref":"#/components/schemas/MinimaxImageUsage"}},"type":"object"},"MinimaxTaskResultResponse":{"description":"Response from querying a Minimax video generation task status.","properties":{"base_resp":{"$ref":"#/components/schemas/MinimaxBaseResponse"},"file_id":{"description":"After the task status changes to Success, this field returns the file ID corresponding to the generated video.","type":"string"},"status":{"description":"Task status: 'Queueing' (in queue), 'Preparing' (task is preparing), 'Processing' (generating), 'Success' (task completed successfully), or 'Fail' (task failed).","enum":["Queueing","Preparing","Processing","Success","Fail"],"type":"string"},"task_id":{"description":"The task ID being queried.","type":"string"}},"required":["task_id","status","base_resp"],"type":"object"},"MinimaxV2ContentItem":{"description":"A single content item in a Minimax V2 video generation request.","properties":{"audio_url":{"description":"Audio source. Required for audio_url items.","properties":{"url":{"description":"A publicly reachable URL, an mm_file://{file_id} reference, or a data URI.","type":"string"}},"type":"object"},"image_url":{"description":"Image source. Required for image_url items.","properties":{"url":{"description":"A publicly reachable URL, an mm_file://{file_id} reference, or a data URI.","type":"string"}},"type":"object"},"role":{"description":"Role of a media item. Options: first_frame, last_frame, reference_image, reference_video, reference_audio, base_video. Keyframe roles and reference_* roles are mutually exclusive within a request; base_video marks the source video of a video regeneration request.","type":"string"},"text":{"description":"The prompt text. Exactly one non-empty text item is required per request.","type":"string"},"type":{"description":"Content item type. Options: text, image_url, video_url, audio_url.","type":"string"},"video_url":{"description":"Video source. Required for video_url items.","properties":{"url":{"description":"A publicly reachable URL, an mm_file://{file_id} reference, or a data URI.","type":"string"}},"type":"object"}},"required":["type"],"type":"object"},"MinimaxV2H3ContextIRRequest":{"description":"Parameters for the Minimax V2 (Hailuo 03) H3-Context-IR proxy request.","properties":{"callback_url":{"description":"Optional. URL to receive task state changes after challenge verification.","type":"string"},"content":{"description":"Multimodal context describing the intended video. Must contain one non-empty text item; optionally add first_frame/last_frame images or reference_* media.","items":{"$ref":"#/components/schemas/MinimaxV2ContentItem"},"type":"array"},"duration":{"description":"Target video duration in seconds, 4 to 15.","type":"integer"},"model":{"description":"Required. ID of model. Options: MiniMax-H3","type":"string"},"ratio":{"description":"Aspect ratio of the target video. Options: adaptive (default), 21:9, 16:9, 4:3, 1:1, 3:4, 9:16. Required and must not be adaptive for text-to-video; ignored (treated as adaptive) for first-frame or last-frame generation.","type":"string"}},"required":["model","content","duration"],"type":"object"},"MinimaxV2TaskResult":{"description":"A Minimax V2 video generation task.","properties":{"content":{"description":"Generated output; present when status is succeeded.","properties":{"prompt":{"description":"The enhanced video prompt produced by a succeeded h3_context_ir task.","type":"string"},"url":{"description":"Time-limited URL of the generated MP4. Query again for a refreshed URL.","type":"string"}},"type":"object"},"duration":{"description":"The duration of the generated video in seconds.","type":"number"},"error":{"additionalProperties":true,"description":"Error details when status is failed; carries code and message.","type":"object"},"id":{"description":"The task ID.","type":"string"},"model":{"description":"The model used for the task.","type":"string"},"ratio":{"description":"The actual aspect ratio of the generated video.","type":"string"},"resolution":{"description":"The resolution of the generated video.","type":"string"},"status":{"description":"Task status. Options: queued, running, succeeded, failed, cancelled, expired.","type":"string"},"task_type":{"description":"The type of the task.","type":"string"},"usage":{"description":"Usage recorded for the task.","properties":{"completion_tokens":{"type":"integer"},"input_image_count":{"type":"integer"},"input_seconds":{"type":"number"},"output_seconds":{"type":"number"},"prompt_tokens":{"type":"integer"},"total_seconds":{"type":"number"},"total_tokens":{"type":"integer"}},"type":"object"}},"type":"object"},"MinimaxV2TaskResultResponse":{"description":"Response from querying a Minimax V2 video generation task status.","properties":{"task":{"$ref":"#/components/schemas/MinimaxV2TaskResult"}},"type":"object"},"MinimaxV2VideoGenerationInputs":{"description":"The MiniMax V2 (Hailuo 03) video-generation fields, shared by the v1 `POST /proxy/minimax/v2/video_generation` request body and the Comfy Router input schema for `minimax/minimax-h3`.\n`required` here is the ROUTER-SAFE floor: `model` is absent from it because Router writes the path's model into the body after routervalidate.Guard has already validated the caller's bytes. The v1 wrapper `MinimaxV2VideoGenerationRequest` re-adds it -- see the note there for why that route can demand what this one must not.","example":{"content":[{"text":"A single red maple leaf resting on a plain white background.","type":"text"}],"duration":5,"ratio":"16:9","resolution":"768P"},"properties":{"aigc_watermark":{"description":"Whether to add an AIGC watermark to the output. Defaults to false.","type":"boolean"},"callback_url":{"description":"Optional. URL to receive task state changes after challenge verification.","type":"string"},"content":{"description":"Content items driving the generation. Must contain one non-empty text item; optionally add first_frame/last_frame images or reference_* media.","items":{"$ref":"#/components/schemas/MinimaxV2ContentItem"},"type":"array"},"duration":{"description":"Video length in seconds. Comfy Router accepts 4 to 15 and refuses anything outside it before the provider is called. MiniMax's own documentation for this model states 5 to 15; the ComfyUI MiniMax H3 nodes offer 4 to 15 and a 4-second generation has been observed to succeed, so 4 is accepted here.","maximum":15,"minimum":4,"type":"integer"},"model":{"description":"ID of model. Options: MiniMax-H3. Router callers may omit this field or send null; Router injects the model selected by the request path before provider dispatch.","nullable":true,"type":"string"},"ratio":{"description":"Aspect ratio. Options: adaptive (default), 21:9, 16:9, 4:3, 1:1, 3:4, 9:16. Required and must not be adaptive for text-to-video; ignored (treated as adaptive) for first-frame or last-frame generation.","type":"string"},"resolution":{"description":"Video resolution. Options: 2K, 768P. The value is matched case-insensitively and canonicalised before dispatch, so `2k` and `768p` are accepted and sent as `2K` and `768P`.","enum":["2K","2k","768P","768p"],"type":"string"},"seed":{"description":"Random seed in [-1, 2^32 - 1]; omitted or -1 is random.","format":"int64","type":"integer"}},"required":["content","resolution","duration"],"type":"object"},"MinimaxV2VideoGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/MinimaxV2VideoGenerationInputs"},{"properties":{"model":{"description":"ID of model. Options: MiniMax-H3.","type":"string"}},"required":["model"],"type":"object"}],"description":"Parameters for the Minimax V2 (Hailuo 03) video generation proxy request -- the v1 `POST /proxy/minimax/v2/video_generation` body.\nIt composes `MinimaxV2VideoGenerationInputs` rather than restating its fields, and adds back the one field only the v1 surface can demand. `model` is load-bearing: this route carries no path segment supplying it and videoGenerationProxy refuses a body without it (`supportedModel(\"\")` matches nothing and the call is cancelled with `unsupported model`), whereas the Comfy Router route `POST /v2/models/minimax/{model}` supplies it from the path and its input schema must not require it.\nRead the note above `MinimaxV2VideoGenerationInputs` for the full rule and the guards that enforce it.","example":{"content":[{"text":"A single red maple leaf resting on a plain white background.","type":"text"}],"duration":5,"model":"MiniMax-H3","ratio":"16:9","resolution":"768P"}},"MinimaxV2VideoGenerationResponse":{"description":"Response from the Minimax V2 video generation API.","properties":{"task_id":{"description":"The task ID for the asynchronous video generation task.","type":"string"}},"required":["task_id"],"type":"object"},"MinimaxV2VideoRegenerationRequest":{"description":"Parameters for the Minimax V2 (Hailuo 03) video regeneration proxy request. Provide exactly one of source_task_id or content (with a base_video item).","properties":{"aigc_watermark":{"description":"Whether to add an AIGC watermark to the output. Defaults to false.","type":"boolean"},"callback_url":{"description":"Optional. URL to receive task state changes after challenge verification.","type":"string"},"content":{"description":"The exact inputs used to generate the 768P source video plus exactly one video_url item with role base_video. The text must be the final prompt actually sent to the model.","items":{"$ref":"#/components/schemas/MinimaxV2ContentItem"},"type":"array"},"model":{"description":"Required. ID of model. Options: MiniMax-H3","type":"string"},"resolution":{"description":"Target resolution for the regenerated video. Options: 2K.","type":"string"},"source_task_id":{"description":"Task ID of an existing succeeded video generation task whose output is regenerated. Requires whitelist access; the task must be owned by the account, succeeded, and created within 7 days. The task must also have been submitted by the caller (or the caller's Cloud workspace) through a /proxy/minimax/v2/* submit; any other task answers 404 (`task not found`), and one whose ownership could not be determined answers 503 (`task ownership could not be verified; retry`).","type":"string"}},"required":["model","resolution"],"type":"object"},"MinimaxVideoGenerationRequest":{"description":"Parameters for the Minimax video generation proxy request.","properties":{"callback_url":{"description":"Optional. URL to receive real-time status updates about the video generation task.","type":"string"},"duration":{"default":6,"description":"Video length in seconds. Only available for MiniMax-Hailuo-02","enum":[6,10],"type":"integer"},"first_frame_image":{"description":"URL or base64 encoding of the first frame image. Required when model is I2V-01, I2V-01-Director, or I2V-01-live.","type":"string"},"model":{"description":"Required. ID of model. Options: MiniMax-Hailuo-02, T2V-01-Director, I2V-01-Director, S2V-01, I2V-01, I2V-01-live, T2V-01","enum":["MiniMax-Hailuo-02","T2V-01-Director","I2V-01-Director","S2V-01","I2V-01","I2V-01-live","T2V-01"],"type":"string"},"prompt":{"description":"Description of the video. Should be less than 2000 characters. Supports camera movement instructions in [brackets].","maxLength":2000,"type":"string"},"prompt_optimizer":{"default":true,"description":"If true (default), the model will automatically optimize the prompt. Set to false for more precise control.","type":"boolean"},"resolution":{"default":"768P","description":"Video resolution. Only available for MiniMax-Hailuo-02.","enum":["768P","1080P"],"type":"string"},"subject_reference":{"description":"Only available when model is S2V-01. The model will generate a video based on the subject uploaded through this parameter.","items":{"properties":{"image":{"description":"URL or base64 encoding of the subject reference image.","type":"string"},"mask":{"description":"URL or base64 encoding of the mask for the subject reference image.","type":"string"}},"type":"object"},"type":"array"}},"required":["model"],"type":"object"},"MinimaxVideoGenerationResponse":{"description":"Response from the Minimax video generation API.","properties":{"base_resp":{"$ref":"#/components/schemas/MinimaxBaseResponse"},"task_id":{"description":"The task ID for the asynchronous video generation task.","type":"string"}},"required":["task_id","base_resp"],"type":"object"},"MireloFile":{"properties":{"bytes":{"description":"Size of the file in bytes.","format":"int64","type":"integer"},"channels":{"description":"Number of audio channels.","type":"integer"},"duration_ms":{"description":"Length of the file in milliseconds.","type":"integer"},"format":{"description":"File format, for example wav or mp4.","type":"string"},"sample_rate":{"description":"Audio sample rate in Hz.","type":"integer"},"url":{"description":"URL the file can be downloaded from.","type":"string"},"url_expires_at":{"description":"When the download URL expires.","type":"string"}},"type":"object"},"MireloJob":{"description":"A Mirelo generation job.","properties":{"completed_at":{"description":"When the job finished.","nullable":true,"type":"string"},"created_at":{"description":"When the job was created.","type":"string"},"credits":{"description":"Credits Mirelo debited. Null until the job is finished.","nullable":true,"type":"integer"},"errors":{"items":{"$ref":"#/components/schemas/MireloJobError"},"type":"array"},"estimated_ms":{"description":"Expected run time in milliseconds while the job runs.","type":"integer"},"expires_at":{"description":"When the job and its results are deleted.","type":"string"},"id":{"description":"Job id used to poll for status.","type":"string"},"model":{"description":"The model release the job ran on.","type":"string"},"object":{"description":"Job kind: text_to_sfx.generation or video_to_sfx.generation.","type":"string"},"progress":{"description":"Rough progress fraction while the job runs.","type":"number"},"result":{"$ref":"#/components/schemas/MireloJobResult"},"seed":{"description":"The seed the job used.","format":"int64","type":"integer"},"status":{"description":"Job status: queued, running, succeeded, partially_succeeded, failed, canceled or expired.","type":"string"},"urls":{"properties":{"self":{"description":"Mirelo's own URL for the job. Poll the proxy route instead.","type":"string"}},"type":"object"}},"type":"object"},"MireloJobError":{"properties":{"code":{"description":"Machine-readable error code.","type":"string"},"message":{"description":"Human-readable error message.","type":"string"},"output_index":{"nullable":true,"type":"integer"},"retryable":{"type":"boolean"},"variant_index":{"nullable":true,"type":"integer"}},"type":"object"},"MireloJobResult":{"description":"The generated media, present once the job is finished. Text to SFX answers `output`; Video to SFX answers `outputs`.","nullable":true,"properties":{"output":{"$ref":"#/components/schemas/MireloOutput"},"outputs":{"items":{"$ref":"#/components/schemas/MireloOutput"},"type":"array"}},"type":"object"},"MireloMediaRef":{"properties":{"type":{"description":"Media reference kind: url.","type":"string"},"url":{"description":"Public http(s) URL of the media file.","type":"string"}},"required":["type","url"],"type":"object"},"MireloOutput":{"properties":{"credits":{"description":"This output's share of the debit.","type":"integer"},"index":{"type":"integer"},"status":{"description":"Whether every requested variant came back: succeeded, partially_succeeded or failed.","type":"string"},"type":{"description":"Output kind: mix, speech, music, sfx or ambience.","type":"string"},"variants":{"items":{"$ref":"#/components/schemas/MireloVariant"},"type":"array"},"variants_requested":{"type":"integer"}},"type":"object"},"MireloOutputOptions":{"properties":{"format":{"description":"Audio container: wav, flac, mp3_128, mp3_192, mp3_256 or mp3_320. Defaults to wav.","type":"string"},"media":{"description":"Video to SFX only: audio (default) or video, which returns the clip with the generated soundtrack.","type":"string"}},"type":"object"},"MireloTextInput":{"properties":{"negative_prompt":{"description":"Sounds to avoid, as a short comma-separated list, up to 1000 characters.","type":"string"},"prompt":{"description":"Description of the sound to generate, up to 2000 characters.","type":"string"}},"required":["prompt"],"type":"object"},"MireloTextToSfxRequest":{"description":"Request body for `POST /proxy/mirelo/v3/text-to-sfx/generations`. The job is billed from the credits Mirelo debits once it finishes.","properties":{"duration_ms":{"description":"Length of the generated audio in whole milliseconds, 100 to 600000.","type":"integer"},"input":{"$ref":"#/components/schemas/MireloTextInput"},"model":{"description":"Model release: sfx-2.0.","type":"string"},"num_variants":{"default":1,"description":"Number of variations to generate, 1 to 4. Each variant is billed.","type":"integer"},"output":{"$ref":"#/components/schemas/MireloOutputOptions"},"seed":{"description":"Random seed. Random when omitted.","format":"int64","type":"integer"}},"required":["model","duration_ms","input"],"type":"object"},"MireloVariant":{"properties":{"files":{"nullable":true,"properties":{"audio":{"$ref":"#/components/schemas/MireloFile"},"video":{"$ref":"#/components/schemas/MireloFile"}},"type":"object"},"index":{"type":"integer"},"status":{"description":"Variant status: succeeded or failed.","type":"string"}},"type":"object"},"MireloVideoControls":{"properties":{"preserve_speech":{"description":"Keep the dialogue already in the clip. On when omitted.","type":"boolean"},"separate_speech":{"description":"Also return the clip's speech as a `speech` output.","type":"boolean"}},"type":"object"},"MireloVideoInput":{"properties":{"audio":{"$ref":"#/components/schemas/MireloMediaRef"},"negative_prompt":{"description":"Sounds to avoid, as a short comma-separated list, up to 1000 characters.","type":"string"},"prompt":{"description":"Optional guidance for which sounds to generate.","type":"string"},"video":{"$ref":"#/components/schemas/MireloMediaRef"}},"required":["video"],"type":"object"},"MireloVideoToSfxRequest":{"description":"Request body for `POST /proxy/mirelo/v3/video-to-sfx/generations`. The job is billed from the credits Mirelo debits once it finishes.","properties":{"controls":{"$ref":"#/components/schemas/MireloVideoControls"},"duration_ms":{"description":"How much of the video to score, in whole milliseconds, 1000 to 600000. Omitted, Mirelo scores the rest of the clip from `start_offset_ms`.","type":"integer"},"input":{"$ref":"#/components/schemas/MireloVideoInput"},"model":{"description":"Model release: sfx-2.0.","type":"string"},"num_variants":{"default":1,"description":"Number of variations to generate, 1 to 4. Each variant is billed.","type":"integer"},"output":{"$ref":"#/components/schemas/MireloOutputOptions"},"seed":{"description":"Random seed. Random when omitted.","format":"int64","type":"integer"},"start_offset_ms":{"default":0,"description":"Where in the video to start, in milliseconds.","type":"integer"}},"required":["model","input"],"type":"object"},"Modality":{"description":"Type of input or output content modality.","enum":["MODALITY_UNSPECIFIED","TEXT","IMAGE","VIDEO","AUDIO","DOCUMENT"],"type":"string"},"ModalityTokenCount":{"properties":{"modality":{"$ref":"#/components/schemas/Modality"},"tokenCount":{"description":"Number of tokens for the given modality.","type":"integer"}},"type":"object"},"ModelClassification":{"properties":{"cost_cents":{"description":"Representative per-call rate-card cost in USD cents; null if unknown.","format":"double","nullable":true,"type":"number"},"effective_tier":{"description":"Tier the gate assigns; empty string means not capped.","type":"string"},"model":{"type":"string"},"override":{"description":"Raw override tier ('expensive' | 'exempt'); null when unset.","nullable":true,"type":"string"},"reason":{"description":"One of model_override, cost_ladder, exempt, model_default.","type":"string"}},"required":["model","override","effective_tier","reason","cost_cents"],"type":"object"},"ModelResponseProperties":{"description":"Common properties for model responses","properties":{"instructions":{"description":"Instructions for the model on how to generate the response","nullable":true,"type":"string"},"max_output_tokens":{"description":"Maximum number of tokens to generate","type":"integer"},"model":{"description":"The model used to generate the response","type":"string"},"temperature":{"default":1,"description":"Controls randomness in the response","maximum":2,"minimum":0,"type":"number"},"top_p":{"default":1,"description":"Controls diversity of the response via nucleus sampling","maximum":1,"minimum":0,"type":"number"},"truncation":{"default":"disabled","description":"How to handle truncation of the response","enum":["disabled","auto"],"type":"string"}},"type":"object"},"MoonvalleyImageToVideoRequest":{"allOf":[{"$ref":"#/components/schemas/MoonvalleyTextToVideoRequest"},{"properties":{"keyframes":{"additionalProperties":{"properties":{"image_url":{"type":"string"}},"type":"object"},"type":"object"}},"type":"object"}],"description":"Request body for Moonvalley's image-to-video prompt route: the text-to-video body plus optional per-timestamp keyframe images.","example":{"image_url":"https://yavuzceliker.github.io/sample-images/image-1021.jpg","prompt_text":"a single red maple leaf falling onto still water"}},"MoonvalleyPromptResponse":{"properties":{"error":{"type":"object"},"frame_conditioning":{"type":"object"},"id":{"type":"string"},"inference_params":{"type":"object"},"meta":{"type":"object"},"model_params":{"type":"object"},"output_url":{"type":"string"},"prompt_text":{"type":"string"},"status":{"type":"string"}},"type":"object"},"MoonvalleyResizeVideoRequest":{"allOf":[{"$ref":"#/components/schemas/MoonvalleyVideoToVideoRequest"},{"properties":{"frame_position":{"items":{"type":"integer"},"maxItems":2,"minItems":2,"type":"array"},"frame_resolution":{"items":{"type":"integer"},"maxItems":2,"minItems":2,"type":"array"},"scale":{"items":{"type":"integer"},"maxItems":2,"minItems":2,"type":"array"}},"type":"object"}],"description":"Request body for Moonvalley's video-to-video resize route: the video-to-video body plus frame position, frame resolution and scale, each a pair of integers. Send frame_position: Moonvalley's resize stage fails without it.","example":{"control_type":"motion_control","frame_position":[320,180],"frame_resolution":[1280,720],"prompt_text":"Apply motion control to enhance this video","scale":[1,1],"video_url":"https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_1MB.mp4"}},"MoonvalleyTextToImageRequest":{"description":"Request body for Moonvalley's text-to-image prompt route. Moonvalley declares no single required field here, so the only structural narrowing is that an empty body is refused.","example":{"prompt_text":"a single red maple leaf resting on still water"},"minProperties":1,"properties":{"image_url":{"type":"string"},"inference_params":{"$ref":"#/components/schemas/MoonvalleyTextToVideoInferenceParams"},"prompt_text":{"type":"string"},"webhook_url":{"type":"string"}},"type":"object"},"MoonvalleyTextToVideoInferenceParams":{"properties":{"guidance_scale":{"default":10,"description":"Guidance scale for generation control","format":"float","type":"number"},"height":{"default":1080,"description":"Height of the generated video in pixels","type":"integer"},"negative_prompt":{"description":"Negative prompt text","type":"string"},"seed":{"default":9,"description":"Random seed for generation (default: random)","type":"integer"},"steps":{"default":80,"description":"Number of denoising steps","type":"integer"},"use_negative_prompts":{"default":true,"description":"Whether to use negative prompts","type":"boolean"},"width":{"default":1920,"description":"Width of the generated video in pixels","type":"integer"}},"type":"object"},"MoonvalleyTextToVideoRequest":{"description":"Request body for Moonvalley's text-to-video prompt route. Moonvalley declares no single required field here, so the only structural narrowing is that an empty body is refused.","example":{"prompt_text":"a single red maple leaf"},"minProperties":1,"properties":{"image_url":{"type":"string"},"inference_params":{"$ref":"#/components/schemas/MoonvalleyTextToVideoInferenceParams"},"prompt_text":{"type":"string"},"webhook_url":{"type":"string"}},"type":"object"},"MoonvalleyUploadFileRequest":{"properties":{"file":{"format":"binary","type":"string"}},"type":"object"},"MoonvalleyUploadFileResponse":{"properties":{"access_url":{"type":"string"}},"type":"object"},"MoonvalleyVideoToVideoInferenceParams":{"properties":{"control_params":{"properties":{"motion_intensity":{"default":6,"description":"Intensity of motion control","format":"int32","type":"integer"}},"type":"object"},"guidance_scale":{"default":10,"description":"Guidance scale for generation control","format":"float","type":"number"},"negative_prompt":{"description":"Negative prompt text","type":"string"},"seed":{"default":9,"description":"Random seed for generation (default: random)","type":"integer"},"steps":{"default":80,"description":"Number of denoising steps","type":"integer"},"use_negative_prompts":{"default":true,"description":"Whether to use negative prompts","type":"boolean"}},"type":"object"},"MoonvalleyVideoToVideoRequest":{"description":"Request body for Moonvalley's video-to-video prompt route. A control video and a control type are what distinguish this route from text-to-video, and Moonvalley requires both alongside the prompt.","example":{"control_type":"motion_control","prompt_text":"Apply motion control to enhance this video","video_url":"https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_1MB.mp4"},"properties":{"control_type":{"description":"Supported types for video control","enum":["motion_control","pose_control"],"type":"string"},"image_url":{"description":"Url to control image","type":"string"},"inference_params":{"$ref":"#/components/schemas/MoonvalleyVideoToVideoInferenceParams"},"prompt_text":{"description":"Describes the video to generate","type":"string"},"video_url":{"description":"Url to control video","type":"string"},"webhook_url":{"description":"Optional webhook URL for notifications","type":"string"}},"required":["prompt_text","video_url","control_type"],"type":"object"},"Node":{"properties":{"author":{"type":"string"},"banner_url":{"description":"URL to the node's banner.","type":"string"},"category":{"deprecated":true,"description":"DEPRECATED: The category of the node. Use 'tags' field instead. This field will be removed in a future version.","type":"string"},"created_at":{"description":"The date and time when the node was created","format":"date-time","type":"string"},"description":{"type":"string"},"downloads":{"description":"The number of downloads of the node.","type":"integer"},"github_stars":{"description":"Number of stars on the GitHub repository.","type":"integer"},"icon":{"description":"URL to the node's icon.","type":"string"},"id":{"description":"The unique identifier of the node.","type":"string"},"latest_version":{"$ref":"#/components/schemas/NodeVersion"},"license":{"description":"The path to the LICENSE file in the node's repository.","type":"string"},"name":{"description":"The display name of the node.","type":"string"},"preempted_comfy_node_names":{"description":"A list of Comfy node names that are preempted by this node.","items":{"type":"string"},"type":"array"},"publisher":{"$ref":"#/components/schemas/Publisher"},"rating":{"description":"The average rating of the node.","type":"number"},"repository":{"description":"URL to the node's repository.","type":"string"},"search_ranking":{"description":"A numerical value representing the node's search ranking, used for sorting search results.","type":"integer"},"status":{"$ref":"#/components/schemas/NodeStatus"},"status_detail":{"description":"The status detail of the node.","type":"string"},"supported_accelerators":{"description":"List of accelerators (e.g. CUDA, DirectML, ROCm) that this node supports","items":{"type":"string"},"type":"array"},"supported_comfyui_frontend_version":{"description":"Supported versions of ComfyUI frontend","type":"string"},"supported_comfyui_version":{"description":"Supported versions of ComfyUI","type":"string"},"supported_os":{"description":"List of operating systems that this node supports","items":{"type":"string"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"tags_admin":{"description":"Admin-only tags for security warnings and admin metadata","items":{"type":"string"},"type":"array"},"translations":{"additionalProperties":{"additionalProperties":true,"type":"object"},"description":"Translations of node metadata in different languages.","type":"object"}},"type":"object"},"NodeStatus":{"enum":["NodeStatusActive","NodeStatusDeleted","NodeStatusBanned"],"type":"string"},"NodeVersion":{"properties":{"changelog":{"description":"Summary of changes made in this version","type":"string"},"comfy_node_extract_status":{"description":"The status of comfy node extraction process.","type":"string"},"createdAt":{"description":"The date and time the version was created.","format":"date-time","type":"string"},"dependencies":{"description":"A list of pip dependencies required by the node.","items":{"type":"string"},"type":"array"},"deprecated":{"description":"Indicates if this version is deprecated.","type":"boolean"},"downloadUrl":{"description":"[Output Only] URL to download this version of the node","type":"string"},"id":{"type":"string"},"node_id":{"description":"The unique identifier of the node.","type":"string"},"status":{"$ref":"#/components/schemas/NodeVersionStatus"},"status_reason":{"type":"string"},"supported_accelerators":{"description":"List of accelerators (e.g. CUDA, DirectML, ROCm) that this node supports","items":{"type":"string"},"type":"array"},"supported_comfyui_frontend_version":{"description":"Supported versions of ComfyUI frontend","type":"string"},"supported_comfyui_version":{"description":"Supported versions of ComfyUI","type":"string"},"supported_os":{"description":"List of operating systems that this node supports","items":{"type":"string"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"tags_admin":{"description":"Admin-only tags for security warnings and admin metadata. Read-only for publishers - omitted from all public responses and ignored if sent on publish; only returned on admin-authenticated responses.","items":{"type":"string"},"type":"array"},"version":{"description":"The version identifier, following semantic versioning. Must be unique for the node.","type":"string"}},"type":"object"},"NodeVersionIdentifier":{"properties":{"node_id":{"description":"The unique identifier of the node","maxLength":200,"type":"string"},"version":{"description":"The version of the node","maxLength":200,"type":"string"}},"required":["node_id","version"],"type":"object"},"NodeVersionStatus":{"enum":["NodeVersionStatusActive","NodeVersionStatusDeleted","NodeVersionStatusBanned","NodeVersionStatusPending","NodeVersionStatusFlagged"],"type":"string"},"NodeVersionUpdateRequest":{"properties":{"changelog":{"description":"The changelog describing the version changes.","type":"string"},"deprecated":{"description":"Whether the version is deprecated.","type":"boolean"}},"type":"object"},"OpenAICreateResponse":{"allOf":[{"$ref":"#/components/schemas/CreateModelResponseProperties"},{"$ref":"#/components/schemas/ResponseProperties"},{"properties":{"include":{"description":"Specify additional output data to include in the model response. Currently\nsupported values are:\n- `file_search_call.results`: Include the search results of\n  the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n","items":{"$ref":"#/components/schemas/Includable"},"nullable":true,"type":"array"},"input":{"description":"Text, image, or file inputs to the model, used to generate a response.\n\nLearn more:\n- [Text inputs and outputs](/docs/guides/text)\n- [Image inputs](/docs/guides/images)\n- [File inputs](/docs/guides/pdf-files)\n- [Conversation state](/docs/guides/conversation-state)\n- [Function calling](/docs/guides/function-calling)\n","oneOf":[{"description":"A text input to the model, equivalent to a text input with the\n`user` role.\n","title":"Text input","type":"string"},{"description":"A list of one or many input items to the model, containing\ndifferent content types.\n","items":{"$ref":"#/components/schemas/InputItem"},"title":"Input item list","type":"array"}]},"parallel_tool_calls":{"default":true,"description":"Whether to allow the model to run tool calls in parallel.\n","nullable":true,"type":"boolean"},"store":{"default":true,"description":"Whether to store the generated model response for later retrieval via\nAPI.\n","nullable":true,"type":"boolean"},"stream":{"default":false,"description":"Not supported on this proxy. `stream: true` is refused with 400 and the\nrequest is never forwarded upstream; omit the field or send `false` to\nreceive the completed response as a single JSON body.\n\nUpstream, this field would make the model response data be streamed to the\nclient as it is generated using [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).\nSee the [Streaming section below](/docs/api-reference/responses-streaming)\nfor more information.\n","nullable":true,"type":"boolean"},"usage":{"$ref":"#/components/schemas/ResponseUsage"}},"required":["model","input"],"type":"object"}]},"OpenAIImageEditRequest":{"properties":{"background":{"description":"Background transparency","example":"opaque","type":"string"},"image":{"description":"The single image to edit, sent as one multipart file part. Accepted types are png, webp and jpeg, each under 50 MB. Required unless the body instead carries the repeated `image[]` parts below; send one spelling or the other, never both. The size limit is enforced by OpenAI, not by this proxy.","format":"binary","type":"string"},"image[]":{"description":"The images to edit, sent as repeated `image[]` multipart file parts. Accepted types are png, webp and jpeg, each under 50 MB. This is the multi-image alternative to the single `image` part above -- a body carries one spelling or the other, never both. gpt-image-1 and later accept up to 16; that cap and the per-part size limit are enforced by OpenAI, not by this proxy.","items":{"format":"binary","type":"string"},"maxItems":16,"minItems":1,"type":"array"},"mask":{"description":"Optional multipart file part marking the region to edit -- its fully transparent areas mark what the model replaces. It must be a PNG under 4 MB, it must carry an alpha channel, and it must have the same dimensions as the first image part. The size limit is enforced by OpenAI, not by this proxy.","format":"binary","type":"string"},"model":{"description":"The model to use for image editing (e.g., gpt-image-1, gpt-image-1.5, gpt-image-2, gpt-image-2.5-flare, gpt-image-2.5-sunburst, gpt-image-2.6-flare, gpt-image-2.6-sunburst)","example":"gpt-image-2.5-flare","type":"string"},"moderation":{"description":"Content moderation setting","enum":["low","auto"],"example":"auto","type":"string"},"n":{"description":"The number of images to generate (1-10).","example":1,"maximum":10,"minimum":1,"type":"integer"},"output_compression":{"description":"Compression level for JPEG or WebP (0-100)","example":100,"maximum":100,"minimum":0,"type":"integer"},"output_format":{"description":"Format of the output image","enum":["png","webp","jpeg"],"example":"png","type":"string"},"prompt":{"description":"A text description of the desired edit","example":"Give the rocketship rainbow coloring","type":"string"},"quality":{"description":"The quality of the edited image","example":"low","type":"string"},"size":{"description":"Size of the output image","example":"1024x1024","type":"string"},"user":{"description":"A unique identifier for end-user monitoring","example":"user-1234","type":"string"}},"required":["model","prompt"],"type":"object"},"OpenAIImageGenerationRequest":{"example":{"n":1,"prompt":"a red circle","quality":"low","size":"1024x1024"},"properties":{"background":{"description":"Background transparency. `auto` lets the model choose.","enum":["transparent","opaque","auto"],"example":"opaque","type":"string"},"model":{"description":"The model to use for image generation (e.g., gpt-image-1, gpt-image-1.5, gpt-image-2, gpt-image-2.5-flare, gpt-image-2.5-sunburst, gpt-image-2.6-flare, gpt-image-2.6-sunburst)","example":"gpt-image-2.5-flare","type":"string"},"moderation":{"description":"Content moderation setting","enum":["low","auto"],"example":"auto","type":"string"},"n":{"description":"The number of images to generate (1-10).","example":1,"maximum":10,"minimum":1,"type":"integer"},"output_compression":{"description":"Compression level for JPEG or WebP (0-100)","example":100,"maximum":100,"minimum":0,"type":"integer"},"output_format":{"description":"Format of the output image","enum":["png","webp","jpeg"],"example":"png","type":"string"},"partial_images":{"description":"Not supported on this proxy. Partial images are emitted only alongside a live stream, which this proxy does not serve, so any value other than `0` or `null` is refused with 400 and the request is never forwarded upstream; omit the field or send `0` or `null`.","example":0,"maximum":3,"minimum":0,"nullable":true,"type":"integer"},"prompt":{"description":"A text description of the desired image","example":"Draw a rocket in front of a blackhole in deep space","type":"string"},"quality":{"description":"The quality of the generated image. `xhigh` and `max` are the two tiers gpt-image-2.5-flare and gpt-image-2.5-sunburst were added for; `standard` and `hd` are dall-e-era spellings no admitted model reads.","enum":["auto","low","medium","high","xhigh","max","standard","hd"],"example":"high","type":"string"},"response_format":{"deprecated":true,"description":"Response format of image data. No model this operation admits honours it. OpenAI rejects the parameter outright on every gpt-image id -- its own spec says \"This parameter isn't supported for the GPT image models, which always return base64-encoded images\" -- so a body carrying it is a provider 400 on the native path, whichever value it names. On `openai/gpt-image-2`'s alt-provider legs (fal, wavespeed and runware, reached by `model_provider=` or `fallback_provider`) every one of them only ever returns hosted URLs, so `url` is a no-op and `b64_json` is dropped with disclosure.","enum":["url","b64_json"],"type":"string","x-deprecated-reason":"no model this operation admits honours it. OpenAI rejects `response_format` on every gpt-image id, always returning base64-encoded images; on `openai/gpt-image-2`'s alt-provider legs (fal, wavespeed, runware) `url` is a no-op because each only returns hosted URLs, and `b64_json` is dropped with disclosure."},"size":{"description":"Size of the image (e.g., 1024x1024, 1536x1024, auto)","example":"1024x1536","type":"string"},"stream":{"description":"Not supported on this proxy. `stream: true` is refused with 400 and the request is never forwarded upstream; omit the field or send `false` or `null` to receive the completed generation as a single JSON body. Upstream, this field would stream partial images back as they are generated.","example":false,"nullable":true,"type":"boolean"},"style":{"deprecated":true,"description":"Style of the image. Unused by the gpt-image models this operation admits; it was a dall-e-3-only parameter and those ids were retired when OpenAI shut them down on 2026-05-12.","enum":["vivid","natural"],"example":"vivid","type":"string","x-deprecated-reason":"dall-e-3-only; those model ids were retired on 2026-05-12 and no model this operation still admits reads it."},"user":{"description":"A unique identifier for end-user monitoring","example":"user-1234","type":"string"}},"required":["prompt"],"type":"object"},"OpenAIImageGenerationResponse":{"properties":{"data":{"items":{"properties":{"b64_json":{"description":"Base64 encoded image data","type":"string"},"revised_prompt":{"description":"Revised prompt","type":"string"},"url":{"description":"URL of the image","type":"string"}},"type":"object"},"type":"array"},"usage":{"properties":{"input_tokens":{"type":"integer"},"input_tokens_details":{"properties":{"image_tokens":{"type":"integer"},"text_tokens":{"type":"integer"}},"type":"object"},"output_tokens":{"type":"integer"},"output_tokens_details":{"properties":{"image_tokens":{"type":"integer"},"text_tokens":{"type":"integer"}},"type":"object"},"total_tokens":{"type":"integer"}},"type":"object"}},"type":"object"},"OpenAIModels":{"enum":["gpt-4","gpt-4-0314","gpt-4-0613","gpt-4-32k","gpt-4-32k-0314","gpt-4-32k-0613","gpt-4-0125-preview","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-turbo-preview","gpt-4-1106-preview","gpt-4-vision-preview","gpt-3.5-turbo","gpt-3.5-turbo-16k","gpt-3.5-turbo-0301","gpt-3.5-turbo-0613","gpt-3.5-turbo-1106","gpt-3.5-turbo-0125","gpt-3.5-turbo-16k-0613","gpt-4.1","gpt-4.1-mini","gpt-4.1-nano","gpt-4.1-2025-04-14","gpt-4.1-mini-2025-04-14","gpt-4.1-nano-2025-04-14","o1","o1-mini","o1-preview","o1-pro","o1-2024-12-17","o1-preview-2024-09-12","o1-mini-2024-09-12","o1-pro-2025-03-19","o3","o3-mini","o3-2025-04-16","o3-mini-2025-01-31","o4-mini","o4-mini-2025-04-16","gpt-4o","gpt-4o-mini","gpt-4o-2024-11-20","gpt-4o-2024-08-06","gpt-4o-2024-05-13","gpt-4o-mini-2024-07-18","gpt-4o-audio-preview","gpt-4o-audio-preview-2024-10-01","gpt-4o-audio-preview-2024-12-17","gpt-4o-mini-audio-preview","gpt-4o-mini-audio-preview-2024-12-17","gpt-4o-search-preview","gpt-4o-mini-search-preview","gpt-4o-search-preview-2025-03-11","gpt-4o-mini-search-preview-2025-03-11","computer-use-preview","computer-use-preview-2025-03-11","gpt-5","gpt-5-mini","gpt-5-nano","gpt-5.5","gpt-5.5-pro","gpt-5.6","gpt-5.6-sol","gpt-5.6-terra","gpt-5.6-luna","gpt-6-astra","gpt-6-sol","gpt-6-luna","gpt-6.1-terra","gpt-6.1-sol","chatgpt-4o-latest"],"type":"string"},"OpenAIResponse":{"allOf":[{"$ref":"#/components/schemas/ModelResponseProperties"},{"$ref":"#/components/schemas/ResponseProperties"},{"properties":{"background":{"description":"Whether the model response runs in the background.","type":"boolean"},"billing":{"description":"Billing information for the response.","properties":{"payer":{"description":"The party responsible for paying for the response.","type":"string"}},"type":"object"},"completed_at":{"description":"Unix timestamp (in seconds) of when this Response was completed. Only present when the status is `completed`.","nullable":true,"type":"number"},"created_at":{"description":"Unix timestamp (in seconds) of when this Response was created.","type":"number"},"error":{"allOf":[{"$ref":"#/components/schemas/ResponseError"}],"nullable":true},"frequency_penalty":{"description":"Penalizes new tokens based on their existing frequency in the text so far.","type":"number"},"id":{"description":"Unique identifier for this Response.","type":"string"},"incomplete_details":{"description":"Details about why the response is incomplete.\n","nullable":true,"properties":{"reason":{"description":"The reason why the response is incomplete.","enum":["max_output_tokens","content_filter"],"type":"string"}},"type":"object"},"max_tool_calls":{"description":"The maximum number of total calls to built-in tools that can be processed in a response.","nullable":true,"type":"integer"},"metadata":{"additionalProperties":{"type":"string"},"description":"Set of key-value pairs that can be attached to the response.","nullable":true,"type":"object"},"moderation":{"additionalProperties":true,"description":"Moderation results for the response input and output, if moderated completions were requested.","nullable":true,"type":"object"},"object":{"description":"The object type of this resource - always set to `response`.","enum":["response"],"type":"string","x-stainless-const":true},"output":{"description":"An array of content items generated by the model.\n\n- The length and order of items in the `output` array is dependent\n  on the model's response.\n- Rather than accessing the first item in the `output` array and\n  assuming it's an `assistant` message with the content generated by\n  the model, you might consider using the `output_text` property where\n  supported in SDKs.\n","items":{"$ref":"#/components/schemas/OutputItem"},"type":"array"},"output_text":{"description":"SDK-only convenience property that contains the aggregated text output\nfrom all `output_text` items in the `output` array, if any are present.\nSupported in the Python and JavaScript SDKs.\n","nullable":true,"type":"string","x-oaiSupportedSDKs":["python","javascript"]},"parallel_tool_calls":{"default":true,"description":"Whether to allow the model to run tool calls in parallel.\n","type":"boolean"},"presence_penalty":{"description":"Penalizes new tokens based on whether they appear in the text so far.","type":"number"},"prompt_cache_key":{"description":"Used by OpenAI to cache responses for similar requests to optimize cache hit rates. Replaces the `user` field.","nullable":true,"type":"string"},"prompt_cache_retention":{"description":"The retention policy for the prompt cache, e.g. `in_memory` or `24h`.","nullable":true,"type":"string"},"safety_identifier":{"description":"A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.","nullable":true,"type":"string"},"service_tier":{"description":"The processing tier used to serve the request, e.g. `auto`, `default`, `flex`, `scale`, or `priority`.","nullable":true,"type":"string"},"status":{"description":"The status of the response generation. One of `completed`, `failed`, `in_progress`, `cancelled`, `queued`, or `incomplete`.","enum":["completed","failed","in_progress","cancelled","queued","incomplete"],"type":"string"},"store":{"description":"Whether the response is stored for later retrieval via the API.","type":"boolean"},"tool_usage":{"description":"Token and request usage broken down by built-in tool.","properties":{"image_gen":{"description":"Image generation tool token usage.","properties":{"input_tokens":{"type":"integer"},"input_tokens_details":{"properties":{"image_tokens":{"type":"integer"},"text_tokens":{"type":"integer"}},"type":"object"},"output_tokens":{"type":"integer"},"output_tokens_details":{"properties":{"image_tokens":{"type":"integer"},"text_tokens":{"type":"integer"}},"type":"object"},"total_tokens":{"type":"integer"}},"type":"object"},"web_search":{"description":"Web search tool usage.","properties":{"num_requests":{"type":"integer"}},"type":"object"}},"type":"object"},"top_logprobs":{"description":"The maximum number of most likely tokens to return at each token position, each with an associated log probability.","nullable":true,"type":"integer"},"usage":{"$ref":"#/components/schemas/ResponseUsage"},"user":{"description":"Deprecated identifier for the end-user. Replaced by `safety_identifier` and `prompt_cache_key`.","nullable":true,"type":"string"}},"type":"object"}],"description":"A response from the model","type":"object"},"OpenAIResponseStreamEvent":{"anyOf":[{"$ref":"#/components/schemas/ResponseCreatedEvent"},{"$ref":"#/components/schemas/ResponseInProgressEvent"},{"$ref":"#/components/schemas/ResponseCompletedEvent"},{"$ref":"#/components/schemas/ResponseFailedEvent"},{"$ref":"#/components/schemas/ResponseIncompleteEvent"},{"$ref":"#/components/schemas/ResponseOutputItemAddedEvent"},{"$ref":"#/components/schemas/ResponseOutputItemDoneEvent"},{"$ref":"#/components/schemas/ResponseContentPartAddedEvent"},{"$ref":"#/components/schemas/ResponseContentPartDoneEvent"},{"$ref":"#/components/schemas/ResponseErrorEvent"}],"description":"Events that can be emitted during response streaming","type":"object"},"OpenAIVideoCreateRequest":{"properties":{"input_reference":{"description":"Optional image or video reference that guides generation","format":"binary","type":"string"},"model":{"default":"sora-2","description":"The video generation model to use","enum":["sora-2","sora-2-pro"],"type":"string"},"prompt":{"description":"Text prompt that describes the video to generate","example":"A calico cat playing a piano on stage","type":"string"},"seconds":{"default":"4","description":"Clip duration in seconds","enum":["4","8","12"],"type":"string"},"size":{"default":"720x1280","description":"Output resolution formatted as width x height","enum":["720x1280","1280x720","1024x1792","1792x1024"],"type":"string"}},"required":["prompt"],"type":"object"},"OpenAIVideoJob":{"properties":{"completed_at":{"description":"Unix timestamp (seconds) for when the job completed, if finished","example":1712698600,"type":"integer"},"created_at":{"description":"Unix timestamp (seconds) for when the job was created","example":1712697600,"type":"integer"},"error":{"description":"Error payload that explains why generation failed, if applicable","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Human-readable error message","type":"string"}},"type":"object"},"expires_at":{"description":"Unix timestamp (seconds) for when the downloadable assets expire, if set","example":1712784000,"type":"integer"},"id":{"description":"Unique identifier for the video job","example":"video_123","type":"string"},"model":{"description":"The video generation model that produced the job","example":"sora-2","type":"string"},"object":{"description":"The object type, which is always video","enum":["video"],"example":"video","type":"string"},"progress":{"description":"Approximate completion percentage for the generation task","example":0,"type":"integer"},"quality":{"description":"Quality of the generated video","example":"standard","type":"string"},"remixed_from_video_id":{"description":"Identifier of the source video if this video is a remix","example":"video_456","type":"string"},"seconds":{"description":"Duration of the generated clip in seconds","example":"8","type":"string"},"size":{"description":"The resolution of the generated video","example":"1024x1808","type":"string"},"status":{"description":"Current lifecycle status of the video job","enum":["queued","in_progress","completed","failed"],"example":"queued","type":"string"}},"type":"object"},"OpenRouterAnthropicCacheControlDirective":{"description":"Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. Currently supported for Anthropic Claude models.","properties":{"ttl":{"$ref":"#/components/schemas/OpenRouterAnthropicCacheControlTtl"},"type":{"$ref":"#/components/schemas/OpenRouterAnthropicCacheControlDirectiveType"}},"required":["type"],"title":"AnthropicCacheControlDirective","type":"object"},"OpenRouterAnthropicCacheControlDirectiveType":{"enum":["ephemeral"],"title":"AnthropicCacheControlDirectiveType","type":"string"},"OpenRouterAnthropicCacheControlTtl":{"enum":["5m","1h"],"title":"AnthropicCacheControlTtl","type":"string"},"OpenRouterBigNumberUnion":{"description":"Price per million prompt tokens","title":"BigNumberUnion","type":"string"},"OpenRouterChatAssistantImages":{"description":"Generated images from image generation models","items":{"$ref":"#/components/schemas/OpenRouterChatAssistantImagesItems"},"title":"ChatAssistantImages","type":"array"},"OpenRouterChatAssistantImagesItems":{"properties":{"image_url":{"$ref":"#/components/schemas/OpenRouterChatAssistantImagesItemsImageUrl"}},"required":["image_url"],"title":"ChatAssistantImagesItems","type":"object"},"OpenRouterChatAssistantImagesItemsImageUrl":{"properties":{"url":{"description":"URL or base64-encoded data of the generated image","type":"string"}},"required":["url"],"title":"ChatAssistantImagesItemsImageUrl","type":"object"},"OpenRouterChatAssistantMessage":{"description":"Assistant message for requests and responses","properties":{"audio":{"$ref":"#/components/schemas/OpenRouterChatAudioOutput"},"content":{"$ref":"#/components/schemas/OpenRouterChatMessagesDiscriminatorMappingAssistantContent"},"images":{"$ref":"#/components/schemas/OpenRouterChatAssistantImages"},"name":{"description":"Optional name for the assistant","type":"string"},"reasoning":{"description":"Reasoning output","nullable":true,"type":"string"},"reasoning_details":{"$ref":"#/components/schemas/OpenRouterChatReasoningDetails"},"refusal":{"description":"Refusal message if content was refused","nullable":true,"type":"string"},"tool_calls":{"description":"Tool calls made by the assistant","items":{"$ref":"#/components/schemas/OpenRouterChatToolCall"},"type":"array"}},"title":"ChatAssistantMessage","type":"object"},"OpenRouterChatAudioOutput":{"description":"Audio output data or reference","properties":{"data":{"description":"Base64 encoded audio data","type":"string"},"expires_at":{"description":"Audio expiration timestamp","type":"integer"},"id":{"description":"Audio output identifier","type":"string"},"transcript":{"description":"Audio transcript","type":"string"}},"title":"ChatAudioOutput","type":"object"},"OpenRouterChatChoice":{"description":"Chat completion choice","properties":{"finish_reason":{"$ref":"#/components/schemas/OpenRouterChatFinishReasonEnum"},"index":{"description":"Choice index","type":"integer"},"logprobs":{"allOf":[{"$ref":"#/components/schemas/OpenRouterChatTokenLogprobs"}],"nullable":true},"message":{"$ref":"#/components/schemas/OpenRouterChatAssistantMessage"}},"required":["finish_reason","index","message"],"title":"ChatChoice","type":"object"},"OpenRouterChatContentCacheControl":{"description":"Cache control for the content part","properties":{"ttl":{"$ref":"#/components/schemas/OpenRouterAnthropicCacheControlTtl"},"type":{"$ref":"#/components/schemas/OpenRouterChatContentCacheControlType"}},"required":["type"],"title":"ChatContentCacheControl","type":"object"},"OpenRouterChatContentCacheControlType":{"enum":["ephemeral"],"title":"ChatContentCacheControlType","type":"string"},"OpenRouterChatContentItems":{"description":"Content part for chat completion messages","oneOf":[{"description":"File content part for document processing","properties":{"file":{"$ref":"#/components/schemas/OpenRouterChatContentItemsDiscriminatorMappingFileFile"},"type":{"description":"Discriminator value: file","enum":["file"],"type":"string"}},"required":["type","file"],"type":"object"},{"description":"Image content part for vision models","properties":{"image_url":{"$ref":"#/components/schemas/OpenRouterChatContentItemsDiscriminatorMappingImageUrlImageUrl"},"type":{"description":"Discriminator value: image_url","enum":["image_url"],"type":"string"}},"required":["type","image_url"],"type":"object"},{"description":"Audio input content part. Supported audio formats vary by provider.","properties":{"input_audio":{"$ref":"#/components/schemas/OpenRouterChatContentItemsDiscriminatorMappingInputAudioInputAudio"},"type":{"description":"Discriminator value: input_audio","enum":["input_audio"],"type":"string"}},"required":["type","input_audio"],"type":"object"},{"description":"Video input content part (legacy format - deprecated)","properties":{"type":{"$ref":"#/components/schemas/OpenRouterLegacyChatContentVideoType"},"video_url":{"$ref":"#/components/schemas/OpenRouterChatContentVideoInput"}},"required":["type","video_url"],"type":"object"},{"description":"Text content part","properties":{"cache_control":{"$ref":"#/components/schemas/OpenRouterChatContentCacheControl"},"text":{"type":"string"},"type":{"$ref":"#/components/schemas/OpenRouterChatContentTextType"}},"required":["type","text"],"type":"object"},{"description":"Video input content part","properties":{"type":{"$ref":"#/components/schemas/OpenRouterChatContentVideoType"},"video_url":{"$ref":"#/components/schemas/OpenRouterChatContentVideoInput"}},"required":["type","video_url"],"type":"object"}],"title":"ChatContentItems"},"OpenRouterChatContentItemsDiscriminatorMappingFileFile":{"properties":{"file_data":{"description":"File content as base64 data URL or URL","type":"string"},"file_id":{"description":"File ID for previously uploaded files","type":"string"},"filename":{"description":"Original filename","type":"string"}},"title":"ChatContentItemsDiscriminatorMappingFileFile","type":"object"},"OpenRouterChatContentItemsDiscriminatorMappingImageUrlImageUrl":{"properties":{"detail":{"$ref":"#/components/schemas/OpenRouterChatContentItemsDiscriminatorMappingImageUrlImageUrlDetail"},"url":{"description":"URL of the image (data: URLs supported)","type":"string"}},"required":["url"],"title":"ChatContentItemsDiscriminatorMappingImageUrlImageUrl","type":"object"},"OpenRouterChatContentItemsDiscriminatorMappingImageUrlImageUrlDetail":{"description":"Image detail level for vision models","enum":["auto","low","high"],"title":"ChatContentItemsDiscriminatorMappingImageUrlImageUrlDetail","type":"string"},"OpenRouterChatContentItemsDiscriminatorMappingInputAudioInputAudio":{"properties":{"data":{"description":"Base64 encoded audio data","type":"string"},"format":{"description":"Audio format (e.g., wav, mp3, flac, m4a, ogg, aiff, aac, pcm16, pcm24). Supported formats vary by provider.","type":"string"}},"required":["data","format"],"title":"ChatContentItemsDiscriminatorMappingInputAudioInputAudio","type":"object"},"OpenRouterChatContentText":{"description":"Text content part","properties":{"cache_control":{"$ref":"#/components/schemas/OpenRouterChatContentCacheControl"},"text":{"type":"string"},"type":{"$ref":"#/components/schemas/OpenRouterChatContentTextType"}},"required":["text","type"],"title":"ChatContentText","type":"object"},"OpenRouterChatContentTextType":{"enum":["text"],"title":"ChatContentTextType","type":"string"},"OpenRouterChatContentVideoInput":{"description":"Video input object","properties":{"url":{"description":"URL of the video (data: URLs supported)","type":"string"}},"required":["url"],"title":"ChatContentVideoInput","type":"object"},"OpenRouterChatContentVideoType":{"enum":["video_url"],"title":"ChatContentVideoType","type":"string"},"OpenRouterChatDebugOptions":{"description":"Debug options for inspecting request transformations (streaming only)","properties":{"echo_upstream_body":{"description":"If true, includes the transformed upstream request body in a debug chunk at the start of the stream. Only works with streaming mode.","type":"boolean"}},"title":"ChatDebugOptions","type":"object"},"OpenRouterChatFinishReasonEnum":{"enum":["tool_calls","stop","length","content_filter","error"],"title":"ChatFinishReasonEnum","type":"string"},"OpenRouterChatFunctionTool":{"description":"Tool definition for function calling (regular function or OpenRouter built-in server tool)","oneOf":[{"$ref":"#/components/schemas/OpenRouterChatFunctionTool0"},{"$ref":"#/components/schemas/OpenRouterDatetimeServerTool"},{"$ref":"#/components/schemas/ImageGenerationServerTool_OpenRouter"},{"$ref":"#/components/schemas/OpenRouterChatSearchModelsServerTool"},{"$ref":"#/components/schemas/OpenRouterWebFetchServerTool"},{"$ref":"#/components/schemas/OpenRouterWebSearchServerTool"},{"$ref":"#/components/schemas/OpenRouterChatWebSearchShorthand"}],"title":"ChatFunctionTool"},"OpenRouterChatFunctionTool0":{"properties":{"cache_control":{"$ref":"#/components/schemas/OpenRouterChatContentCacheControl"},"function":{"$ref":"#/components/schemas/OpenRouterChatFunctionToolOneOf0Function"},"type":{"$ref":"#/components/schemas/OpenRouterChatFunctionToolOneOf0Type"}},"required":["function","type"],"title":"ChatFunctionTool0","type":"object"},"OpenRouterChatFunctionToolOneOf0Function":{"description":"Function definition for tool calling","properties":{"description":{"description":"Function description for the model","type":"string"},"name":{"description":"Function name (a-z, A-Z, 0-9, underscores, dashes, max 64 chars)","type":"string"},"parameters":{"additionalProperties":{"description":"Any type"},"description":"Function parameters as JSON Schema object","type":"object"},"strict":{"description":"Enable strict schema adherence","nullable":true,"type":"boolean"}},"required":["name"],"title":"ChatFunctionToolOneOf0Function","type":"object"},"OpenRouterChatFunctionToolOneOf0Type":{"enum":["function"],"title":"ChatFunctionToolOneOf0Type","type":"string"},"OpenRouterChatJsonSchemaConfig":{"description":"JSON Schema configuration object","properties":{"description":{"description":"Schema description for the model","type":"string"},"name":{"description":"Schema name (a-z, A-Z, 0-9, underscores, dashes, max 64 chars)","type":"string"},"schema":{"additionalProperties":{"description":"Any type"},"description":"JSON Schema object","type":"object"},"strict":{"description":"Enable strict schema adherence","nullable":true,"type":"boolean"}},"required":["name"],"title":"ChatJsonSchemaConfig","type":"object"},"OpenRouterChatMessages":{"description":"Chat completion message with role-based discrimination","oneOf":[{"description":"Assistant message for requests and responses","properties":{"audio":{"$ref":"#/components/schemas/OpenRouterChatAudioOutput"},"content":{"$ref":"#/components/schemas/OpenRouterChatMessagesDiscriminatorMappingAssistantContent"},"images":{"$ref":"#/components/schemas/OpenRouterChatAssistantImages"},"name":{"description":"Optional name for the assistant","type":"string"},"reasoning":{"description":"Reasoning output","nullable":true,"type":"string"},"reasoning_details":{"$ref":"#/components/schemas/OpenRouterChatReasoningDetails"},"refusal":{"description":"Refusal message if content was refused","nullable":true,"type":"string"},"role":{"description":"Discriminator value: assistant","enum":["assistant"],"type":"string"},"tool_calls":{"description":"Tool calls made by the assistant","items":{"$ref":"#/components/schemas/OpenRouterChatToolCall"},"type":"array"}},"required":["role"],"type":"object"},{"description":"Developer message","properties":{"content":{"$ref":"#/components/schemas/OpenRouterChatMessagesDiscriminatorMappingDeveloperContent"},"name":{"description":"Optional name for the developer message","type":"string"},"role":{"description":"Discriminator value: developer","enum":["developer"],"type":"string"}},"required":["role","content"],"type":"object"},{"description":"System message for setting behavior","properties":{"content":{"$ref":"#/components/schemas/OpenRouterChatSystemMessageContent"},"name":{"description":"Optional name for the system message","type":"string"},"role":{"$ref":"#/components/schemas/OpenRouterChatSystemMessageRole"}},"required":["role","content"],"type":"object"},{"description":"Tool response message","properties":{"content":{"$ref":"#/components/schemas/OpenRouterChatToolMessageContent"},"role":{"$ref":"#/components/schemas/OpenRouterChatToolMessageRole"},"tool_call_id":{"description":"ID of the assistant message tool call this message responds to","type":"string"}},"required":["role","content","tool_call_id"],"type":"object"},{"description":"User message","properties":{"content":{"$ref":"#/components/schemas/OpenRouterChatUserMessageContent"},"name":{"description":"Optional name for the user","type":"string"},"role":{"$ref":"#/components/schemas/OpenRouterChatUserMessageRole"}},"required":["role","content"],"type":"object"}],"title":"ChatMessages"},"OpenRouterChatMessagesDiscriminatorMappingAssistantContent":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/OpenRouterChatMessagesDiscriminatorMappingAssistantContent1"},{"description":"Any type"}],"description":"Assistant message content","title":"ChatMessagesDiscriminatorMappingAssistantContent"},"OpenRouterChatMessagesDiscriminatorMappingAssistantContent1":{"items":{"$ref":"#/components/schemas/OpenRouterChatContentItems"},"title":"ChatMessagesDiscriminatorMappingAssistantContent1","type":"array"},"OpenRouterChatMessagesDiscriminatorMappingDeveloperContent":{"description":"Developer message content","oneOf":[{"type":"string"},{"$ref":"#/components/schemas/OpenRouterChatMessagesDiscriminatorMappingDeveloperContent1"}],"title":"ChatMessagesDiscriminatorMappingDeveloperContent"},"OpenRouterChatMessagesDiscriminatorMappingDeveloperContent1":{"items":{"$ref":"#/components/schemas/OpenRouterChatContentText"},"title":"ChatMessagesDiscriminatorMappingDeveloperContent1","type":"array"},"OpenRouterChatModelNames":{"description":"Models to use for completion","items":{"$ref":"#/components/schemas/OpenRouterModelName"},"title":"ChatModelNames","type":"array"},"OpenRouterChatNamedToolChoice":{"description":"Named tool choice for specific function","properties":{"function":{"$ref":"#/components/schemas/OpenRouterChatNamedToolChoiceFunction"},"type":{"$ref":"#/components/schemas/OpenRouterChatNamedToolChoiceType"}},"required":["function","type"],"title":"ChatNamedToolChoice","type":"object"},"OpenRouterChatNamedToolChoiceFunction":{"properties":{"name":{"description":"Function name to call","type":"string"}},"required":["name"],"title":"ChatNamedToolChoiceFunction","type":"object"},"OpenRouterChatNamedToolChoiceType":{"enum":["function"],"title":"ChatNamedToolChoiceType","type":"string"},"OpenRouterChatReasoningDetails":{"description":"Reasoning details for extended thinking models","items":{"$ref":"#/components/schemas/OpenRouterReasoningDetailUnion"},"title":"ChatReasoningDetails","type":"array"},"OpenRouterChatReasoningSummaryVerbosityEnum":{"enum":["auto","concise","detailed"],"title":"ChatReasoningSummaryVerbosityEnum","type":"string"},"OpenRouterChatRequest":{"description":"Chat completion request parameters.\n\n`model` is CALLER-CHOSEN and is not resolved by Comfy Router: the Router model ID `openrouter/chat-completions` names this operation, not a model, and whatever you put in `model` (or in the `models` fallback list) is forwarded to OpenRouter unchanged. Use OpenRouter's own model IDs - `anthropic/claude-sonnet-4.5`, `openai/gpt-5` - which carry characters a `{provider}/{model}` Router ID cannot spell, which is why the operation rather than the model is what Router enumerates. A request with no `model` is rejected with a 400 — and `models` alone does NOT satisfy that: the fallback list is forwarded, but the attribution model is read from `model`, so send `model` and use `models` to say what to fall back to.\n\n`stream` is refused on the `/proxy/` route (`stream: true` is a 400). On Comfy Router it is honoured only while stream-direct is enabled for this model, and the response is then OpenRouter's own `text/event-stream` of chat-completion chunks. Otherwise Comfy Router forces it to `false` on the forwarded request and serves the completed JSON document.","properties":{"cache_control":{"$ref":"#/components/schemas/OpenRouterAnthropicCacheControlDirective"},"debug":{"$ref":"#/components/schemas/OpenRouterChatDebugOptions"},"frequency_penalty":{"description":"Frequency penalty (-2.0 to 2.0)","format":"double","nullable":true,"type":"number"},"image_config":{"$ref":"#/components/schemas/OpenRouterImageConfig"},"logit_bias":{"additionalProperties":{"format":"double","type":"number"},"description":"Token logit bias adjustments","nullable":true,"type":"object"},"logprobs":{"description":"Return log probabilities","nullable":true,"type":"boolean"},"max_completion_tokens":{"description":"Maximum tokens in completion","nullable":true,"type":"integer"},"max_tokens":{"description":"Maximum tokens (deprecated, use max_completion_tokens). Note: some providers enforce a minimum of 16.","nullable":true,"type":"integer"},"messages":{"description":"List of messages for the conversation","items":{"$ref":"#/components/schemas/OpenRouterChatMessages"},"type":"array"},"metadata":{"additionalProperties":{"type":"string"},"description":"Key-value pairs for additional object information (max 16 pairs, 64 char keys, 512 char values)","type":"object"},"modalities":{"description":"Output modalities for the response. Supported values are \"text\", \"image\", and \"audio\".","items":{"$ref":"#/components/schemas/OpenRouterChatRequestModalitiesItems"},"type":"array"},"model":{"$ref":"#/components/schemas/OpenRouterModelName"},"models":{"$ref":"#/components/schemas/OpenRouterChatModelNames"},"parallel_tool_calls":{"description":"Whether to enable parallel function calling during tool use. When true, the model may generate multiple tool calls in a single response.","nullable":true,"type":"boolean"},"plugins":{"description":"Plugins you want to enable for this request, including their settings.","items":{"$ref":"#/components/schemas/OpenRouterChatRequestPluginsItems"},"type":"array"},"presence_penalty":{"description":"Presence penalty (-2.0 to 2.0)","format":"double","nullable":true,"type":"number"},"provider":{"$ref":"#/components/schemas/OpenRouterProviderPreferences"},"reasoning":{"$ref":"#/components/schemas/OpenRouterChatRequestReasoning"},"response_format":{"$ref":"#/components/schemas/OpenRouterChatRequestResponseFormat"},"route":{"description":"Any type"},"seed":{"description":"Random seed for deterministic outputs","nullable":true,"type":"integer"},"service_tier":{"description":"The service tier to use for processing this request.","oneOf":[{"$ref":"#/components/schemas/OpenRouterChatRequestServiceTier"}]},"session_id":{"description":"A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for observability. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.","type":"string"},"stop":{"$ref":"#/components/schemas/OpenRouterChatRequestStop"},"stop_server_tools_when":{"$ref":"#/components/schemas/OpenRouterStopServerToolsWhen"},"stream":{"default":false,"description":"Honoured on Comfy Router when stream-direct is enabled for this model; the response is then OpenRouter's own `text/event-stream` of chat-completion chunks, with `usage` (including `cost`) on the final chunk. Otherwise settled to false. Refused with a 400 on POST /proxy/openrouter/api/v1/chat/completions.","type":"boolean"},"stream_options":{"$ref":"#/components/schemas/OpenRouterChatStreamOptions"},"temperature":{"description":"Sampling temperature (0-2)","format":"double","nullable":true,"type":"number"},"tool_choice":{"$ref":"#/components/schemas/OpenRouterChatToolChoice"},"tools":{"description":"Available tools for function calling","items":{"$ref":"#/components/schemas/OpenRouterChatFunctionTool"},"type":"array"},"top_logprobs":{"description":"Number of top log probabilities to return (0-20)","nullable":true,"type":"integer"},"top_p":{"description":"Nucleus sampling parameter (0-1)","format":"double","nullable":true,"type":"number"},"trace":{"$ref":"#/components/schemas/OpenRouterTraceConfig"},"user":{"description":"Unique user identifier","type":"string"}},"required":["messages"],"title":"ChatRequest","type":"object"},"OpenRouterChatRequestModalitiesItems":{"enum":["text","image","audio"],"title":"ChatRequestModalitiesItems","type":"string"},"OpenRouterChatRequestPluginsItems":{"oneOf":[{"description":"auto-router variant","properties":{"allowed_models":{"description":"List of model patterns to filter which models the auto-router can route between. Supports wildcards (e.g., \"anthropic/*\" matches all Anthropic models). When not specified, uses the default supported models list.","items":{"type":"string"},"type":"array"},"enabled":{"description":"Set to false to disable the auto-router plugin for this request. Defaults to true.","type":"boolean"},"id":{"description":"Discriminator value: auto-router","enum":["auto-router"],"type":"string"}},"required":["id"],"type":"object"},{"description":"context-compression variant","properties":{"enabled":{"description":"Set to false to disable the context-compression plugin for this request. Defaults to true.","type":"boolean"},"engine":{"$ref":"#/components/schemas/OpenRouterContextCompressionEngine"},"id":{"description":"Discriminator value: context-compression","enum":["context-compression"],"type":"string"}},"required":["id"],"type":"object"},{"description":"file-parser variant","properties":{"enabled":{"description":"Set to false to disable the file-parser plugin for this request. Defaults to true.","type":"boolean"},"id":{"description":"Discriminator value: file-parser","enum":["file-parser"],"type":"string"},"pdf":{"$ref":"#/components/schemas/OpenRouterPDFParserOptions"}},"required":["id"],"type":"object"},{"description":"fusion variant","properties":{"analysis_models":{"description":"Slugs of models to run in parallel as the \"expert panel\" the judge analyzes. Each model receives the same user prompt with web_search + web_fetch enabled. Capped at 8 models to bound cost amplification. When omitted, defaults to the Quality preset from the /labs/fusion UI (~anthropic/claude-opus-latest, ~openai/gpt-latest, ~google/gemini-pro-latest).","items":{"type":"string"},"type":"array"},"enabled":{"description":"Set to false to disable the fusion plugin for this request. Defaults to true.","type":"boolean"},"id":{"description":"Discriminator value: fusion","enum":["fusion"],"type":"string"},"max_tool_calls":{"description":"Maximum number of tool-calling steps each panelist (analysis model) and the judge model may take during their agentic web-research loop. Models with web_search/web_fetch enabled iterate until they produce a text response or hit this ceiling. Defaults to 8. Capped at 16.","type":"integer"},"model":{"description":"Slug of the model that performs both the judge step (with web_search + web_fetch) and the final synthesis. When omitted, defaults to the first model in the Quality preset.","type":"string"}},"required":["id"],"type":"object"},{"description":"moderation variant","properties":{"id":{"description":"Discriminator value: moderation","enum":["moderation"],"type":"string"}},"required":["id"],"type":"object"},{"description":"pareto-router variant","properties":{"enabled":{"description":"Set to false to disable the pareto-router plugin for this request. Defaults to true.","type":"boolean"},"id":{"description":"Discriminator value: pareto-router","enum":["pareto-router"],"type":"string"},"min_coding_score":{"description":"Minimum desired coding score between 0 and 1, where 1 is best. Higher values select from stronger coding models (sourced from Artificial Analysis coding percentiles). Maps internally to one of three tiers (low, medium, high). Omit to use the router default tier.","format":"double","type":"number"}},"required":["id"],"type":"object"},{"description":"response-healing variant","properties":{"enabled":{"description":"Set to false to disable the response-healing plugin for this request. Defaults to true.","type":"boolean"},"id":{"description":"Discriminator value: response-healing","enum":["response-healing"],"type":"string"}},"required":["id"],"type":"object"},{"description":"web variant","properties":{"enabled":{"description":"Set to false to disable the web-search plugin for this request. Defaults to true.","type":"boolean"},"engine":{"$ref":"#/components/schemas/OpenRouterWebSearchEngine"},"exclude_domains":{"description":"A list of domains to exclude from web search results. Supports wildcards (e.g. \"*.substack.com\") and path filtering (e.g. \"openai.com/blog\").","items":{"type":"string"},"type":"array"},"id":{"$ref":"#/components/schemas/OpenRouterWebSearchPluginId"},"include_domains":{"description":"A list of domains to restrict web search results to. Supports wildcards (e.g. \"*.substack.com\") and path filtering (e.g. \"openai.com/blog\").","items":{"type":"string"},"type":"array"},"max_results":{"type":"integer"},"max_uses":{"description":"Maximum number of times the model can invoke web search in a single turn. Passed through to native providers that support it (e.g. Anthropic).","type":"integer"},"search_prompt":{"type":"string"},"user_location":{"$ref":"#/components/schemas/OpenRouterWebSearchPluginUserLocation"}},"required":["id"],"type":"object"},{"description":"web-fetch variant","properties":{"allowed_domains":{"description":"Only fetch from these domains.","items":{"type":"string"},"type":"array"},"blocked_domains":{"description":"Never fetch from these domains.","items":{"type":"string"},"type":"array"},"id":{"$ref":"#/components/schemas/OpenRouterWebFetchPluginId"},"max_content_tokens":{"description":"Maximum content length in approximate tokens. Content exceeding this limit is truncated.","type":"integer"},"max_uses":{"description":"Maximum number of web fetches per request. Once exceeded, the tool returns an error.","type":"integer"}},"required":["id"],"type":"object"}],"title":"ChatRequestPluginsItems"},"OpenRouterChatRequestReasoning":{"description":"Configuration options for reasoning models","properties":{"effort":{"description":"Constrains effort on reasoning for reasoning models","oneOf":[{"$ref":"#/components/schemas/OpenRouterChatRequestReasoningEffort"}]},"summary":{"$ref":"#/components/schemas/OpenRouterChatReasoningSummaryVerbosityEnum"}},"title":"ChatRequestReasoning","type":"object"},"OpenRouterChatRequestReasoningEffort":{"description":"Constrains effort on reasoning for reasoning models","enum":["xhigh","high","medium","low","minimal","none"],"title":"ChatRequestReasoningEffort","type":"string"},"OpenRouterChatRequestResponseFormat":{"description":"Response format configuration","oneOf":[{"description":"Custom grammar response format","properties":{"grammar":{"description":"Custom grammar for text generation","type":"string"},"type":{"description":"Discriminator value: grammar","enum":["grammar"],"type":"string"}},"required":["type","grammar"],"type":"object"},{"description":"JSON object response format","properties":{"type":{"$ref":"#/components/schemas/OpenRouterFormatJsonObjectConfigType"}},"required":["type"],"type":"object"},{"description":"JSON Schema response format for structured outputs","properties":{"json_schema":{"$ref":"#/components/schemas/OpenRouterChatJsonSchemaConfig"},"type":{"description":"Discriminator value: json_schema","enum":["json_schema"],"type":"string"}},"required":["type","json_schema"],"type":"object"},{"description":"Python code response format","properties":{"type":{"description":"Discriminator value: python","enum":["python"],"type":"string"}},"required":["type"],"type":"object"},{"description":"Default text response format","properties":{"type":{"description":"Discriminator value: text","enum":["text"],"type":"string"}},"required":["type"],"type":"object"}],"title":"ChatRequestResponseFormat"},"OpenRouterChatRequestServiceTier":{"description":"The service tier to use for processing this request.","enum":["auto","default","flex","priority","scale"],"title":"ChatRequestServiceTier","type":"string"},"OpenRouterChatRequestStop":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"description":"Any type"}],"description":"Stop sequences (up to 4)","title":"ChatRequestStop"},"OpenRouterChatResult":{"description":"Chat completion response, forwarded from OpenRouter unchanged. `model` names the model OpenRouter actually ran, which is the caller's `model` unless a `models` fallback list selected another one. `usage.cost` is what Comfy meters the call on.","example":{"choices":[{"finish_reason":"stop","index":0,"message":{"content":"ok"}}],"created":1750000000,"id":"gen-0000000000-examplecompletion","model":"anthropic/claude-sonnet-4.5","object":"chat.completion","system_fingerprint":null,"usage":{"completion_tokens":128,"cost":0.00123,"prompt_tokens":42,"total_tokens":170}},"properties":{"choices":{"description":"List of completion choices","items":{"$ref":"#/components/schemas/OpenRouterChatChoice"},"type":"array"},"created":{"description":"Unix timestamp of creation","type":"integer"},"id":{"description":"Unique completion identifier","type":"string"},"model":{"description":"Model used for completion","type":"string"},"object":{"$ref":"#/components/schemas/OpenRouterChatResultObject"},"openrouter_metadata":{"$ref":"#/components/schemas/OpenRouterMetadata"},"service_tier":{"description":"The service tier used by the upstream provider for this request","nullable":true,"type":"string"},"system_fingerprint":{"description":"System fingerprint","nullable":true,"type":"string"},"usage":{"$ref":"#/components/schemas/OpenRouterChatUsage"}},"required":["choices","created","id","model","object","system_fingerprint"],"title":"ChatResult","type":"object"},"OpenRouterChatResultObject":{"enum":["chat.completion"],"title":"ChatResultObject","type":"string"},"OpenRouterChatSearchModelsServerTool":{"description":"OpenRouter built-in server tool: searches and filters AI models available on OpenRouter","properties":{"parameters":{"$ref":"#/components/schemas/OpenRouterSearchModelsServerToolConfig"},"type":{"$ref":"#/components/schemas/OpenRouterChatSearchModelsServerToolType"}},"required":["type"],"title":"ChatSearchModelsServerTool","type":"object"},"OpenRouterChatSearchModelsServerToolType":{"enum":["openrouter:experimental__search_models"],"title":"ChatSearchModelsServerToolType","type":"string"},"OpenRouterChatStreamOptions":{"description":"Streaming configuration options","properties":{"include_usage":{"description":"Deprecated: This field has no effect. Full usage details are always included.","type":"boolean"}},"title":"ChatStreamOptions","type":"object"},"OpenRouterChatSystemMessageContent":{"description":"System message content","oneOf":[{"type":"string"},{"$ref":"#/components/schemas/OpenRouterChatSystemMessageContent1"}],"title":"ChatSystemMessageContent"},"OpenRouterChatSystemMessageContent1":{"items":{"$ref":"#/components/schemas/OpenRouterChatContentText"},"title":"ChatSystemMessageContent1","type":"array"},"OpenRouterChatSystemMessageRole":{"enum":["system"],"title":"ChatSystemMessageRole","type":"string"},"OpenRouterChatTokenLogprob":{"description":"Token log probability information","properties":{"bytes":{"description":"UTF-8 bytes of the token","items":{"type":"integer"},"nullable":true,"type":"array"},"logprob":{"description":"Log probability of the token","format":"double","type":"number"},"token":{"description":"The token","type":"string"},"top_logprobs":{"description":"Top alternative tokens with probabilities","items":{"$ref":"#/components/schemas/OpenRouterChatTokenLogprobTopLogprobsItems"},"type":"array"}},"required":["bytes","logprob","token","top_logprobs"],"title":"ChatTokenLogprob","type":"object"},"OpenRouterChatTokenLogprobTopLogprobsItems":{"properties":{"bytes":{"items":{"type":"integer"},"nullable":true,"type":"array"},"logprob":{"format":"double","type":"number"},"token":{"type":"string"}},"required":["bytes","logprob","token"],"title":"ChatTokenLogprobTopLogprobsItems","type":"object"},"OpenRouterChatTokenLogprobs":{"description":"Log probabilities for the completion","properties":{"content":{"description":"Log probabilities for content tokens","items":{"$ref":"#/components/schemas/OpenRouterChatTokenLogprob"},"nullable":true,"type":"array"},"refusal":{"description":"Log probabilities for refusal tokens","items":{"$ref":"#/components/schemas/OpenRouterChatTokenLogprob"},"nullable":true,"type":"array"}},"required":["content"],"title":"ChatTokenLogprobs","type":"object"},"OpenRouterChatToolCall":{"description":"Tool call made by the assistant","properties":{"function":{"$ref":"#/components/schemas/OpenRouterChatToolCallFunction"},"id":{"description":"Tool call identifier","type":"string"},"type":{"$ref":"#/components/schemas/OpenRouterChatToolCallType"}},"required":["function","id","type"],"title":"ChatToolCall","type":"object"},"OpenRouterChatToolCallFunction":{"properties":{"arguments":{"description":"Function arguments as JSON string","type":"string"},"name":{"description":"Function name to call","type":"string"}},"required":["arguments","name"],"title":"ChatToolCallFunction","type":"object"},"OpenRouterChatToolCallType":{"enum":["function"],"title":"ChatToolCallType","type":"string"},"OpenRouterChatToolChoice":{"description":"Tool choice configuration","oneOf":[{"$ref":"#/components/schemas/OpenRouterChatToolChoice0"},{"$ref":"#/components/schemas/OpenRouterChatToolChoice1"},{"$ref":"#/components/schemas/OpenRouterChatToolChoice2"},{"$ref":"#/components/schemas/OpenRouterChatNamedToolChoice"}],"title":"ChatToolChoice"},"OpenRouterChatToolChoice0":{"enum":["none"],"title":"ChatToolChoice0","type":"string"},"OpenRouterChatToolChoice1":{"enum":["auto"],"title":"ChatToolChoice1","type":"string"},"OpenRouterChatToolChoice2":{"enum":["required"],"title":"ChatToolChoice2","type":"string"},"OpenRouterChatToolMessageContent":{"description":"Tool response content","oneOf":[{"type":"string"},{"$ref":"#/components/schemas/OpenRouterChatToolMessageContent1"}],"title":"ChatToolMessageContent"},"OpenRouterChatToolMessageContent1":{"items":{"$ref":"#/components/schemas/OpenRouterChatContentItems"},"title":"ChatToolMessageContent1","type":"array"},"OpenRouterChatToolMessageRole":{"enum":["tool"],"title":"ChatToolMessageRole","type":"string"},"OpenRouterChatUsage":{"description":"Token usage statistics","properties":{"completion_tokens":{"description":"Number of tokens in the completion","type":"integer"},"completion_tokens_details":{"description":"Detailed completion token usage","oneOf":[{"$ref":"#/components/schemas/OpenRouterChatUsageCompletionTokensDetails"}]},"cost":{"description":"Cost of the completion","format":"double","nullable":true,"type":"number"},"cost_details":{"$ref":"#/components/schemas/OpenRouterCostDetails"},"is_byok":{"description":"Whether a request was made using a Bring Your Own Key configuration","type":"boolean"},"prompt_tokens":{"description":"Number of tokens in the prompt","type":"integer"},"prompt_tokens_details":{"description":"Detailed prompt token usage","oneOf":[{"$ref":"#/components/schemas/OpenRouterChatUsagePromptTokensDetails"}]},"total_tokens":{"description":"Total number of tokens","type":"integer"}},"required":["completion_tokens","prompt_tokens","total_tokens"],"title":"ChatUsage","type":"object"},"OpenRouterChatUsageCompletionTokensDetails":{"description":"Detailed completion token usage","properties":{"accepted_prediction_tokens":{"description":"Accepted prediction tokens","nullable":true,"type":"integer"},"audio_tokens":{"description":"Tokens used for audio output","nullable":true,"type":"integer"},"reasoning_tokens":{"description":"Tokens used for reasoning","nullable":true,"type":"integer"},"rejected_prediction_tokens":{"description":"Rejected prediction tokens","nullable":true,"type":"integer"}},"title":"ChatUsageCompletionTokensDetails","type":"object"},"OpenRouterChatUsagePromptTokensDetails":{"description":"Detailed prompt token usage","properties":{"audio_tokens":{"description":"Audio input tokens","type":"integer"},"cache_write_tokens":{"description":"Tokens written to cache. Only returned for models with explicit caching and cache write pricing.","type":"integer"},"cached_tokens":{"description":"Cached prompt tokens","type":"integer"},"video_tokens":{"description":"Video input tokens","type":"integer"}},"title":"ChatUsagePromptTokensDetails","type":"object"},"OpenRouterChatUserMessageContent":{"description":"User message content","oneOf":[{"type":"string"},{"$ref":"#/components/schemas/OpenRouterChatUserMessageContent1"}],"title":"ChatUserMessageContent"},"OpenRouterChatUserMessageContent1":{"items":{"$ref":"#/components/schemas/OpenRouterChatContentItems"},"title":"ChatUserMessageContent1","type":"array"},"OpenRouterChatUserMessageRole":{"enum":["user"],"title":"ChatUserMessageRole","type":"string"},"OpenRouterChatWebSearchShorthand":{"description":"Web search tool using OpenAI Responses API syntax. Automatically converted to openrouter:web_search.","properties":{"allowed_domains":{"description":"Limit search results to these domains. Supported by Exa, Firecrawl, Parallel, and most native providers (Anthropic, OpenAI, xAI). Not supported with Perplexity. Cannot be used with excluded_domains.","items":{"type":"string"},"type":"array"},"engine":{"$ref":"#/components/schemas/OpenRouterWebSearchEngineEnum"},"excluded_domains":{"description":"Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Anthropic, and xAI. Not supported with OpenAI (silently ignored) or Perplexity. Cannot be used with allowed_domains.","items":{"type":"string"},"type":"array"},"max_results":{"description":"Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search.","type":"integer"},"max_total_results":{"description":"Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified.","type":"integer"},"parameters":{"$ref":"#/components/schemas/OpenRouterWebSearchConfig"},"search_context_size":{"$ref":"#/components/schemas/OpenRouterSearchQualityLevel"},"type":{"$ref":"#/components/schemas/OpenRouterChatWebSearchShorthandType"},"user_location":{"$ref":"#/components/schemas/OpenRouterWebSearchUserLocationServerTool"}},"required":["type"],"title":"ChatWebSearchShorthand","type":"object"},"OpenRouterChatWebSearchShorthandType":{"enum":["web_search","web_search_preview","web_search_preview_2025_03_11","web_search_2025_08_26"],"title":"ChatWebSearchShorthandType","type":"string"},"OpenRouterContextCompressionEngine":{"description":"The compression engine to use. Defaults to \"middle-out\".","enum":["middle-out"],"title":"ContextCompressionEngine","type":"string"},"OpenRouterCostDetails":{"description":"Breakdown of upstream inference costs","properties":{"upstream_inference_completions_cost":{"format":"double","type":"number"},"upstream_inference_cost":{"format":"double","nullable":true,"type":"number"},"upstream_inference_prompt_cost":{"format":"double","type":"number"}},"required":["upstream_inference_completions_cost","upstream_inference_prompt_cost"],"title":"CostDetails","type":"object"},"OpenRouterDatetimeServerTool":{"description":"OpenRouter built-in server tool: returns the current date and time","properties":{"parameters":{"$ref":"#/components/schemas/OpenRouterDatetimeServerToolConfig"},"type":{"$ref":"#/components/schemas/OpenRouterDatetimeServerToolType"}},"required":["type"],"title":"DatetimeServerTool","type":"object"},"OpenRouterDatetimeServerToolConfig":{"description":"Configuration for the openrouter:datetime server tool","properties":{"timezone":{"description":"IANA timezone name (e.g. \"America/New_York\"). Defaults to UTC.","type":"string"}},"title":"DatetimeServerToolConfig","type":"object"},"OpenRouterDatetimeServerToolType":{"enum":["openrouter:datetime"],"title":"DatetimeServerToolType","type":"string"},"OpenRouterEndpointInfo":{"properties":{"model":{"type":"string"},"provider":{"type":"string"},"selected":{"type":"boolean"}},"required":["model","provider","selected"],"title":"EndpointInfo","type":"object"},"OpenRouterEndpointsMetadata":{"properties":{"available":{"items":{"$ref":"#/components/schemas/OpenRouterEndpointInfo"},"type":"array"},"total":{"type":"integer"}},"required":["available","total"],"title":"EndpointsMetadata","type":"object"},"OpenRouterFormatJsonObjectConfigType":{"enum":["json_object"],"title":"FormatJsonObjectConfigType","type":"string"},"OpenRouterImageConfig":{"anyOf":[{"additionalProperties":true,"properties":{"aspect_ratio":{"description":"Output aspect ratio, e.g. \"16:9\".","type":"string"},"background":{"description":"Background treatment for the generated image.","type":"string"},"moderation":{"description":"Moderation strength applied to image generation.","type":"string"},"output_compression":{"description":"Compression level for the encoded output.","type":"integer"},"output_format":{"description":"Encoding of the returned image, e.g. \"png\".","type":"string"},"quality":{"description":"Rendering quality preset.","type":"string"},"size":{"description":"Output size, e.g. \"1024x1024\".","type":"string"}},"type":"object"},{"type":"string"},{"format":"double","type":"number"},{"items":{"description":"Any type"},"type":"array"}],"title":"ImageConfig"},"OpenRouterImageData":{"description":"One generated image","properties":{"b64_json":{"description":"Base64-encoded image data. When the response is larger than 1,048,576 bytes, Comfy Router answers `url` in its place. The image stays here when the response is not larger than that, or when its upload to Comfy storage fails.","type":"string"},"media_type":{"description":"MIME type of the image","type":"string"},"url":{"description":"A Comfy-hosted signed URL of the image, given in place of `b64_json` when the response is larger than 1,048,576 bytes. Comfy Router always asks for it; the `/proxy/` route asks for it only when the request sends `Comfy-Asset-Format: url`. A zero-data-retention workspace never gets it: its images stay in `b64_json`. The URL expires 24 hours after the call.","type":"string"}},"title":"OpenRouterImageData","type":"object"},"OpenRouterImageGenerationServerToolConfig":{"description":"Configuration for the openrouter:image_generation server tool. Accepts all image_config params (aspect_ratio, quality, size, background, output_format, output_compression, moderation, etc.) plus a model field.","properties":{"model":{"description":"Which image generation model to use (e.g. \"openai/gpt-5-image\"). Defaults to \"openai/gpt-5-image\".","type":"string"}},"title":"ImageGenerationServerToolConfig","type":"object"},"OpenRouterImageGenerationServerToolOpenRouterType":{"enum":["openrouter:image_generation"],"title":"ImageGenerationServerToolOpenRouterType","type":"string"},"OpenRouterImageRequest":{"description":"Image generation request.\n\n`model` is CALLER-CHOSEN and is not resolved by Comfy Router: the Router model ID `openrouter/images` names this operation, not a model, and the `model` you send is forwarded to OpenRouter unchanged. Use OpenRouter's own model IDs, such as `microsoft/mai-image-2.6`, which carry a `/` that a `{provider}/{model}` Router ID cannot spell. A request with no `model` is rejected with a 400.","properties":{"aspect_ratio":{"description":"Output aspect ratio","type":"string"},"background":{"description":"Background mode","type":"string"},"input_references":{"description":"Reference images for image-to-image generation, as data URLs or HTTP(S) URLs","items":{"properties":{"image_url":{"$ref":"#/components/schemas/OpenRouterChatContentItemsDiscriminatorMappingImageUrlImageUrl"},"type":{"description":"Content part type, always image_url","type":"string"}},"required":["type","image_url"],"type":"object"},"type":"array"},"model":{"description":"The image generation model to use, as an OpenRouter model ID such as `microsoft/mai-image-2.6` or `microsoft/mai-image-2.6-flash`.","type":"string"},"n":{"description":"Number of images to generate","type":"integer"},"output_compression":{"description":"Compression level for webp/jpeg output","type":"integer"},"output_format":{"description":"Output image format","type":"string"},"prompt":{"description":"Text description of the desired image","type":"string"},"provider":{"$ref":"#/components/schemas/OpenRouterProviderPreferences"},"quality":{"description":"Output quality preset","type":"string"},"resolution":{"description":"Output resolution preset","type":"string"},"seed":{"description":"Seed for deterministic generation","type":"integer"},"size":{"description":"Output image size","type":"string"},"stream":{"description":"Enable SSE streaming for partial images. The `/proxy/` route rejects `stream: true` with a 400. Comfy Router sets it to false and serves the request.","type":"boolean"},"user":{"description":"Stable end-user identifier","type":"string"}},"required":["prompt"],"title":"OpenRouterImageRequest","type":"object"},"OpenRouterImageResult":{"description":"Image generation response","example":{"created":1767225600,"data":[{"media_type":"image/png","url":"https://storage.googleapis.com/example-bucket/openrouter-images/example.png"}],"usage":{"completion_tokens":1024,"cost":0.03,"prompt_tokens":12,"total_tokens":1036}},"properties":{"created":{"description":"Unix timestamp of creation","type":"integer"},"data":{"description":"Generated images","items":{"$ref":"#/components/schemas/OpenRouterImageData"},"type":"array"},"usage":{"$ref":"#/components/schemas/OpenRouterImageUsage"}},"title":"OpenRouterImageResult","type":"object"},"OpenRouterImageUsage":{"description":"Image generation usage","properties":{"completion_tokens":{"description":"Tokens generated","type":"integer"},"cost":{"description":"Total USD cost of the request","format":"double","type":"number"},"prompt_tokens":{"description":"Tokens used for the input","type":"integer"},"total_tokens":{"description":"Total tokens for the request","type":"integer"}},"title":"OpenRouterImageUsage","type":"object"},"OpenRouterLegacyChatContentVideoType":{"enum":["input_video"],"title":"LegacyChatContentVideoType","type":"string"},"OpenRouterMetadata":{"properties":{"attempt":{"type":"integer"},"attempts":{"items":{"$ref":"#/components/schemas/OpenRouterRouterAttempt"},"type":"array"},"endpoints":{"$ref":"#/components/schemas/OpenRouterEndpointsMetadata"},"is_byok":{"type":"boolean"},"params":{"$ref":"#/components/schemas/OpenRouterRouterParams"},"pipeline":{"items":{"$ref":"#/components/schemas/OpenRouterPipelineStage"},"type":"array"},"region":{"nullable":true,"type":"string"},"requested":{"type":"string"},"strategy":{"$ref":"#/components/schemas/OpenRouterRoutingStrategy"},"summary":{"type":"string"}},"required":["attempt","endpoints","is_byok","region","requested","strategy","summary"],"title":"OpenRouterMetadata","type":"object"},"OpenRouterModelName":{"description":"Model to use for completion","title":"ModelName","type":"string"},"OpenRouterPDFParserEngine":{"description":"The engine to use for parsing PDF files. \"pdf-text\" is deprecated and automatically redirected to \"cloudflare-ai\".","oneOf":[{"$ref":"#/components/schemas/OpenRouterPdfParserEngine0"},{"$ref":"#/components/schemas/OpenRouterPdfParserEngine1"}],"title":"PDFParserEngine"},"OpenRouterPDFParserOptions":{"description":"Options for PDF parsing.","properties":{"engine":{"$ref":"#/components/schemas/OpenRouterPDFParserEngine"}},"title":"PDFParserOptions","type":"object"},"OpenRouterPdfParserEngine0":{"enum":["mistral-ocr","native","cloudflare-ai"],"title":"PdfParserEngine0","type":"string"},"OpenRouterPdfParserEngine1":{"enum":["pdf-text"],"title":"PdfParserEngine1","type":"string"},"OpenRouterPercentileLatencyCutoffs":{"description":"Percentile-based latency cutoffs. All specified cutoffs must be met for an endpoint to be preferred.","properties":{"p50":{"description":"Maximum p50 latency (seconds)","format":"double","nullable":true,"type":"number"},"p75":{"description":"Maximum p75 latency (seconds)","format":"double","nullable":true,"type":"number"},"p90":{"description":"Maximum p90 latency (seconds)","format":"double","nullable":true,"type":"number"},"p99":{"description":"Maximum p99 latency (seconds)","format":"double","nullable":true,"type":"number"}},"title":"PercentileLatencyCutoffs","type":"object"},"OpenRouterPercentileThroughputCutoffs":{"description":"Percentile-based throughput cutoffs. All specified cutoffs must be met for an endpoint to be preferred.","properties":{"p50":{"description":"Minimum p50 throughput (tokens/sec)","format":"double","nullable":true,"type":"number"},"p75":{"description":"Minimum p75 throughput (tokens/sec)","format":"double","nullable":true,"type":"number"},"p90":{"description":"Minimum p90 throughput (tokens/sec)","format":"double","nullable":true,"type":"number"},"p99":{"description":"Minimum p99 throughput (tokens/sec)","format":"double","nullable":true,"type":"number"}},"title":"PercentileThroughputCutoffs","type":"object"},"OpenRouterPipelineStage":{"properties":{"cost_usd":{"format":"double","nullable":true,"type":"number"},"data":{"additionalProperties":{"description":"Any type"},"type":"object"},"guardrail_id":{"type":"string"},"guardrail_scope":{"type":"string"},"name":{"type":"string"},"summary":{"type":"string"},"type":{"$ref":"#/components/schemas/OpenRouterPipelineStageType"}},"required":["name","type"],"title":"PipelineStage","type":"object"},"OpenRouterPipelineStageType":{"description":"Categorical kind of a pipeline stage. Multiple plugins can share a type (e.g. all guardrail-level plugins emit `guardrail`); the `name` field disambiguates which plugin emitted it.","enum":["guardrail","plugin","server_tools","response_healing","context_compression"],"title":"PipelineStageType","type":"string"},"OpenRouterPreferredMaxLatency":{"anyOf":[{"format":"double","type":"number"},{"$ref":"#/components/schemas/OpenRouterPercentileLatencyCutoffs"},{"description":"Any type"}],"description":"Preferred maximum latency (in seconds). Can be a number (applies to p50) or an object with percentile-specific cutoffs. Endpoints above the threshold(s) may still be used, but are deprioritized in routing. When using fallback models, this may cause a fallback model to be used instead of the primary model if it meets the threshold.","title":"PreferredMaxLatency"},"OpenRouterPreferredMinThroughput":{"anyOf":[{"format":"double","type":"number"},{"$ref":"#/components/schemas/OpenRouterPercentileThroughputCutoffs"},{"description":"Any type"}],"description":"Preferred minimum throughput (in tokens per second). Can be a number (applies to p50) or an object with percentile-specific cutoffs. Endpoints below the threshold(s) may still be used, but are deprioritized in routing. When using fallback models, this may cause a fallback model to be used instead of the primary model if it meets the threshold.","title":"PreferredMinThroughput"},"OpenRouterProviderName":{"enum":["AkashML","AI21","AionLabs","Alibaba","Ambient","Baidu","Amazon Bedrock","Amazon Nova","Anthropic","Arcee AI","AtlasCloud","Avian","Azure","BaseTen","BytePlus","Black Forest Labs","Cerebras","Chutes","Cirrascale","Clarifai","Cloudflare","Cohere","Crucible","Crusoe","DeepInfra","DeepSeek","DekaLLM","Featherless","Fireworks","Friendli","GMICloud","Google","Google AI Studio","Groq","Hyperbolic","Inception","Inceptron","InferenceNet","Ionstream","Infermatic","Io Net","Inflection","Liquid","Mara","Mancer 2","Minimax","ModelRun","Mistral","Modular","Moonshot AI","Morph","NCompass","Nebius","Nex AGI","NextBit","Novita","Nvidia","OpenAI","OpenInference","Parasail","Poolside","Perceptron","Perplexity","Phala","Recraft","Reka","Relace","SambaNova","Seed","SiliconFlow","Sourceful","StepFun","Stealth","StreamLake","Switchpoint","Together","Upstage","Venice","WandB","Xiaomi","xAI","Z.AI","FakeProvider"],"title":"ProviderName","type":"string"},"OpenRouterProviderPreferences":{"description":"When multiple model providers are available, optionally indicate your routing preference.","properties":{"allow_fallbacks":{"description":"Whether to allow backup providers to serve requests\n- true: (default) when the primary provider (or your custom providers in \"order\") is unavailable, use the next best provider.\n- false: use only the primary/custom provider, and return the upstream error if it's unavailable.\n","nullable":true,"type":"boolean"},"data_collection":{"description":"Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers which store user data non-transiently and may train on it\n\n- deny: use only providers which do not collect user data.","oneOf":[{"$ref":"#/components/schemas/OpenRouterProviderPreferencesDataCollection"}]},"enforce_distillable_text":{"description":"Whether to restrict routing to only models that allow text distillation. When true, only models where the author has allowed distillation will be used.","nullable":true,"type":"boolean"},"ignore":{"description":"List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request.","items":{"$ref":"#/components/schemas/OpenRouterProviderPreferencesIgnoreItems"},"nullable":true,"type":"array"},"max_price":{"$ref":"#/components/schemas/OpenRouterProviderPreferencesMaxPrice"},"only":{"description":"List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request.","items":{"$ref":"#/components/schemas/OpenRouterProviderPreferencesOnlyItems"},"nullable":true,"type":"array"},"order":{"description":"An ordered list of provider slugs. The router will attempt to use the first provider in the subset of this list that supports your requested model, and fall back to the next if it is unavailable. If no providers are available, the request will fail with an error message.","items":{"$ref":"#/components/schemas/OpenRouterProviderPreferencesOrderItems"},"nullable":true,"type":"array"},"preferred_max_latency":{"$ref":"#/components/schemas/OpenRouterPreferredMaxLatency"},"preferred_min_throughput":{"$ref":"#/components/schemas/OpenRouterPreferredMinThroughput"},"quantizations":{"description":"A list of quantization levels to filter the provider by.","items":{"$ref":"#/components/schemas/OpenRouterQuantization"},"nullable":true,"type":"array"},"require_parameters":{"description":"Whether to filter providers to only those that support the parameters you've provided. If this setting is omitted or set to false, then providers will receive only the parameters they support, and ignore the rest.","nullable":true,"type":"boolean"},"sort":{"$ref":"#/components/schemas/OpenRouterProviderPreferencesSort"},"zdr":{"description":"Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.","nullable":true,"type":"boolean"}},"title":"ProviderPreferences","type":"object"},"OpenRouterProviderPreferencesDataCollection":{"description":"Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers which store user data non-transiently and may train on it\n\n- deny: use only providers which do not collect user data.","enum":["deny","allow"],"title":"ProviderPreferencesDataCollection","type":"string"},"OpenRouterProviderPreferencesIgnoreItems":{"anyOf":[{"$ref":"#/components/schemas/OpenRouterProviderName"},{"type":"string"}],"title":"ProviderPreferencesIgnoreItems"},"OpenRouterProviderPreferencesMaxPrice":{"description":"The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.","properties":{"audio":{"$ref":"#/components/schemas/OpenRouterBigNumberUnion"},"completion":{"$ref":"#/components/schemas/OpenRouterBigNumberUnion"},"image":{"$ref":"#/components/schemas/OpenRouterBigNumberUnion"},"prompt":{"$ref":"#/components/schemas/OpenRouterBigNumberUnion"},"request":{"$ref":"#/components/schemas/OpenRouterBigNumberUnion"}},"title":"ProviderPreferencesMaxPrice","type":"object"},"OpenRouterProviderPreferencesOnlyItems":{"anyOf":[{"$ref":"#/components/schemas/OpenRouterProviderName"},{"type":"string"}],"title":"ProviderPreferencesOnlyItems"},"OpenRouterProviderPreferencesOrderItems":{"anyOf":[{"$ref":"#/components/schemas/OpenRouterProviderName"},{"type":"string"}],"title":"ProviderPreferencesOrderItems"},"OpenRouterProviderPreferencesSort":{"anyOf":[{"$ref":"#/components/schemas/OpenRouterProviderSort"},{"$ref":"#/components/schemas/OpenRouterProviderSortConfig"},{"description":"Any type"}],"description":"The sorting strategy to use for this request, if \"order\" is not specified. When set, no load balancing is performed.","title":"ProviderPreferencesSort"},"OpenRouterProviderSort":{"description":"The provider sorting strategy (price, throughput, latency)","enum":["price","throughput","latency","exacto"],"title":"ProviderSort","type":"string"},"OpenRouterProviderSortConfig":{"description":"The provider sorting strategy (price, throughput, latency)","properties":{"by":{"description":"The provider sorting strategy (price, throughput, latency)","oneOf":[{"$ref":"#/components/schemas/OpenRouterProviderSortConfigBy"}]},"partition":{"description":"Partitioning strategy for sorting: \"model\" (default) groups endpoints by model before sorting (fallback models remain fallbacks), \"none\" sorts all endpoints together regardless of model.","oneOf":[{"$ref":"#/components/schemas/OpenRouterProviderSortConfigPartition"}]}},"title":"ProviderSortConfig","type":"object"},"OpenRouterProviderSortConfigBy":{"description":"The provider sorting strategy (price, throughput, latency)","enum":["price","throughput","latency","exacto"],"title":"ProviderSortConfigBy","type":"string"},"OpenRouterProviderSortConfigPartition":{"description":"Partitioning strategy for sorting: \"model\" (default) groups endpoints by model before sorting (fallback models remain fallbacks), \"none\" sorts all endpoints together regardless of model.","enum":["model","none"],"title":"ProviderSortConfigPartition","type":"string"},"OpenRouterQuantization":{"enum":["int4","int8","fp4","fp6","fp8","fp16","bf16","fp32","unknown"],"title":"Quantization","type":"string"},"OpenRouterReasoningDetailUnion":{"anyOf":[{"description":"Reasoning detail encrypted schema","properties":{"data":{"type":"string"},"format":{"$ref":"#/components/schemas/OpenRouterReasoningFormat"},"id":{"nullable":true,"type":"string"},"index":{"type":"integer"},"type":{"description":"Discriminator value: reasoning.encrypted","type":"string"}},"required":["type","data"],"type":"object"},{"description":"Reasoning detail summary schema","properties":{"format":{"$ref":"#/components/schemas/OpenRouterReasoningFormat"},"id":{"nullable":true,"type":"string"},"index":{"type":"integer"},"summary":{"type":"string"},"type":{"description":"Discriminator value: reasoning.summary","type":"string"}},"required":["type","summary"],"type":"object"},{"description":"Reasoning detail text schema","properties":{"format":{"$ref":"#/components/schemas/OpenRouterReasoningFormat"},"id":{"nullable":true,"type":"string"},"index":{"type":"integer"},"signature":{"nullable":true,"type":"string"},"text":{"nullable":true,"type":"string"},"type":{"description":"Discriminator value: reasoning.text","type":"string"}},"required":["type"],"type":"object"}],"description":"Reasoning detail union schema","title":"ReasoningDetailUnion"},"OpenRouterReasoningFormat":{"enum":["unknown","openai-responses-v1","azure-openai-responses-v1","xai-responses-v1","anthropic-claude-v1","google-gemini-v1"],"title":"ReasoningFormat","type":"string"},"OpenRouterRouterAttempt":{"properties":{"model":{"type":"string"},"provider":{"type":"string"},"status":{"type":"integer"}},"required":["model","provider","status"],"title":"RouterAttempt","type":"object"},"OpenRouterRouterParams":{"properties":{"quality_floor":{"format":"double","type":"number"},"throughput_floor":{"format":"double","type":"number"},"version_group":{"type":"string"}},"title":"RouterParams","type":"object"},"OpenRouterRoutingStrategy":{"enum":["direct","auto","free","latest","alias","fallback","pareto","bodybuilder","fusion"],"title":"RoutingStrategy","type":"string"},"OpenRouterSearchModelsServerToolConfig":{"description":"Configuration for the openrouter:experimental__search_models server tool","properties":{"max_results":{"description":"Maximum number of models to return. Defaults to 5, max 20.","type":"integer"}},"title":"SearchModelsServerToolConfig","type":"object"},"OpenRouterSearchQualityLevel":{"description":"How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size.","enum":["low","medium","high"],"title":"SearchQualityLevel","type":"string"},"OpenRouterStopServerToolsWhen":{"description":"Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`.","items":{"$ref":"#/components/schemas/OpenRouterStopServerToolsWhenCondition"},"title":"StopServerToolsWhen","type":"array"},"OpenRouterStopServerToolsWhenCondition":{"description":"A single condition that, when met, halts the server-tool agent loop.","oneOf":[{"description":"Stop when the upstream model emits this finish reason (e.g. `length`).","properties":{"reason":{"type":"string"},"type":{"$ref":"#/components/schemas/OpenRouterStopServerToolsWhenFinishReasonIsType"}},"required":["type","reason"],"type":"object"},{"description":"Stop after a tool with this name has been called.","properties":{"tool_name":{"type":"string"},"type":{"$ref":"#/components/schemas/OpenRouterStopServerToolsWhenHasToolCallType"}},"required":["type","tool_name"],"type":"object"},{"description":"Stop once cumulative cost across the loop exceeds this dollar threshold.","properties":{"max_cost_in_dollars":{"format":"double","type":"number"},"type":{"$ref":"#/components/schemas/OpenRouterStopServerToolsWhenMaxCostType"}},"required":["type","max_cost_in_dollars"],"type":"object"},{"description":"Stop once cumulative token usage across the loop exceeds this threshold.","properties":{"max_tokens":{"type":"integer"},"type":{"$ref":"#/components/schemas/OpenRouterStopServerToolsWhenMaxTokensUsedType"}},"required":["type","max_tokens"],"type":"object"},{"description":"Stop after the agent loop has executed this many steps.","properties":{"step_count":{"type":"integer"},"type":{"$ref":"#/components/schemas/OpenRouterStopServerToolsWhenStepCountIsType"}},"required":["type","step_count"],"type":"object"}],"title":"StopServerToolsWhenCondition"},"OpenRouterStopServerToolsWhenFinishReasonIsType":{"enum":["finish_reason_is"],"title":"StopServerToolsWhenFinishReasonIsType","type":"string"},"OpenRouterStopServerToolsWhenHasToolCallType":{"enum":["has_tool_call"],"title":"StopServerToolsWhenHasToolCallType","type":"string"},"OpenRouterStopServerToolsWhenMaxCostType":{"enum":["max_cost"],"title":"StopServerToolsWhenMaxCostType","type":"string"},"OpenRouterStopServerToolsWhenMaxTokensUsedType":{"enum":["max_tokens_used"],"title":"StopServerToolsWhenMaxTokensUsedType","type":"string"},"OpenRouterStopServerToolsWhenStepCountIsType":{"enum":["step_count_is"],"title":"StopServerToolsWhenStepCountIsType","type":"string"},"OpenRouterTraceConfig":{"description":"Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.","properties":{"generation_name":{"type":"string"},"parent_span_id":{"type":"string"},"span_name":{"type":"string"},"trace_id":{"type":"string"},"trace_name":{"type":"string"}},"title":"TraceConfig","type":"object"},"OpenRouterWebFetchEngineEnum":{"description":"Which fetch engine to use. \"auto\" (default) uses native if the provider supports it, otherwise Exa. \"native\" forces the provider's built-in fetch. \"exa\" uses Exa Contents API. \"openrouter\" uses direct HTTP fetch. \"firecrawl\" uses Firecrawl scrape (requires BYOK).","enum":["auto","native","openrouter","firecrawl","exa"],"title":"WebFetchEngineEnum","type":"string"},"OpenRouterWebFetchPluginId":{"enum":["web-fetch"],"title":"WebFetchPluginId","type":"string"},"OpenRouterWebFetchServerTool":{"description":"OpenRouter built-in server tool: fetches full content from a URL (web page or PDF)","properties":{"parameters":{"$ref":"#/components/schemas/OpenRouterWebFetchServerToolConfig"},"type":{"$ref":"#/components/schemas/OpenRouterWebFetchServerToolType"}},"required":["type"],"title":"WebFetchServerTool","type":"object"},"OpenRouterWebFetchServerToolConfig":{"description":"Configuration for the openrouter:web_fetch server tool","properties":{"allowed_domains":{"description":"Only fetch from these domains.","items":{"type":"string"},"type":"array"},"blocked_domains":{"description":"Never fetch from these domains.","items":{"type":"string"},"type":"array"},"engine":{"$ref":"#/components/schemas/OpenRouterWebFetchEngineEnum"},"max_content_tokens":{"description":"Maximum content length in approximate tokens. Content exceeding this limit is truncated.","type":"integer"},"max_uses":{"description":"Maximum number of web fetches per request. Once exceeded, the tool returns an error.","type":"integer"}},"title":"WebFetchServerToolConfig","type":"object"},"OpenRouterWebFetchServerToolType":{"enum":["openrouter:web_fetch"],"title":"WebFetchServerToolType","type":"string"},"OpenRouterWebSearchConfig":{"properties":{"allowed_domains":{"description":"Limit search results to these domains. Supported by Exa, Firecrawl, Parallel, and most native providers (Anthropic, OpenAI, xAI). Not supported with Perplexity. Cannot be used with excluded_domains.","items":{"type":"string"},"type":"array"},"engine":{"$ref":"#/components/schemas/OpenRouterWebSearchEngineEnum"},"excluded_domains":{"description":"Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Anthropic, and xAI. Not supported with OpenAI (silently ignored) or Perplexity. Cannot be used with allowed_domains.","items":{"type":"string"},"type":"array"},"max_results":{"description":"Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search.","type":"integer"},"max_total_results":{"description":"Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified.","type":"integer"},"search_context_size":{"$ref":"#/components/schemas/OpenRouterSearchQualityLevel"},"user_location":{"$ref":"#/components/schemas/OpenRouterWebSearchUserLocationServerTool"}},"title":"WebSearchConfig","type":"object"},"OpenRouterWebSearchEngine":{"description":"The search engine to use for web search.","enum":["native","exa","firecrawl","parallel"],"title":"WebSearchEngine","type":"string"},"OpenRouterWebSearchEngineEnum":{"description":"Which search engine to use. \"auto\" (default) uses native if the provider supports it, otherwise Exa. \"native\" forces the provider's built-in search. \"exa\" forces the Exa search API. \"firecrawl\" uses Firecrawl (requires BYOK). \"parallel\" uses the Parallel search API.","enum":["auto","native","exa","firecrawl","parallel"],"title":"WebSearchEngineEnum","type":"string"},"OpenRouterWebSearchPluginId":{"enum":["web"],"title":"WebSearchPluginId","type":"string"},"OpenRouterWebSearchPluginUserLocation":{"description":"Approximate user location for location-biased search results. Passed through to native providers that support it (e.g. Anthropic).","properties":{"city":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"timezone":{"nullable":true,"type":"string"},"type":{"$ref":"#/components/schemas/OpenRouterWebSearchPluginUserLocationType"}},"required":["type"],"title":"WebSearchPluginUserLocation","type":"object"},"OpenRouterWebSearchPluginUserLocationType":{"enum":["approximate"],"title":"WebSearchPluginUserLocationType","type":"string"},"OpenRouterWebSearchServerTool":{"description":"OpenRouter built-in server tool: searches the web for current information","properties":{"parameters":{"$ref":"#/components/schemas/OpenRouterWebSearchConfig"},"type":{"$ref":"#/components/schemas/OpenRouterWebSearchServerToolType"}},"required":["type"],"title":"OpenRouterWebSearchServerTool","type":"object"},"OpenRouterWebSearchServerToolType":{"enum":["openrouter:web_search"],"title":"OpenRouterWebSearchServerToolType","type":"string"},"OpenRouterWebSearchUserLocationServerTool":{"description":"Approximate user location for location-biased results.","properties":{"city":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"timezone":{"nullable":true,"type":"string"},"type":{"$ref":"#/components/schemas/OpenRouterWebSearchUserLocationServerToolType"}},"title":"WebSearchUserLocationServerTool","type":"object"},"OpenRouterWebSearchUserLocationServerToolType":{"enum":["approximate"],"title":"WebSearchUserLocationServerToolType","type":"string"},"OutputAudioContent":{"properties":{"data":{"description":"Base64-encoded audio data","type":"string"},"transcript":{"description":"Transcript of the audio","type":"string"},"type":{"description":"The type of output content","enum":["output_audio"],"type":"string"}},"required":["type","data","transcript"],"type":"object"},"OutputContent":{"oneOf":[{"$ref":"#/components/schemas/OutputTextContent"},{"$ref":"#/components/schemas/OutputAudioContent"},{"$ref":"#/components/schemas/RefusalContent"}]},"OutputItem":{"oneOf":[{"$ref":"#/components/schemas/OutputMessage"},{"$ref":"#/components/schemas/FileSearchToolCall"},{"$ref":"#/components/schemas/FunctionToolCall"},{"$ref":"#/components/schemas/WebSearchToolCall"},{"$ref":"#/components/schemas/ComputerToolCall"},{"$ref":"#/components/schemas/ReasoningItem"},{"$ref":"#/components/schemas/ImageGenerationCall"}]},"OutputMessage":{"properties":{"content":{"description":"The content of the message","items":{"$ref":"#/components/schemas/OutputContent"},"type":"array"},"id":{"description":"The unique ID of the output message","type":"string"},"phase":{"description":"Labels an assistant message as intermediate commentary (`commentary`) or the final answer (`final_answer`)","type":"string"},"role":{"description":"The role of the message","enum":["assistant"],"type":"string"},"status":{"description":"The status of the message, e.g. `in_progress`, `completed`, or `incomplete`","type":"string"},"type":{"description":"The type of output item","enum":["message"],"type":"string"}},"required":["type","role","content"],"type":"object"},"OutputTextContent":{"properties":{"annotations":{"description":"Annotations attached to the text content, such as file citations or URL citations","items":{"additionalProperties":true,"type":"object"},"type":"array"},"logprobs":{"description":"Log probability information for the output tokens","items":{"additionalProperties":true,"type":"object"},"type":"array"},"text":{"description":"The text content","type":"string"},"type":{"description":"The type of output content","enum":["output_text"],"type":"string"}},"required":["type","text"],"type":"object"},"PartnerModelInventory":{"description":"The deployed Comfy Router catalog as this pod serves it, plus, when include_realtime was requested, canonical realtime session ids from this pod's allowlist. Realtime ids are not part of GET /v2/models.\n","properties":{"deployed_version":{"description":"Image tag this pod runs (DD_VERSION); empty when unset.","type":"string"},"embargo_enabled":{"description":"Whether the partner-model embargo is switched on for this pod; while false, every model's embargoed is false because nothing is checked, not because nothing is held.","type":"boolean"},"generated_at":{"description":"When this report was assembled (UTC).","format":"date-time","type":"string"},"models":{"description":"Synchronous Router catalog ids in catalog order, then, when include_realtime was requested, canonical realtime session ids in id order. A realtime id that is already a catalog id is not repeated.\n","items":{"$ref":"#/components/schemas/PartnerModelInventoryModel"},"type":"array"}},"required":["deployed_version","embargo_enabled","generated_at","models"],"type":"object"},"PartnerModelInventoryAltLeg":{"properties":{"authored_schema":{"description":"Whether this leg's alias id has an AUTHORED Router input schema, which the translated body is validated against before dispatch; false for a permissive alias document.","type":"boolean"},"billed_model":{"description":"The model this leg is metered under, which the rate card is keyed on; differs from pricing_key on alias legs.","type":"string"},"billing_probe":{"$ref":"#/components/schemas/PartnerModelInventoryBillingProbe"},"blocking_metric":{"$ref":"#/components/schemas/PartnerModelInventoryBlockingMetric"},"catalog_id":{"type":"string"},"direct_gated":{"description":"Whether this leg's own alias id (provider/catalog_id) is served on a direct call only to a caller its provider gate admits (the provider's PostHog ramp, BE-20913), refused with the embargo's 403 otherwise; while direct_held_unpublished is also true the compiled hold refuses that id first.","type":"boolean"},"direct_held":{"description":"Whether this leg is published through model_provider= on its native model only, with its own alias id (provider/catalog_id) kept embargoed and refused on a direct call even when the embargo set never loaded.","type":"boolean"},"direct_held_unpublished":{"description":"Whether this leg is priced but not yet published, with its own alias id (provider/catalog_id) refused on a direct call by compiled code (and strict_mode=true refused on model_provider=) whatever the embargo says (BE-20630); model_provider= and the fallback walk are held by the provider gate.","type":"boolean"},"embargo_reason":{"description":"The hold's reason, when embargoed.","type":"string"},"embargoed":{"description":"Whether the deployed partner-model embargo holds this leg's own alias id (provider/catalog_id), read off the same embargo snapshot as the model's embargoed; always false while embargo_enabled is false.","type":"boolean"},"priced_live":{"description":"Whether this endpoint's billing reaches at least one live rate on the loaded rate card — billed_model carries a model-keyed rate, or billing_probe reaches an active, entitled, priced row on a product grouped on another dimension (endpoint, resolution, …).","type":"boolean"},"priced_reason":{"description":"The coverage reason the dimension-aware probe's priced_live rests on — e.g. priced, sibling_partition, priced_by_sibling_metric:\u003cmetric\u003e, no_product, no_rate_row, not_entitled, no_price, no_metric, metric_requires_unprobed_dimension:\u003cproperty\u003e. Absent when billed_model's model-keyed rate answered priced_live, or when no probe was asked.","type":"string"},"priced_via":{"description":"The products of every metric billing_probe matches outright that resolve a live, entitled, priced row for it. Filled from the dimension-aware probe only, so absent when billed_model's model-keyed rate answered priced_live.","items":{"$ref":"#/components/schemas/PartnerModelInventoryPricedProduct"},"type":"array"},"pricing_key":{"description":"Pricing key of the model's serving endpoint on this leg's provider; empty when none is declared.","type":"string"},"provider":{"type":"string"},"published":{"type":"boolean"},"unpriced":{"type":"boolean"},"unpriced_products":{"description":"The products of every metric billing_probe matches outright that resolve no row, a non-entitled row or a price-less row for it. priced_live can still be true beside them when another matched metric prices the identity on every product it binds (the bfl / freepik cost-metered shape).","items":{"$ref":"#/components/schemas/PartnerModelInventoryPricedProduct"},"type":"array"}},"required":["provider","catalog_id","published","direct_held","direct_held_unpublished","direct_gated","unpriced","pricing_key","billed_model","priced_live","embargoed","authored_schema"],"type":"object"},"PartnerModelInventoryBillingProbe":{"description":"The identity the provider middleware meters this target under (RouterBillingIdentity) — the probe the billing-coverage verdict and priced_live are keyed on. Absent when the target declares no metered identity. Each of endpoint and model is three-state — a value, an empty string the provider stamps, or not stamped at all (the matching *_unset flag true, value empty).","properties":{"api_name":{"type":"string"},"endpoint":{"type":"string"},"endpoint_unset":{"description":"True when the provider stamps no endpoint key at all, which a metric's exists filter reads differently from an empty string.","type":"boolean"},"model":{"type":"string"},"model_unset":{"description":"True when the provider stamps no model key at all, which a metric's exists filter reads differently from an empty string.","type":"boolean"}},"required":["api_name","endpoint","endpoint_unset","model","model_unset"],"type":"object"},"PartnerModelInventoryBlockingMetric":{"description":"The billable metric an unpriced priced_reason rests on — the metric the coverage walk tripped on (no_product, no_rate_row, not_entitled, no_price, missing_dimension:*) or whose dimension billing_probe cannot carry (metric_requires_unprobed_dimension:*). Absent whenever priced_live is true and on a reason that names no metric (no_metric).","properties":{"id":{"description":"The metric's live id on this environment's card; absent when the name alone does not pick out one metric (two metrics declared under one name).","type":"string"},"name":{"type":"string"}},"required":["name"],"type":"object"},"PartnerModelInventoryEndpoint":{"properties":{"billed_model":{"description":"The model this endpoint is metered under, which the rate card is keyed on; differs from pricing_key on alias legs.","type":"string"},"billing_probe":{"$ref":"#/components/schemas/PartnerModelInventoryBillingProbe"},"blocking_metric":{"$ref":"#/components/schemas/PartnerModelInventoryBlockingMetric"},"operation":{"type":"string"},"priced_live":{"description":"Whether this endpoint's billing reaches at least one live rate on the loaded rate card — billed_model carries a model-keyed rate, or billing_probe reaches an active, entitled, priced row on a product grouped on another dimension (endpoint, resolution, …).","type":"boolean"},"priced_reason":{"description":"The coverage reason the dimension-aware probe's priced_live rests on — e.g. priced, sibling_partition, priced_by_sibling_metric:\u003cmetric\u003e, no_product, no_rate_row, not_entitled, no_price, no_metric, metric_requires_unprobed_dimension:\u003cproperty\u003e. Absent when billed_model's model-keyed rate answered priced_live, or when no probe was asked.","type":"string"},"priced_via":{"description":"The products of every metric billing_probe matches outright that resolve a live, entitled, priced row for it. Filled from the dimension-aware probe only, so absent when billed_model's model-keyed rate answered priced_live.","items":{"$ref":"#/components/schemas/PartnerModelInventoryPricedProduct"},"type":"array"},"pricing_key":{"type":"string"},"return_mode":{"type":"string"},"route":{"description":"The partner proxy route pattern the endpoint dispatches through.","type":"string"},"route_registered":{"description":"Whether route is a key of this pod's published partner proxy map.","type":"boolean"},"serving_provider":{"type":"string"},"unpriced_products":{"description":"The products of every metric billing_probe matches outright that resolve no row, a non-entitled row or a price-less row for it. priced_live can still be true beside them when another matched metric prices the identity on every product it binds (the bfl / freepik cost-metered shape).","items":{"$ref":"#/components/schemas/PartnerModelInventoryPricedProduct"},"type":"array"}},"required":["serving_provider","operation","route","route_registered","return_mode","pricing_key","billed_model","priced_live"],"type":"object"},"PartnerModelInventoryModel":{"properties":{"alt_legs":{"description":"The model's alternate-provider legs.","items":{"$ref":"#/components/schemas/PartnerModelInventoryAltLeg"},"type":"array"},"embargo_reason":{"description":"The hold's reason, when embargoed.","type":"string"},"embargoed":{"description":"Whether the partner-model embargo currently holds this model on any spelling enforcement refuses it on (catalog id, aliases, vendor spellings, route slugs); always false while embargo_enabled is false.","type":"boolean"},"endpoints":{"description":"The model's serving endpoints; empty when the model has no serving declaration.","items":{"$ref":"#/components/schemas/PartnerModelInventoryEndpoint"},"type":"array"},"id":{"description":"Router catalog id, `{owner}/{model}`.","type":"string"},"model":{"type":"string"},"owner":{"type":"string"},"realtime_admission":{"description":"Why this pod's realtime broker refuses a session before embargo and billing. Absent when a session would reach those gates, and absent on synchronous rows. `broker_disabled` is the serving broker's kill switch. `image_input_unscanned` is an endpoint that is not vouched image-free while COMFY_ROUTER_REALTIME_IMAGE_INPUT_ENABLED is off. `leg_unregistered` is a declared broker with no realtime leg. `control_unwired` is an endpoint that may carry image or video while this pod has no CSAM scanner wired, or a leg the partner-model embargo and governance controls were not built for. Not an embargo and not a price.\n","type":"string"},"realtime_allowlist_reason":{"description":"The operator reason stored on this pod's router_realtime_models entry. Present only when route_class is realtime and the entry has one. Free text, not a health verdict.\n","type":"string"},"realtime_owner":{"description":"Governance api_name realtimeOwnerPrefixes declares. Present only when route_class is realtime. It is not the id's first segment when those differ (fal-ai/personaplex is governed as fal).\n","type":"string"},"realtime_route":{"description":"Websocket path, for example /v2/realtime/fal/xai/grok-voice/realtime. Present only when route_class is realtime.\n","type":"string"},"route_class":{"description":"How this pod serves the id. Absent means a synchronous Router catalog id (GET /v2/models and the partner proxy). `realtime` means a websocket session id from this pod's router_realtime_models allowlist that realtimeOwnerPrefixes declares. It is not a public catalog id. The only emitted value is `realtime`.\n","type":"string"}},"required":["id","owner","model","embargoed","endpoints","alt_legs"],"type":"object"},"PartnerModelInventoryPricedProduct":{"description":"One Metronome product a metric matched by billing_probe bills.","properties":{"aggregation":{"description":"\"count\" for a COUNT metric, \"\u003ctype\u003e:\u003caggregation key\u003e\" (e.g. \"sum:cost\") for a keyed one.","type":"string"},"metric":{"type":"string"},"product":{"type":"string"}},"required":["metric","product","aggregation"],"type":"object"},"PartnerNodeGateCounter":{"description":"One live partner-node gate counter key. value is 0 and ttl_seconds is null when the key does not exist.\n","properties":{"key":{"description":"The Redis key backing this counter.","type":"string"},"ttl_seconds":{"description":"Remaining TTL in seconds, rounded UP so a sub-second remainder does not read as an already-expired 0. null when the key is absent OR exists with no expiry — the second case is the leak this endpoint exists to clear, and it is told apart from the first by a non-zero value.\n","format":"int64","nullable":true,"type":"integer"},"value":{"description":"Current counter value; 0 when the key is absent.","format":"int64","type":"integer"}},"required":["key","value","ttl_seconds"],"type":"object"},"PartnerNodeGateTierCounter":{"description":"A PartnerNodeGateCounter tagged with the tier it belongs to.","properties":{"key":{"type":"string"},"tier":{"type":"string"},"ttl_seconds":{"format":"int64","nullable":true,"type":"integer"},"value":{"format":"int64","type":"integer"}},"required":["tier","key","value","ttl_seconds"],"type":"object"},"PartnerSpendBilledWorkspace":{"description":"The wallet a refused /proxy/* call would have charged, which is not necessarily the workspace the caller's UI currently has selected. Deliberately not shared with Router's RouterBilledWorkspace (Router error components stay Router-owned).","properties":{"id":{"description":"The Cloud workspace id. Absent on the legacy rail.","type":"string"},"rail":{"description":"`legacy` when the call bills the caller's pre-workspace Metronome customer, which has no workspace id. Absent for a Cloud workspace.","type":"string"},"type":{"description":"`personal` or `team`. An open string: treat any other value as personal.","type":"string"}},"required":["type"],"type":"object"},"PartnerSpendRefusal":{"description":"The partner-node spend gate's 402 on /proxy/* when the deployment reports wallet facts (otherwise the 402 body is `{\"message\":\"Payment Required\"}`). It names the wallet the refused call would have charged, so a team member on a personal credential can tell their empty personal wallet from the funded team.","properties":{"billed_workspace":{"$ref":"#/components/schemas/PartnerSpendBilledWorkspace"},"credential_kind":{"description":"How the refused request authenticated - `personal_api_key`, `team_api_key`, `personal_session` or `team_session`. Not a permission.","type":"string"},"denied_reason":{"description":"Billing's policy branch - `no_funds` when the billed wallet is empty, `unspecified` when the call was refused without a funds reading saying so. A machine-readable code, not display text.","type":"string"},"error":{"description":"Always `insufficient_credits`.","type":"string"},"error_type":{"description":"Always `insufficient_credits`.","type":"string"},"message":{"description":"Display sentence. Always begins `Payment Required:`, which clients key on.","type":"string"}},"required":["error","message","error_type","denied_reason","billed_workspace","credential_kind"],"type":"object"},"PersonalAccessToken":{"properties":{"createdAt":{"description":"[Output Only]The date and time the token was created.","format":"date-time","type":"string"},"description":{"description":"Optional. A more detailed description of the token's intended use.","type":"string"},"id":{"description":"Unique identifier for the GitCommit","format":"uuid","type":"string"},"name":{"description":"Required. The name of the token. Can be a simple description.","type":"string"},"token":{"description":"[Output Only]. The personal access token. Only returned during creation.","type":"string"}},"type":"object"},"PikaBody_generate_2_2_c2v_generate_2_2_pikascenes_post":{"properties":{"aspectRatio":{"anyOf":[{"maximum":2.5,"minimum":0.4,"type":"number"}],"description":"Aspect ratio (width / height)","title":"Aspectratio"},"duration":{"default":5,"title":"Duration","type":"integer"},"images":{"items":{"format":"binary","type":"string"},"title":"Images","type":"array"},"ingredientsMode":{"enum":["creative","precise"],"title":"Ingredientsmode","type":"string"},"negativePrompt":{"anyOf":[{"type":"string"}],"title":"Negativeprompt"},"promptText":{"anyOf":[{"type":"string"}],"title":"Prompttext"},"resolution":{"default":"1080p","title":"Resolution","type":"string"},"seed":{"anyOf":[{"type":"integer"}],"title":"Seed"}},"required":["ingredientsMode"],"title":"Body_generate_2_2_c2v_generate_2_2_pikascenes_post","type":"object"},"PikaBody_generate_2_2_i2v_generate_2_2_i2v_post":{"properties":{"duration":{"$ref":"#/components/schemas/PikaDurationEnum"},"image":{"format":"binary","nullable":true,"title":"Image","type":"string"},"negativePrompt":{"nullable":true,"title":"Negativeprompt","type":"string"},"promptText":{"nullable":true,"title":"Prompttext","type":"string"},"resolution":{"$ref":"#/components/schemas/PikaResolutionEnum"},"seed":{"nullable":true,"title":"Seed","type":"integer"}},"title":"Body_generate_2_2_i2v_generate_2_2_i2v_post","type":"object"},"PikaBody_generate_2_2_keyframe_generate_2_2_pikaframes_post":{"properties":{"duration":{"maximum":10,"minimum":5,"title":"Duration","type":"integer"},"keyFrames":{"description":"Array of keyframe images","items":{"format":"binary","type":"string"},"title":"Keyframes","type":"array"},"negativePrompt":{"anyOf":[{"type":"string"}],"title":"Negativeprompt"},"promptText":{"title":"Prompttext","type":"string"},"resolution":{"$ref":"#/components/schemas/PikaResolutionEnum"},"seed":{"anyOf":[{"type":"integer"}],"title":"Seed"}},"required":["promptText"],"title":"Body_generate_2_2_keyframe_generate_2_2_pikaframes_post","type":"object"},"PikaBody_generate_2_2_t2v_generate_2_2_t2v_post":{"properties":{"aspectRatio":{"default":1.7777777777777777,"description":"Aspect ratio (width / height)","format":"float","maximum":2.5,"minimum":0.4,"title":"Aspectratio","type":"number"},"duration":{"$ref":"#/components/schemas/PikaDurationEnum"},"negativePrompt":{"nullable":true,"title":"Negativeprompt","type":"string"},"promptText":{"title":"Prompttext","type":"string"},"resolution":{"$ref":"#/components/schemas/PikaResolutionEnum"},"seed":{"nullable":true,"title":"Seed","type":"integer"}},"required":["promptText"],"title":"Body_generate_2_2_t2v_generate_2_2_t2v_post","type":"object"},"PikaBody_generate_pikadditions_generate_pikadditions_post":{"properties":{"image":{"format":"binary","title":"Image","type":"string"},"negativePrompt":{"anyOf":[{"type":"string"}],"title":"Negativeprompt"},"promptText":{"anyOf":[{"type":"string"}],"title":"Prompttext"},"seed":{"anyOf":[{"type":"integer"}],"title":"Seed"},"video":{"format":"binary","title":"Video","type":"string"}},"title":"Body_generate_pikadditions_generate_pikadditions_post","type":"object"},"PikaBody_generate_pikaffects_generate_pikaffects_post":{"properties":{"image":{"format":"binary","title":"Image","type":"string"},"negativePrompt":{"anyOf":[{"type":"string"}],"title":"Negativeprompt"},"pikaffect":{"$ref":"#/components/schemas/Pikaffect"},"promptText":{"anyOf":[{"type":"string"}],"title":"Prompttext"},"seed":{"anyOf":[{"type":"integer"}],"title":"Seed"}},"title":"Body_generate_pikaffects_generate_pikaffects_post","type":"object"},"PikaBody_generate_pikaswaps_generate_pikaswaps_post":{"properties":{"image":{"anyOf":[{"format":"binary","type":"string"}],"title":"Image"},"modifyRegionMask":{"anyOf":[{"format":"binary","type":"string"}],"description":"A mask image that specifies the region to modify, where the mask is white and the background is black","title":"Modifyregionmask"},"modifyRegionRoi":{"anyOf":[{"type":"string"}],"description":"Plaintext description of the object / region to modify","title":"Modifyregionroi"},"negativePrompt":{"anyOf":[{"type":"string"}],"title":"Negativeprompt"},"promptText":{"anyOf":[{"type":"string"}],"title":"Prompttext"},"seed":{"anyOf":[{"type":"integer"}],"title":"Seed"},"video":{"format":"binary","title":"Video","type":"string"}},"title":"Body_generate_pikaswaps_generate_pikaswaps_post","type":"object"},"PikaDurationEnum":{"default":5,"enum":[5,10],"type":"integer"},"PikaGenerateResponse":{"properties":{"video_id":{"title":"Video Id","type":"string"}},"required":["video_id"],"title":"GenerateResponse","type":"object"},"PikaHTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/PikaValidationError"},"title":"Detail","type":"array"}},"title":"HTTPValidationError","type":"object"},"PikaMediaAsset":{"description":"One generated media file.","properties":{"content_type":{"description":"MIME type of the file.","nullable":true,"type":"string"},"url":{"description":"Download URL of the generated file.","type":"string"}},"type":"object"},"PikaMediaH3FlexImageToVideoRequest":{"additionalProperties":false,"description":"Request body for `POST /proxy/pika/v1/media/pika/pika-h3-flex/image-to-video`. Send `image`, `last_frame_image` or both.","example":{"duration":5,"image":"https://example.invalid/pika/first-frame.png","prompt":"The camera slowly pushes in as the leaves begin to sway in the wind","resolution":"480p"},"properties":{"aspect_ratio":{"description":"Output aspect ratio. `auto` picks one from the prompt and the media inputs. Omit it to let Pika choose: `auto` when `rewrite` is on, else the first media input's ratio, else 16:9.","enum":["auto","21:9","16:9","3:2","4:3","5:4","1:1","4:5","3:4","2:3","9:16","9:21"],"type":"string"},"channel_mode":{"default":"mono","description":"Audio stems only. `mono` downmixes before separation; `stereo` keeps both channels. The video's audio does not change.","enum":["stereo","mono"],"type":"string"},"duration":{"default":5,"description":"Video length in whole seconds, 5 to 15.","maximum":15,"minimum":5,"type":"integer"},"image":{"description":"URL of the first-frame image, a static JPEG, PNG or WebP of at most 24 MiB and 40 million pixels.","maxLength":8192,"pattern":"^https?://","type":"string"},"last_frame_image":{"description":"URL of the last-frame image, with the same format and size limits as `image`.","maxLength":8192,"pattern":"^https?://","type":"string"},"output_mode":{"default":"video","description":"`video` returns the video only. `audio-stems` also returns Dialogue, Music and Effect WAV stems in `output.stems`, and adds Pika's per-second stem separation charge.","enum":["video","audio-stems"],"type":"string"},"prompt":{"description":"Text prompt describing the video and its audio.","maxLength":8000,"minLength":1,"type":"string"},"resolution":{"default":"768p","description":"Output resolution. 480p and 768p are native. 1080p, 2k and 4k generate at 768p and then upscale, keeping the audio and frame rate.","enum":["480p","768p","1080p","2k","4k"],"type":"string"},"rewrite":{"default":true,"description":"Improve the prompt before generation. Set it to false to use the prompt as written.","type":"boolean"},"seed":{"default":0,"description":"Seed for the video, 0 or more.","format":"int64","minimum":0,"type":"integer"}},"required":["prompt"],"type":"object"},"PikaMediaH3FlexReference":{"additionalProperties":false,"description":"One reference file for Pika H3 Flex reference-to-video.","properties":{"type":{"description":"The media kind of the file.","enum":["image","video","audio"],"type":"string"},"url":{"description":"URL of the reference file. Images are PNG, JPEG or WebP.","maxLength":8192,"pattern":"^https?://","type":"string"}},"required":["type","url"],"type":"object"},"PikaMediaH3FlexReferenceToVideoRequest":{"additionalProperties":false,"description":"Request body for `POST /proxy/pika/v1/media/pika/pika-h3-flex/reference-to-video`.","example":{"duration":5,"prompt":"The woman from the first image walks through the market from the video, humming the tune from the audio","references":[{"type":"image","url":"https://example.invalid/pika/character.png"}],"resolution":"480p"},"properties":{"aspect_ratio":{"description":"Output aspect ratio. `auto` picks one from the prompt and the media inputs. Omit it to let Pika choose: `auto` when `rewrite` is on, else the first media input's ratio, else 16:9.","enum":["auto","21:9","16:9","3:2","4:3","5:4","1:1","4:5","3:4","2:3","9:16","9:21"],"type":"string"},"channel_mode":{"default":"mono","description":"Audio stems only. `mono` downmixes before separation; `stereo` keeps both channels. The video's audio does not change.","enum":["stereo","mono"],"type":"string"},"duration":{"default":5,"description":"Video length in whole seconds, 5 to 15.","maximum":15,"minimum":5,"type":"integer"},"output_mode":{"default":"video","description":"`video` returns the video only. `audio-stems` also returns Dialogue, Music and Effect WAV stems in `output.stems`, and adds Pika's per-second stem separation charge.","enum":["video","audio-stems"],"type":"string"},"prompt":{"description":"Text prompt describing the video and its audio.","maxLength":8000,"minLength":1,"type":"string"},"references":{"description":"Ordered reference media: up to 9 images, 3 videos and 3 audio files, 12 in total. At least one image or video is required. Each file is at most 24 MiB. Video and audio clips are 2 to 15 seconds, and at most 15 seconds in total per type. Pika bills reference video seconds in addition to output seconds.","items":{"$ref":"#/components/schemas/PikaMediaH3FlexReference"},"maxItems":12,"minItems":1,"type":"array"},"resolution":{"default":"768p","description":"Output resolution. 480p and 768p are native. 1080p, 2k and 4k generate at 768p and then upscale, keeping the audio and frame rate.","enum":["480p","768p","1080p","2k","4k"],"type":"string"},"rewrite":{"default":true,"description":"Improve the prompt before generation. Set it to false to use the prompt as written.","type":"boolean"},"seed":{"default":0,"description":"Seed for the video, 0 or more.","format":"int64","minimum":0,"type":"integer"}},"required":["prompt","references"],"type":"object"},"PikaMediaH3FlexTextToVideoRequest":{"additionalProperties":false,"description":"Request body for `POST /proxy/pika/v1/media/pika/pika-h3-flex/text-to-video`.","example":{"duration":5,"prompt":"A paper boat drifts down a rain-soaked street at dusk while thunder rolls in the distance","resolution":"480p"},"properties":{"aspect_ratio":{"description":"Output aspect ratio. `auto` picks one from the prompt and the media inputs. Omit it to let Pika choose: `auto` when `rewrite` is on, else the first media input's ratio, else 16:9.","enum":["auto","21:9","16:9","3:2","4:3","5:4","1:1","4:5","3:4","2:3","9:16","9:21"],"type":"string"},"channel_mode":{"default":"mono","description":"Audio stems only. `mono` downmixes before separation; `stereo` keeps both channels. The video's audio does not change.","enum":["stereo","mono"],"type":"string"},"duration":{"default":5,"description":"Video length in whole seconds, 5 to 15.","maximum":15,"minimum":5,"type":"integer"},"output_mode":{"default":"video","description":"`video` returns the video only. `audio-stems` also returns Dialogue, Music and Effect WAV stems in `output.stems`, and adds Pika's per-second stem separation charge.","enum":["video","audio-stems"],"type":"string"},"prompt":{"description":"Text prompt describing the video and its audio.","maxLength":8000,"minLength":1,"type":"string"},"resolution":{"default":"768p","description":"Output resolution. 480p and 768p are native. 1080p, 2k and 4k generate at 768p and then upscale, keeping the audio and frame rate.","enum":["480p","768p","1080p","2k","4k"],"type":"string"},"rewrite":{"default":true,"description":"Improve the prompt before generation. Set it to false to use the prompt as written.","type":"boolean"},"seed":{"default":0,"description":"Seed for the video, 0 or more.","format":"int64","minimum":0,"type":"integer"}},"required":["prompt"],"type":"object"},"PikaMediaJob":{"description":"A Pika job.","properties":{"error":{"$ref":"#/components/schemas/PikaMediaJobError"},"id":{"description":"Job id used to poll for status.","type":"string"},"model_id":{"description":"The Pika catalog entry the job ran.","nullable":true,"type":"string"},"output":{"$ref":"#/components/schemas/PikaMediaJobOutput"},"status":{"description":"Job status: queued, running, completed or failed.","type":"string"},"usage":{"additionalProperties":true,"description":"Units Pika reported for the job.","nullable":true,"type":"object"}},"type":"object"},"PikaMediaJobError":{"description":"Set on a `failed` job.","nullable":true,"properties":{"code":{"description":"Machine-readable failure code, such as invalid_input, content_moderation or provider_error.","type":"string"},"message":{"description":"Diagnostic text.","type":"string"}},"type":"object"},"PikaMediaJobOutput":{"description":"The finished job's media, set when `status` is `completed`.","nullable":true,"properties":{"audio":{"$ref":"#/components/schemas/PikaMediaAsset"},"media_type":{"description":"Which field carries the file: video or audio.","type":"string"},"video":{"$ref":"#/components/schemas/PikaMediaAsset"}},"type":"object"},"PikaMediaMusicRequest":{"description":"Request body for `POST /proxy/pika/v1/media/pika/pika-audio/pika-music`.","example":{"duration":30,"mode":"text_to_music","prompt":"warm lo-fi hip hop with soft piano and vinyl crackle"},"properties":{"clean_reference_audio":{"default":false,"description":"Clean the reference audio before use.","type":"boolean"},"duration":{"default":30,"description":"Length of the music in seconds, 10 to 360.","maximum":360,"minimum":10,"type":"number"},"lyrics":{"description":"Lyrics to sing.","type":"string"},"mode":{"default":"text_to_music","description":"Generation mode: text_to_music, voice_conditioned_text_to_music or music_cover.","enum":["text_to_music","voice_conditioned_text_to_music","music_cover"],"type":"string"},"prompt":{"description":"Description of the music.","type":"string"},"reference_audio":{"description":"URL of a voice reference. It needs `voice_consent_attested` set to true.","type":"string"},"rewrite_prompt":{"default":false,"description":"Expand a short prompt with a model before generation.","type":"boolean"},"seed":{"default":-1,"description":"Seed for reproducible output, -1 to 2147483647. -1 picks a random seed.","maximum":2147483647,"minimum":-1,"type":"integer"},"source_audio":{"description":"URL of the source song for `music_cover`.","type":"string"},"voice_consent_attested":{"default":false,"description":"Attests that the caller has the rights to clone the voice in `reference_audio`.","type":"boolean"}},"required":["prompt"],"type":"object"},"PikaMediaSfxRequest":{"description":"Request body for `POST /proxy/pika/v1/media/pika/pika-audio/pika-sfx`.","example":{"duration":2,"prompt":"a wooden door creaking open"},"properties":{"duration":{"default":10,"description":"Length of the sound effect in seconds, 1 to 20.","maximum":20,"minimum":1,"type":"number"},"prompt":{"description":"Description of the sound effect.","type":"string"},"seed":{"default":-1,"description":"Seed for reproducible output, -1 to 2147483647. -1 picks a random seed.","maximum":2147483647,"minimum":-1,"type":"integer"}},"required":["prompt"],"type":"object"},"PikaMediaSoundtrackRequest":{"description":"Request body for `POST /proxy/pika/v1/media/pika/pika-audio/pika-soundtrack`.","example":{"seed":-1,"video":"https://cdn.pika.art/v2/media/uploads/a7112d4d-62ed-4a11-8dee-74e89c2ec037/ae79aabfd458427495cf462f49e1cecc.mp4"},"properties":{"instruction":{"description":"What the audio should be and how it follows the action. Omit it for sound design from the video alone.","type":"string"},"seed":{"default":-1,"description":"Seed from -1 to 2147483647. -1 picks a random seed.","maximum":2147483647,"minimum":-1,"type":"integer"},"video":{"description":"URL of the source video, H.264 or HEVC, at most 1200 seconds and 2 GB.","type":"string"}},"required":["video"],"type":"object"},"PikaResolutionEnum":{"default":"1080p","enum":["1080p","720p"],"type":"string"},"PikaStatusEnum":{"enum":["queued","started","finished"],"type":"string"},"PikaValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location","type":"array"},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object"},"PikaVideoResponse":{"properties":{"id":{"title":"Id","type":"string"},"progress":{"nullable":true,"title":"Progress","type":"integer"},"status":{"$ref":"#/components/schemas/PikaStatusEnum"},"url":{"nullable":true,"title":"Url","type":"string"}},"required":["id","status"],"title":"VideoResponse","type":"object"},"Pikaffect":{"enum":["Cake-ify","Crumble","Crush","Decapitate","Deflate","Dissolve","Explode","Eye-pop","Inflate","Levitate","Melt","Peel","Poke","Squish","Ta-da","Tear"],"type":"string"},"PixverseExtendVideoRequest":{"properties":{"duration":{"maximum":15,"minimum":1,"type":"integer"},"generate_audio_switch":{"default":false,"type":"boolean"},"model":{"type":"string"},"negative_prompt":{"type":"string"},"prompt":{"type":"string"},"quality":{"type":"string"},"seed":{"type":"integer"},"source_video_id":{"type":"integer"},"video_media_id":{"type":"integer"}},"required":["model","duration","quality","prompt"],"type":"object"},"PixverseFusionVideoRequest":{"properties":{"aspect_ratio":{"type":"string"},"duration":{"maximum":15,"minimum":1,"type":"integer"},"generate_audio_switch":{"default":false,"type":"boolean"},"image_references":{"items":{"$ref":"#/components/schemas/PixverseImageReference"},"type":"array"},"model":{"type":"string"},"prompt":{"type":"string"},"quality":{"type":"string"},"seed":{"type":"integer"},"video_references":{"items":{"$ref":"#/components/schemas/PixverseVideoReference"},"type":"array"}},"required":["aspect_ratio","image_references","model","duration","quality","prompt"],"type":"object"},"PixverseImageReference":{"properties":{"img_id":{"type":"integer"},"ref_name":{"type":"string"},"type":{"type":"string"}},"required":["img_id"],"type":"object"},"PixverseImageUploadResponse":{"properties":{"ErrCode":{"type":"integer"},"ErrMsg":{"type":"string"},"Resp":{"properties":{"img_id":{"type":"integer"}},"type":"object"}},"type":"object"},"PixverseImageVideoRequest":{"properties":{"duration":{"maximum":15,"minimum":1,"type":"integer"},"generate_audio_switch":{"default":false,"type":"boolean"},"img_id":{"type":"integer"},"model":{"enum":["v3.5","v6","v6-max"],"type":"string"},"motion_mode":{"enum":["normal","fast"],"type":"string"},"prompt":{"type":"string"},"quality":{"enum":["360p","540p","720p","1080p"],"type":"string"},"seed":{"type":"integer"},"style":{"enum":["anime","3d_animation","clay","comic","cyberpunk"],"type":"string"},"template_id":{"type":"integer"},"water_mark":{"type":"boolean"}},"required":["img_id","model","duration","quality","prompt"],"type":"object"},"PixverseMediaUploadResponse":{"properties":{"ErrCode":{"type":"integer"},"ErrMsg":{"type":"string"},"Resp":{"properties":{"height":{"type":"integer"},"media_id":{"type":"integer"},"media_type":{"type":"string"},"url":{"type":"string"},"width":{"type":"integer"}},"type":"object"}},"type":"object"},"PixverseTextVideoInputs":{"description":"The PixVerse text-to-video fields, shared by the v1 `POST /proxy/pixverse/video/text/generate` request body and the Comfy Router input schema for `pixverse/v3.5`, `pixverse/v6` and `pixverse/v6-max`. See the note above `RecraftImageGenerationInputs` for why the two surfaces share properties but not `required`.\n`required` here is the ROUTER-SAFE floor: `model` is absent from it because Router writes the path's model into the body after routervalidate.Guard has already validated the caller's bytes. The v1 wrapper `PixverseTextVideoRequest` re-adds it.","example":{"aspect_ratio":"16:9","duration":5,"prompt":"a single red maple leaf falling onto still water","quality":"360p"},"properties":{"aspect_ratio":{"enum":["16:9","4:3","1:1","3:4","9:16","2:3","3:2","21:9"],"type":"string"},"duration":{"maximum":15,"minimum":1,"type":"integer"},"generate_audio_switch":{"default":false,"type":"boolean"},"model":{"description":"PixVerse text-to-video model identifier. On the Comfy Router route `POST /v2/models/pixverse/{model}` this field is supplied from the path and may be omitted.","nullable":true,"type":"string"},"motion_mode":{"enum":["normal","fast"],"type":"string"},"negative_prompt":{"type":"string"},"prompt":{"type":"string"},"quality":{"enum":["360p","540p","720p","1080p"],"type":"string"},"seed":{"type":"integer"},"style":{"enum":["anime","3d_animation","clay","comic","cyberpunk"],"type":"string"},"template_id":{"type":"integer"},"water_mark":{"type":"boolean"}},"required":["aspect_ratio","duration","prompt","quality"],"type":"object"},"PixverseTextVideoRequest":{"allOf":[{"$ref":"#/components/schemas/PixverseTextVideoInputs"},{"properties":{"model":{"enum":["v3.5","v6","v6-max"],"type":"string"}},"required":["model"],"type":"object"}],"description":"Request body for the v1 `POST /proxy/pixverse/video/text/generate` operation.\nIt composes `PixverseTextVideoInputs` rather than restating its fields, and adds back the one field only the v1 surface can demand. `model` is load-bearing: this route carries no path segment supplying it, so a caller must send it, whereas the Comfy Router route `POST /v2/models/pixverse/{model}` supplies it from the path and its input schema must neither require nor enum-constrain it.\nRead the note above `PixverseTextVideoInputs` for the full rule and the guards that enforce it.","example":{"aspect_ratio":"16:9","duration":5,"model":"v6","prompt":"a single red maple leaf falling onto still water","quality":"360p"}},"PixverseTransitionVideoRequest":{"properties":{"duration":{"maximum":15,"minimum":1,"type":"integer"},"first_frame_img":{"type":"integer"},"generate_audio_switch":{"default":false,"type":"boolean"},"last_frame_img":{"type":"integer"},"model":{"enum":["v3.5","v6"],"type":"string"},"motion_mode":{"enum":["normal","fast"],"type":"string"},"prompt":{"type":"string"},"quality":{"enum":["360p","540p","720p","1080p"],"type":"string"},"seed":{"type":"integer"},"style":{"enum":["anime","3d_animation","clay","comic","cyberpunk"],"type":"string"},"template_id":{"type":"integer"},"water_mark":{"type":"boolean"}},"required":["first_frame_img","last_frame_img","model","duration","quality","prompt"],"type":"object"},"PixverseVideoReference":{"properties":{"ref_name":{"type":"string"},"source_video_id":{"type":"integer"},"video_media_id":{"type":"integer"}},"type":"object"},"PixverseVideoResponse":{"properties":{"ErrCode":{"type":"integer"},"ErrMsg":{"type":"string"},"Resp":{"properties":{"video_id":{"type":"integer"}},"type":"object"}},"type":"object"},"PixverseVideoResultResponse":{"properties":{"ErrCode":{"type":"integer"},"ErrMsg":{"type":"string"},"Resp":{"properties":{"create_time":{"type":"string"},"credits":{"type":"integer"},"id":{"type":"integer"},"modify_time":{"type":"string"},"negative_prompt":{"type":"string"},"outputHeight":{"type":"integer"},"outputWidth":{"type":"integer"},"prompt":{"type":"string"},"resolution_ratio":{"type":"integer"},"seed":{"type":"integer"},"size":{"type":"integer"},"status":{"description":"Video generation status codes:\n* 1 - Generation successful\n* 5 - Generating\n* 6 - Deleted\n* 7 - Contents moderation failed\n* 8 - Generation failed\n","enum":[1,5,6,7,8],"type":"integer"},"style":{"type":"string"},"url":{"type":"string"}},"type":"object"}},"type":"object"},"PromoCodeResponse":{"properties":{"active":{"description":"Whether the promo code is currently active","type":"boolean"},"code":{"description":"The generated promotional code","type":"string"},"coupon_id":{"description":"The Stripe coupon ID associated with this promo code","type":"string"},"expires_at":{"description":"Unix timestamp when the promo code expires","format":"int64","type":"integer"},"id":{"description":"The Stripe promotion code ID","type":"string"},"max_redemptions":{"description":"Maximum number of times this code can be redeemed","type":"integer"},"metadata":{"additionalProperties":{"type":"string"},"description":"Set of key-value pairs for storing additional information","type":"object"},"times_redeemed":{"description":"Number of times this code has been redeemed","type":"integer"}},"required":["id","code","coupon_id","active"],"type":"object"},"PrunaPVideo2Input":{"description":"P-Video-2 generation parameters. The generation is billed per second of the finished video, measured from the returned file, at a rate set by `resolution` and `draft`. The safety filter is always on; a `disable_safety_filter` value in the request is ignored.","properties":{"aspect_ratio":{"default":"16:9","description":"Aspect ratio: 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 or 1:1. Ignored when `image` is set.","type":"string"},"audio":{"description":"Input audio URI to condition the generation (flac, mp3 or wav). The output length follows the audio.","type":"string"},"draft":{"default":false,"description":"Faster, lower-quality preview, billed at the draft rate.","type":"boolean"},"duration":{"description":"Duration of the generated video in seconds (1-20). When omitted the model chooses the length from the prompt, up to 20 seconds. Ignored when `audio` is set.","maximum":20,"minimum":1,"type":"integer"},"fps":{"default":24,"description":"Frame rate: 24 or 48.","type":"integer"},"image":{"description":"Input image URI for image-to-video (jpg, jpeg, png or webp).","type":"string"},"last_frame_image":{"description":"Reference image URI for the last frame.","type":"string"},"prompt":{"description":"Text prompt for video generation.","type":"string"},"prompt_upsampling":{"default":true,"description":"Rewrite the prompt before generation. Disable it when a `seed` must reproduce a result.","type":"boolean"},"resolution":{"default":"720p","description":"Output resolution: 720p or 1080p.","type":"string"},"save_audio":{"default":true,"description":"Save the video with audio.","type":"boolean"},"seed":{"description":"Random seed for reproducible generation. Random when omitted.","type":"integer"}},"required":["prompt"],"type":"object"},"PrunaPVideo2PredictionRequest":{"description":"Request body for `POST /proxy/pruna/v1/predictions/p-video-2`. The model is fixed by the route, so the body carries only Pruna's `input` object.","example":{"input":{"aspect_ratio":"16:9","draft":false,"duration":2,"fps":24,"prompt":"A single red maple leaf resting on a plain white background.","resolution":"720p"}},"properties":{"input":{"$ref":"#/components/schemas/PrunaPVideo2Input"}},"required":["input"],"type":"object"},"PrunaPVideo2ProAvatarInput":{"description":"P-Video-2-Pro Avatar parameters. The job is billed per second of the returned video, measured from the returned file and rounded down to a whole second, at the rate for `resolution`. The safety filter is always on; an `enable_safety_filter` value in the request is ignored.","properties":{"audio":{"description":"Speech audio URI, 1 second to 3 minutes, at most 64 MiB. It sets the output length. When set, `voice_script` is ignored.","type":"string"},"image":{"description":"Portrait URI, used as the first frame. jpg, png or webp, at most 20 MiB. It sets the aspect ratio.","type":"string"},"prompt":{"default":"The person is talking.","description":"What the video shows.","type":"string"},"prompt_upsampling":{"default":true,"description":"Adds the scene's motion from the portrait to `prompt`.","type":"boolean"},"resolution":{"default":"768p","description":"Output resolution: 480p, 768p, 1080p, 2k or 4k. 1080p, 2k and 4k upscale the 768p video.","type":"string"},"seed":{"description":"Seed for reproducible generation.","type":"integer"},"voice":{"description":"Text-to-speech voice for `voice_script`, for example `Zephyr (Female)`.","type":"string"},"voice_language":{"description":"Text-to-speech language for `voice_script`, for example `English (US)`.","type":"string"},"voice_prompt":{"description":"Delivery instructions for `voice_script` (tone, pacing, accent). Not spoken.","type":"string"},"voice_script":{"description":"Words to speak with text-to-speech when `audio` is not set.","type":"string"}},"required":["image"],"type":"object"},"PrunaPVideo2ProAvatarPredictionRequest":{"description":"Request body for `POST /proxy/pruna/v1/predictions/p-video-2-pro-avatar`. The model is fixed by the route, so the body carries only Pruna's `input` object.","example":{"input":{"audio":"https://example.com/speech.mp3","image":"https://example.com/portrait.png","resolution":"768p"}},"properties":{"input":{"$ref":"#/components/schemas/PrunaPVideo2ProAvatarInput"}},"required":["input"],"type":"object"},"PrunaPVideo2ProReferenceInput":{"description":"P-Video-2-Pro Reference parameters. The job is billed per second of the returned video, measured from the returned file and rounded down to a whole second, at the rate for `resolution` and `mode`. Each reference is billed too: every image (`first_frame_image` and `last_frame_image` included) once, and every video and audio clip per second of its real length, at most `duration` + 0.5 seconds per clip. Video and audio references must be publicly readable http(s) URLs, because their lengths are read before the job is sent. The safety filter is always on; an `enable_safety_filter` value in the request is ignored.","properties":{"aspect_ratio":{"default":"16:9","description":"adaptive, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 or 1:1.","type":"string"},"audio":{"description":"Reference audio URIs. At most 3, 15 seconds combined.","items":{"type":"string"},"type":"array"},"duration":{"default":5,"description":"Output length in seconds.","maximum":15,"minimum":5,"type":"integer"},"first_frame_image":{"description":"Opening frame image URI. Billed as a reference image.","type":"string"},"image":{"description":"Reference image URIs. At most 9, first and last frames included.","items":{"type":"string"},"type":"array"},"keep_audio":{"default":false,"description":"Use the one `audio` reference as the video's soundtrack. Needs exactly one audio reference, which is still billed.","type":"boolean"},"last_frame_image":{"description":"Closing frame image URI. Billed as a reference image.","type":"string"},"mode":{"default":"speed","description":"`speed` or `cost`. The mode sets the rates.","type":"string"},"prompt":{"description":"Text prompt. At least one image or video reference is also required.","type":"string"},"prompt_upsampler":{"default":"turbo","description":"turbo, max or off.","type":"string"},"resolution":{"default":"768p","description":"Output resolution: 480p, 768p, 1080p, 2k or 4k. 1080p, 2k and 4k upscale the 768p video.","type":"string"},"seed":{"description":"Seed for reproducible generation.","type":"integer"},"video":{"description":"Reference video URIs. At most 3, 2 to 15 seconds each, 15 seconds combined.","items":{"type":"string"},"type":"array"}},"required":["prompt"],"type":"object"},"PrunaPVideo2ProReferencePredictionRequest":{"description":"Request body for `POST /proxy/pruna/v1/predictions/p-video-2-pro-reference`. The model is fixed by the route, so the body carries only Pruna's `input` object.","example":{"input":{"duration":5,"image":["https://example.com/woman.png"],"mode":"speed","prompt":"The woman from the image walks through the market.","resolution":"768p"}},"properties":{"input":{"$ref":"#/components/schemas/PrunaPVideo2ProReferenceInput"}},"required":["input"],"type":"object"},"PrunaPVideoUpscaleInput":{"description":"P-Video-Upscale parameters. The job is billed per second of the returned video, measured from the returned file and rounded up to a whole second. The rate is set by `target` and by whether the output frame rate is above 30 fps. When `fps` is omitted, the output keeps the frame rate of `video`, so that rate decides the tier. The safety filter is always on; an `enable_safety_filter` value in the request is ignored.","properties":{"fps":{"description":"Output frame rate (16-60). A rate above the source rate is interpolated. When omitted, the output keeps the source rate.","maximum":60,"minimum":16,"type":"integer"},"target":{"default":"1080p","description":"Output resolution preset: 720p, 1080p, 2k or 4k. The preset sets the pixel area; a video that is not 16:9 keeps its aspect ratio. A video already larger than the target is not downscaled.","enum":["720p","1080p","2k","4k"],"type":"string"},"turbo":{"default":false,"description":"Faster job with slightly lower quality, at the same price.","type":"boolean"},"video":{"description":"Input video URI, at most 512 MiB. It must be a publicly readable http(s) URL when `fps` is omitted, because its frame rate is read before the job is sent.","type":"string"}},"required":["video"],"type":"object"},"PrunaPVideoUpscalePredictionRequest":{"description":"Request body for `POST /proxy/pruna/v1/predictions/p-video-upscale`. The model is fixed by the route, so the body carries only Pruna's `input` object.","example":{"input":{"target":"1080p","video":"https://example.com/source.mp4"}},"properties":{"input":{"$ref":"#/components/schemas/PrunaPVideoUpscaleInput"}},"required":["input"],"type":"object"},"PrunaPredictionModeration":{"description":"Pruna's safety-checker verdict. Present on a failed status when content moderation blocked the prediction.","properties":{"blocked":{"description":"Whether the safety checker blocked the prediction.","type":"boolean"},"can_disable":{"description":"Whether the block comes from a safety filter the request could disable.","type":"boolean"},"categories":{"description":"Content-policy categories that triggered the block, for example sexual.","items":{"type":"string"},"type":"array"},"message":{"description":"Human-readable summary of the block.","type":"string"},"phase":{"description":"What was screened: input (the submitted request) or output (the generated video).","type":"string"},"reason":{"description":"Human-readable reason for the block.","type":"string"}},"type":"object"},"PrunaPredictionResponse":{"description":"Handle of an accepted asynchronous prediction.","properties":{"get_url":{"description":"Pruna's own status URL for the prediction. Poll the proxy status route instead.","type":"string"},"id":{"description":"Prediction id used to poll for status.","type":"string"},"input":{"additionalProperties":true,"description":"The input the prediction was accepted with.","type":"object"},"model":{"description":"The model the prediction runs on.","type":"string"}},"type":"object"},"PrunaPredictionStatusResponse":{"description":"Status of a prediction.","properties":{"error":{"description":"Error message. Present when status is failed.","type":"string"},"generation_url":{"description":"URL of the finished video. Present when status is succeeded.","type":"string"},"message":{"description":"Human-readable progress message.","type":"string"},"moderation":{"$ref":"#/components/schemas/PrunaPredictionModeration"},"status":{"description":"Prediction status: starting, processing, succeeded, failed or canceled.","type":"string"}},"type":"object"},"Publisher":{"properties":{"createdAt":{"description":"The date and time the publisher was created.","format":"date-time","type":"string"},"description":{"type":"string"},"id":{"description":"The unique identifier for the publisher. It's akin to a username. Should be lowercase.","type":"string"},"logo":{"description":"URL to the publisher's logo.","type":"string"},"members":{"description":"A list of members in the publisher.","items":{"$ref":"#/components/schemas/PublisherMember"},"type":"array"},"name":{"type":"string"},"source_code_repo":{"type":"string"},"status":{"$ref":"#/components/schemas/PublisherStatus"},"support":{"type":"string"},"website":{"type":"string"}},"type":"object"},"PublisherMember":{"properties":{"id":{"description":"The unique identifier for the publisher member.","type":"string"},"role":{"description":"The role of the user in the publisher.","type":"string"},"user":{"$ref":"#/components/schemas/PublisherUser"}},"type":"object"},"PublisherStatus":{"enum":["PublisherStatusActive","PublisherStatusBanned"],"type":"string"},"PublisherUser":{"properties":{"email":{"description":"The email address for this user.","type":"string"},"id":{"description":"The unique id for this user.","type":"string"},"name":{"description":"The name for this user.","type":"string"}},"type":"object"},"QuiverImageObject":{"description":"Image input for Quiver AI (URL or base64)","properties":{"base64":{"description":"Base64-encoded image payload","maxLength":16777216,"type":"string"},"url":{"description":"Network image URL. Only http/https URLs allowed.","format":"uri","type":"string"}},"type":"object"},"QuiverImageToSVGRequest":{"description":"Request body for Quiver AI image-to-SVG vectorization","properties":{"auto_crop":{"default":false,"description":"Auto-crop image to the dominant subject before vectorization","type":"boolean"},"image":{"$ref":"#/components/schemas/QuiverImageObject"},"max_output_tokens":{"description":"Maximum number of output tokens","maximum":131072,"minimum":1,"type":"integer"},"model":{"description":"Model identifier for SVG vectorization","example":"arrow-2","type":"string"},"presence_penalty":{"default":0,"description":"Penalty for tokens already present in prior output","maximum":2,"minimum":-2,"nullable":true,"type":"number"},"stream":{"default":false,"description":"Enable Server-Sent Events streaming","type":"boolean"},"target_size":{"description":"Square resize target in pixels","maximum":4096,"minimum":128,"type":"integer"},"temperature":{"default":1,"description":"Sampling temperature","maximum":2,"minimum":0,"type":"number"},"top_p":{"default":1,"description":"Nucleus sampling probability","maximum":1,"minimum":0,"type":"number"}},"required":["model","image"],"type":"object"},"QuiverSVGResponse":{"description":"Response from Quiver AI SVG generation/vectorization","properties":{"created":{"description":"Unix timestamp of creation","type":"integer"},"credits":{"description":"Credit cost for fixed-credit models such as arrow-1.1. Omitted for token-priced models such as arrow-2, which report measured token totals in usage.","minimum":0,"type":"integer"},"data":{"items":{"properties":{"mime_type":{"description":"MIME type of the output","enum":["image/svg+xml"],"type":"string"},"svg":{"description":"Raw SVG markup","type":"string"}},"required":["svg","mime_type"],"type":"object"},"minItems":1,"type":"array"},"id":{"description":"Unique identifier for the generation","type":"string"},"usage":{"description":"Token totals for token-priced models such as arrow-2. Fixed-credit models may report zeros here.","properties":{"input_tokens":{"description":"Input token count for token-priced models.","minimum":0,"type":"integer"},"output_tokens":{"description":"Output token count for token-priced models.","minimum":0,"type":"integer"},"total_tokens":{"description":"Total token count for token-priced models.","minimum":0,"type":"integer"}},"type":"object"}},"required":["id","created","data"],"type":"object"},"QuiverTextToSVGInputs":{"description":"The Quiver AI text-to-SVG fields, shared by the v1 `POST /proxy/quiver/v1/svgs/generations` request body and the Comfy Router input schema for `quiver/arrow-2` and `quiver/arrow-2-telos`. See the note above `RecraftImageGenerationInputs` for why the two surfaces share properties but not `required`.\n`required` here is the ROUTER-SAFE floor: `model` is absent from it because Router writes the path's model into the body after routervalidate.Guard has already validated the caller's bytes. The v1 wrapper `QuiverTextToSVGRequest` re-adds it.","example":{"n":1,"prompt":"A single red maple leaf on a plain white background."},"properties":{"instructions":{"description":"Additional style or formatting guidance","type":"string"},"max_output_tokens":{"description":"Maximum number of output tokens","maximum":131072,"minimum":1,"type":"integer"},"model":{"description":"Model identifier for SVG generation","example":"arrow-2","nullable":true,"type":"string"},"n":{"default":1,"description":"Number of SVGs to generate","maximum":16,"minimum":1,"type":"integer"},"presence_penalty":{"default":0,"description":"Penalty for tokens already present in prior output. Ignored by `arrow-2-telos`, which does not accept sampling parameters; the field is removed from the request before it is forwarded, without an error.","maximum":2,"minimum":-2,"nullable":true,"type":"number"},"prompt":{"description":"Text description of the desired SVG output","type":"string"},"references":{"description":"Optional reference images to guide style/composition. Accepts URL object, base64 object, or URL string shorthand. Runtime limits are model-specific.","items":{"oneOf":[{"$ref":"#/components/schemas/QuiverImageObject"},{"description":"URL string shorthand for a reference image","format":"uri","type":"string"}]},"maxItems":16,"type":"array"},"temperature":{"default":1,"description":"Sampling temperature. Ignored by `arrow-2-telos`, which does not accept sampling parameters; the field is removed from the request before it is forwarded, without an error.","maximum":2,"minimum":0,"type":"number"},"top_p":{"default":1,"description":"Nucleus sampling probability. Ignored by `arrow-2-telos`, which does not accept sampling parameters; the field is removed from the request before it is forwarded, without an error.","maximum":1,"minimum":0,"type":"number"}},"required":["prompt"],"type":"object"},"QuiverTextToSVGRequest":{"allOf":[{"$ref":"#/components/schemas/QuiverTextToSVGInputs"},{"properties":{"model":{"description":"Model identifier for SVG generation","example":"arrow-2","type":"string"}},"required":["model"],"type":"object"}],"description":"Request body for the v1 `POST /proxy/quiver/v1/svgs/generations` operation.\nIt composes `QuiverTextToSVGInputs` rather than restating its fields, and adds back the one field only the v1 surface can demand. `model` is load-bearing: this route carries no path segment supplying it, so a caller must send it, whereas the Comfy Router route `POST /v2/models/quiver/{model}` supplies it from the path and its input schema must neither require nor enum-constrain it.\nRead the note above `QuiverTextToSVGInputs` for the full rule and the guards that enforce it.","example":{"model":"arrow-2","n":1,"prompt":"A single red maple leaf on a plain white background."}},"QwenMultimodalGenerationInputs":{"description":"Request body for a Qwen multimodal image generation or edit. The `example` below is the COMFY ROUTER form and deliberately omits `model`, which Router fills from the `{model}` path segment; a direct v1 call to POST /proxy/qwen/api/v1/services/aigc/multimodal-generation/generation must add `model` to it. One example cannot serve both surfaces - this component is the Router input schema for BOTH qwen spellings, so an example naming either one is refused by the other model's route for naming a different model, while the omitting form is valid on both.","example":{"input":{"messages":[{"content":[{"text":"A single red maple leaf on a plain white background."}],"role":"user"}]}},"properties":{"input":{"description":"The input parameter object containing the request messages","properties":{"messages":{"description":"The request content array. Only single-round conversations are supported, so the array must contain exactly one object","items":{"properties":{"content":{"description":"The message content array. Text-to-image contains one text object; image editing contains 1-3 image objects and one text object","items":{"properties":{"image":{"description":"The URL or Base64 encoded data of an input image. 1-3 images are supported for image editing","type":"string"},"text":{"description":"The positive prompt that describes the image content, style, and composition to generate or edit","type":"string"}},"type":"object"},"maxItems":4,"minItems":1,"not":{"items":{"not":{"required":["text"]}}},"type":"array"},"role":{"description":"The role of the message sender. Must be set to user","enum":["user"],"type":"string"}},"required":["role","content"],"type":"object"},"maxItems":1,"minItems":1,"type":"array"}},"required":["messages"],"type":"object"},"model":{"description":"The ID of the model to call for multimodal image generation and editing. Available values are qwen-image-3.0-pro and qwen-image-3.0. It is NOT in this schema's `required` list because Comfy Router fills it from the `{model}` path segment of /v2/models/qwen/{model}, so a Router caller omits it; a direct v1 call to the /proxy/ route must supply it.","nullable":true,"type":"string"},"parameters":{"description":"Additional parameters to control image generation","properties":{"n":{"default":1,"description":"The number of output images. Range 1-6, default is 1","maximum":6,"minimum":1,"type":"integer"},"negative_prompt":{"description":"The negative prompt that describes content you do not want to appear in the image","type":"string"},"prompt_extend":{"default":true,"description":"Whether to enable intelligent prompt rewriting. Default is true","type":"boolean"},"prompt_extend_mode":{"default":"direct","description":"The prompt rewriting method, direct (default, supported for T2I and I2I) or agent (T2I only)","enum":["direct","agent"],"type":"string"},"seed":{"description":"Random number seed to control randomness. Range [0, 2147483647]","maximum":2147483647,"minimum":0,"type":"integer"},"size":{"description":"The output image resolution in the format width*height, for example 1024*1024. The API accepts a pixel area between 262144 (512*512) and 6553600 (2560*2560) with an aspect ratio between 1:8 and 8:1. If not specified, the model automatically recommends a resolution based on the prompt","type":"string"},"watermark":{"default":false,"description":"Whether to add a watermark. Default is false","type":"boolean"}},"type":"object"}},"required":["input"],"type":"object"},"QwenMultimodalGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/QwenMultimodalGenerationInputs"},{"properties":{"model":{"type":"string"}},"required":["model","input"],"type":"object"}],"description":"Request body for the v1 `POST /proxy/qwen/api/v1/services/aigc/multimodal-generation/generation` proxy.\nIt composes `QwenMultimodalGenerationInputs` rather than restating its fields, and adds back the one field only the v1 surface can demand. `model` is that field: this route carries no path segment supplying it, so a direct caller must send it, whereas the Comfy Router route `POST /v2/models/qwen/{model}` supplies it from the path and its input schema must NOT require it (BE-11167).\nThe component required `model` and `input` from the day the proxy was added (#6280, 2026-08-05) until this family was Router-authored, so this wrapper RESTORES a published requirement rather than inventing one (BE-12265).","example":{"input":{"messages":[{"content":[{"text":"A single red maple leaf on a plain white background."}],"role":"user"}]},"model":"qwen-image-3.0"}},"QwenMultimodalGenerationResponse":{"properties":{"code":{"description":"The error code for the failed request (not returned if request is successful)","type":"string"},"message":{"description":"Detailed information about the failed request (not returned if request is successful)","type":"string"},"output":{"description":"Contains the model generation results","properties":{"choices":{"description":"The list of result options","items":{"properties":{"finish_reason":{"description":"The reason why the task stopped. The value is stop when the task completes normally","type":"string"},"message":{"description":"The message returned by the model","properties":{"content":{"description":"The message content containing the generated image information","items":{"properties":{"image":{"description":"The URL of the generated image in PNG format. The link is valid for 24 hours","type":"string"},"text":{"description":"A textual element returned in place of an image. An element carrying only this field produced NO asset, so a caller keys completion off `image` rather than off the presence of a content element","type":"string"}},"type":"object"},"type":"array"},"role":{"description":"The role of the message. Fixed as assistant","type":"string"}},"type":"object"}},"type":"object"},"type":"array"}},"type":"object"},"request_id":{"description":"Unique request identifier","type":"string"},"usage":{"description":"The resource usage of this call. Only returned on success","properties":{"input_image_count":{"description":"The number of input images in the request. Returns 0 for text-to-image","type":"integer"},"input_image_type":{"description":"The input image billing tier, qima_input_1k or qima_input_2k, determined by the output resolution pixel area","type":"string"},"output_height":{"description":"The height of the final output image in pixels","type":"integer"},"output_image_count":{"description":"The actual number of output images returned","type":"integer"},"output_image_type":{"description":"The output image billing tier, qima_output_1k or qima_output_2k, determined by the output resolution pixel area","type":"string"},"output_width":{"description":"The width of the final output image in pixels","type":"integer"}},"type":"object"}},"type":"object"},"RGBColor":{"description":"RGB color values","example":{"rgb":[255,0,0]},"properties":{"rgb":{"items":{"maximum":255,"minimum":0,"type":"integer"},"maxItems":3,"minItems":3,"type":"array"}},"required":["rgb"],"type":"object"},"Reasoning":{"description":"**o-series models only**\n\nConfiguration options for\n[reasoning models](https://platform.openai.com/docs/guides/reasoning).\n","properties":{"context":{"description":"Controls which reasoning items are rendered back to the model on later turns, e.g. `auto`, `current_turn`, or `all_turns`.","nullable":true,"type":"string"},"effort":{"allOf":[{"$ref":"#/components/schemas/ReasoningEffort"}],"nullable":true},"generate_summary":{"deprecated":true,"description":"**Deprecated:** use `summary` instead.\n\nA summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n","enum":["auto","concise","detailed"],"type":"string"},"mode":{"description":"The reasoning mode used for the response.","type":"string"},"summary":{"description":"A summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n","enum":["auto","concise","detailed"],"nullable":true,"type":"string"}},"title":"Reasoning","type":"object"},"ReasoningEffort":{"default":"medium","description":"**o-series models only**\n\nConstrains effort on reasoning for\n[reasoning models](https://platform.openai.com/docs/guides/reasoning).\nCurrently supported values are `low`, `medium`, and `high`. Reducing\nreasoning effort can result in faster responses and fewer tokens used\non reasoning in a response.\n","enum":["low","medium","high"],"type":"string"},"ReasoningItem":{"description":"A description of the chain of thought used by a reasoning model while generating\na response.\n","properties":{"id":{"description":"The unique identifier of the reasoning content.\n","type":"string"},"status":{"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"type":"string"},"summary":{"description":"Reasoning text contents.\n","items":{"properties":{"text":{"description":"A short summary of the reasoning used by the model when generating\nthe response.\n","type":"string"},"type":{"description":"The type of the object. Always `summary_text`.\n","enum":["summary_text"],"type":"string","x-stainless-const":true}},"required":["type","text"],"type":"object"},"type":"array"},"type":{"description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"type":"string","x-stainless-const":true}},"required":["id","summary","type"],"title":"Reasoning","type":"object"},"RecraftCreateStyleRequest":{"description":"Request body for creating a Recraft style reference","properties":{"file1":{"description":"First image file (PNG, JPG, or WEBP)","format":"binary","type":"string"},"file2":{"description":"Second image file (PNG, JPG, or WEBP)","format":"binary","type":"string"},"file3":{"description":"Third image file (PNG, JPG, or WEBP)","format":"binary","type":"string"},"file4":{"description":"Fourth image file (PNG, JPG, or WEBP)","format":"binary","type":"string"},"file5":{"description":"Fifth image file (PNG, JPG, or WEBP)","format":"binary","type":"string"},"match":{"description":"How closely generations follow the reference images. Recraft defaults it to `precise` for V4 styles.","enum":["regular","precise","flexible"],"type":"string"},"model":{"description":"The Recraft model this style is created FOR. A style records the model passed here, and the returned style_id must be used at generation time with a model of the SAME OUTPUT TYPE — per `RecraftV4CreateStyleNode` (services/ingest/data/object_info.json), Standard and Pro share one style pool, so a raster style works with every Recraft V4 and V4.1 RASTER model and a `*_vector` style with every V4 and V4.1 VECTOR model. It is the raster/vector split that binds, not the exact spelling. That node offers exactly the four `recraftv4_styles*` ids for this field. Deliberately an unconstrained string, like RecraftImageGenerationRequest.model: upstream accepts the seventeen enrolled RecraftGenerationModel spellings plus Recraft's own `_raster` variants, which this spec does not enumerate. Omitted, Recraft defaults it to `recraftv4_styles` — a V4 RASTER spelling, so a vector mint and a V3-era mint must both send this field explicitly rather than rest on the default.","type":"string"},"style":{"description":"The V3-era base style of the generated images. Optional: V4 raster models default it to `any` and vector models to `vector_illustration`, and a V4 Styles `model` must NOT be paired with a V3 base style — that combination is what Recraft answers 4xx `invalid_input` for. Send it only for a V3-shaped mint, and then send `model` explicitly too (e.g. `recraftv3`): with `model` omitted Recraft defaults it to `recraftv4_styles`, so `style` on its own is not a V3 mint at all — it is exactly the rejected V4-model-plus-V3-base-style pairing.","enum":["realistic_image","digital_illustration","vector_illustration","icon"],"type":"string"}},"required":["file1"],"type":"object"},"RecraftCreateStyleResponse":{"description":"Response containing the created style ID","properties":{"id":{"description":"The unique identifier of the created style","format":"uuid","type":"string"}},"required":["id"],"type":"object"},"RecraftGenerateImageResponse":{"properties":{"created":{"type":"integer"},"credits":{"type":"integer"},"data":{"items":{"$ref":"#/components/schemas/RecraftImage"},"type":"array"}},"required":["created","data","credits"],"type":"object"},"RecraftImage":{"properties":{"b64_json":{"type":"string"},"features":{"$ref":"#/components/schemas/RecraftImageFeatures"},"image_id":{"format":"uuid","type":"string"},"revised_prompt":{"type":"string"},"url":{"type":"string"}},"required":["image_id"],"type":"object"},"RecraftImageColor":{"properties":{"rgb":{"items":{"type":"integer"},"type":"array"},"std":{"items":{"type":"number"},"type":"array"},"weight":{"type":"number"}},"type":"object"},"RecraftImageFeatures":{"properties":{"nsfw_score":{"type":"number"}},"type":"object"},"RecraftImageFormat":{"enum":["webp","png"],"type":"string"},"RecraftImageGenerationInputs":{"description":"The Recraft image-generation fields, shared by the v1 `POST /proxy/recraft/image_generation` request body and the Comfy Router input schema for the `recraft/*` models. See the note above this component for why the two surfaces share properties but not `required`.\n`required` here is the ROUTER-SAFE floor: `model` is absent from it because Router writes the path's model into the body after routervalidate.Guard has already validated the caller's bytes. The v1 wrapper `RecraftImageGenerationRequest` re-adds it.","example":{"n":1,"prompt":"A single red maple leaf on a plain white background."},"properties":{"controls":{"description":"The controls for the generated image","properties":{"artistic_level":{"description":"Defines artistic tone of your image. At a simple level, the person looks straight at the camera in a static and clean style. Dynamic and eccentric levels introduce movement and creativity.","maximum":5,"minimum":0,"nullable":true,"type":"integer"},"background_color":{"$ref":"#/components/schemas/RGBColor"},"colors":{"description":"An array of preferable colors","items":{"$ref":"#/components/schemas/RGBColor"},"type":"array"},"no_text":{"description":"Do not embed text layouts","type":"boolean"}},"type":"object"},"model":{"description":"The model to use for generation (e.g., \"recraftv3\"). This field is NOT constrained to an enum: the proxy forwards whatever the caller sends. The spellings Comfy ships — the set Comfy Router addresses as `recraft/\u003cmodel\u003e` — are recraftv2, recraftv3, recraftv4, recraftv4_pro, recraftv4_1, recraftv4_1_flash_v2, recraftv4_1_utility, recraftv4_1_pro, recraftv4_1_utility_pro, recraftv4_styles, recraftv4_styles_pro, recraftv4_1_vector, recraftv4_1_utility_vector, recraftv4_1_pro_vector, recraftv4_1_utility_pro_vector, recraftv4_styles_vector and recraftv4_styles_pro_vector. They are written out here rather than named by reference because the RecraftGenerationModel component that declares them is `$ref`-ed by nothing and is therefore pruned from the spec served at GET /openapi, so a pointer to it would dangle in the served document. The four `recraftv4_styles*` spellings additionally require `style_id` — see that field.","nullable":true,"type":"string"},"n":{"description":"The number of images to generate. Recraft accepts 1-6.","maximum":6,"minimum":1,"type":"integer"},"prompt":{"description":"The text prompt describing the image to generate","type":"string"},"response_format":{"$ref":"#/components/schemas/RecraftResponseFormat"},"size":{"description":"The size of the generated image (e.g., \"1024x1024\")","type":"string"},"style":{"description":"The style to apply to the generated image (e.g., \"digital_illustration\")","type":"string"},"style_id":{"description":"The style ID to apply to the generated image (e.g., \"123e4567-e89b-12d3-a456-426614174000\"). If style_id is provided, style should not be provided. REQUIRED by the four `recraftv4_styles*` models: Recraft rejects those without a style_id or style reference. Mint one with `POST /proxy/recraft/styles`, which this same proxy serves under the same credentials. Nothing on this route enforces the pairing — the body is forwarded to Recraft unchanged, so a `recraftv4_styles*` call without it reaches the partner and comes back 4xx.","type":"string"}},"required":["prompt"],"type":"object"},"RecraftImageGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/RecraftImageGenerationInputs"},{"properties":{"model":{"type":"string"}},"required":["model","size","n"],"type":"object"}],"description":"Parameters for the Recraft image generation proxy request — the v1 `POST /proxy/recraft/image_generation` body.\nIt composes `RecraftImageGenerationInputs` rather than restating its fields, and adds back the three fields only the v1 surface can demand. `model` is the load-bearing one: this route carries no path segment supplying it, so a caller must send it, whereas the Comfy Router route `POST /v2/models/recraft/{model}` supplies it from the path and its input schema must NOT require it. `size` and `n` are re-added because this component has always required them and nothing here is a deliberate loosening of the published v1 contract; Recraft itself defaults both, so a Router input schema authored from the base may omit them from its own floor.\nRead the note above `RecraftImageGenerationInputs` for the full rule and the guard that enforces it."},"RecraftImageGenerationResponse":{"description":"Response from the Recraft image generation API.","properties":{"created":{"description":"Unix timestamp when the generation was created","type":"integer"},"credits":{"description":"Number of credits used for the generation","type":"integer"},"data":{"description":"Array of generated image information","items":{"properties":{"b64_json":{"description":"Base64-encoded image data (present instead of `url` when the request set `response_format: b64_json`)","type":"string"},"image_id":{"description":"Unique identifier for the generated image","type":"string"},"url":{"description":"URL to access the generated image (present when `response_format` is `url`, the default)","type":"string"}},"type":"object"},"type":"array"},"style_id":{"description":"The resolved style id, returned by Recraft when style references are used (notably required-input models recraftv4_styles*); reusable as `style_id` in later requests.","type":"string"}},"required":["created","credits","data"],"type":"object"},"RecraftImageStyle":{"enum":["digital_illustration","icon","realistic_image","vector_illustration"],"type":"string"},"RecraftImageSubStyle":{"enum":["2d_art_poster","3d","80s","glow","grain","hand_drawn","infantile_sketch","kawaii","pixel_art","psychedelic","seamless","voxel","watercolor","broken_line","colored_outline","colored_shapes","colored_shapes_gradient","doodle_fill","doodle_offset_fill","offset_fill","outline","outline_gradient","uneven_fill","70s","cartoon","doodle_line_art","engraving","flat_2","kawaii","line_art","linocut","seamless","b_and_w","enterprise","hard_flash","hdr","motion_blur","natural_light","studio_portrait","line_circuit","2d_art_poster_2","engraving_color","flat_air_art","hand_drawn_outline","handmade_3d","stickers_drawings","plastic","pictogram"],"type":"string"},"RecraftImageToImageRequest":{"properties":{"block_nsfw":{"type":"boolean"},"calculate_features":{"type":"boolean"},"controls":{"$ref":"#/components/schemas/RecraftUserControls"},"image":{"format":"binary","type":"string"},"image_format":{"$ref":"#/components/schemas/RecraftImageFormat"},"model":{"$ref":"#/components/schemas/RecraftTransformModel"},"n":{"type":"integer"},"negative_prompt":{"type":"string"},"prompt":{"type":"string"},"response_format":{"$ref":"#/components/schemas/RecraftResponseFormat"},"strength":{"type":"number"},"style":{"$ref":"#/components/schemas/RecraftImageStyle"},"style_id":{"format":"uuid","type":"string"},"substyle":{"$ref":"#/components/schemas/RecraftImageSubStyle"},"text_layout":{"$ref":"#/components/schemas/RecraftTextLayout"}},"required":["prompt","image","strength"],"type":"object"},"RecraftProcessImageRequest":{"properties":{"image":{"format":"binary","type":"string"},"image_format":{"$ref":"#/components/schemas/RecraftImageFormat"},"response_format":{"$ref":"#/components/schemas/RecraftResponseFormat"}},"required":["image"],"type":"object"},"RecraftProcessImageResponse":{"properties":{"created":{"type":"integer"},"credits":{"type":"integer"},"image":{"$ref":"#/components/schemas/RecraftImage"}},"required":["created","image","credits"],"type":"object"},"RecraftResponseFormat":{"enum":["url","b64_json"],"type":"string"},"RecraftTextLayout":{"items":{"$ref":"#/components/schemas/RecraftTextLayoutItem"},"type":"array"},"RecraftTextLayoutItem":{"properties":{"bbox":{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},"text":{"type":"string"}},"required":["text","bbox"],"type":"object"},"RecraftTransformImageWithMaskRequest":{"properties":{"block_nsfw":{"type":"boolean"},"calculate_features":{"type":"boolean"},"image":{"format":"binary","type":"string"},"image_format":{"$ref":"#/components/schemas/RecraftImageFormat"},"mask":{"format":"binary","type":"string"},"model":{"$ref":"#/components/schemas/RecraftTransformModel"},"n":{"type":"integer"},"negative_prompt":{"type":"string"},"prompt":{"type":"string"},"response_format":{"$ref":"#/components/schemas/RecraftResponseFormat"},"style":{"$ref":"#/components/schemas/RecraftImageStyle"},"style_id":{"format":"uuid","type":"string"},"substyle":{"$ref":"#/components/schemas/RecraftImageSubStyle"},"text_layout":{"$ref":"#/components/schemas/RecraftTextLayout"}},"required":["image","mask","prompt"],"type":"object"},"RecraftTransformModel":{"enum":["refm1","recraft20b","recraftv2","recraftv3","recraftv4","recraftv4_pro","flux1_1pro","flux1dev","imagen3","hidream_i1_dev"],"type":"string"},"RecraftUserControls":{"properties":{"artistic_level":{"type":"integer"},"background_color":{"$ref":"#/components/schemas/RecraftImageColor"},"colors":{"items":{"$ref":"#/components/schemas/RecraftImageColor"},"type":"array"},"no_text":{"type":"boolean"}},"type":"object"},"RecraftVectorizeRequest":{"description":"The JSON body of `POST /proxy/recraft/images/vectorize`, and the Comfy Router input schema for `recraft/images-vectorize`. It names the input image by URL instead of uploading it as a file. The image must be PNG, JPG or WEBP, under 20 MB and at most 16 MP, with each side from 256 to 4096 pixels.","example":{"image_url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg==","version":"v1_pro"},"properties":{"image_url":{"description":"The image to vectorize, as a public http(s) URL or a `data:` URL with base64 image bytes.","type":"string"},"response_format":{"default":"url","description":"How the SVG comes back: `url` (the default) puts a temporary URL in `image.url`, and `b64_json` puts the base64 SVG in `image.b64_json`.","enum":["url","b64_json"],"type":"string"},"version":{"$ref":"#/components/schemas/RecraftVectorizeVersion"}},"required":["image_url"],"type":"object"},"RecraftVectorizeVersion":{"default":"v1","description":"The Recraft vectorizer version. `v1` is the standard vectorizer (10 Recraft credits per image). `v1_pro` is Vectorizer Pro (40 Recraft credits per image), which gives cleaner SVGs with smooth curves, straight lines and sharp corners. The request is billed by the credits Recraft reports in the response.","enum":["v1","v1_pro"],"type":"string","x-enum-varnames":["RecraftVectorizeVersionV1","RecraftVectorizeVersionV1Pro"]},"RefusalContent":{"description":"A refusal emitted by the model in place of generated content. It arrives inside an `OutputMessage`, exactly where an `output_text` part would, and the response's `status` is still `completed`.\n","properties":{"refusal":{"description":"The refusal explanation from the model.","type":"string"},"type":{"description":"The type of output content. Always `refusal`.","enum":["refusal"],"type":"string","x-stainless-const":true}},"required":["type","refusal"],"title":"Refusal","type":"object"},"ReleaseNote":{"properties":{"attention":{"description":"The attention level for this release","enum":["low","medium","high"],"type":"string"},"content":{"description":"The content of the release note in markdown format","type":"string"},"id":{"description":"Unique identifier for the release note","type":"integer"},"project":{"description":"The project this release note belongs to","enum":["comfyui","comfyui_frontend","desktop","cloud"],"type":"string"},"published_at":{"description":"When the release note was published","format":"date-time","type":"string"},"version":{"description":"The version of the release","type":"string"}},"required":["id","project","version","attention","content","published_at"],"type":"object"},"RenderingSpeed":{"default":"DEFAULT","description":"The rendering speed setting that controls the trade-off between generation speed and quality","enum":["DEFAULT","TURBO","QUALITY"],"type":"string"},"ResponseCompletedEvent":{"description":"Emitted when the model response is complete.","properties":{"response":{"$ref":"#/components/schemas/OpenAIResponse"},"type":{"description":"The type of the event. Always `response.completed`.","enum":["response.completed"],"type":"string","x-stainless-const":true}},"required":["type","response"],"type":"object"},"ResponseContentPartAddedEvent":{"description":"Emitted when a new content part is added.","properties":{"content_index":{"description":"The index of the content part that was added.","type":"integer"},"item_id":{"description":"The ID of the output item that the content part was added to.","type":"string"},"output_index":{"description":"The index of the output item that the content part was added to.","type":"integer"},"part":{"$ref":"#/components/schemas/OutputContent"},"type":{"description":"The type of the event. Always `response.content_part.added`.","enum":["response.content_part.added"],"type":"string","x-stainless-const":true}},"required":["type","item_id","output_index","content_index","part"],"type":"object"},"ResponseContentPartDoneEvent":{"description":"Emitted when a content part is done.","properties":{"content_index":{"description":"The index of the content part that is done.","type":"integer"},"item_id":{"description":"The ID of the output item that the content part was added to.","type":"string"},"output_index":{"description":"The index of the output item that the content part was added to.","type":"integer"},"part":{"$ref":"#/components/schemas/OutputContent"},"type":{"description":"The type of the event. Always `response.content_part.done`.","enum":["response.content_part.done"],"type":"string","x-stainless-const":true}},"required":["type","item_id","output_index","content_index","part"],"type":"object"},"ResponseCreatedEvent":{"description":"An event that is emitted when a response is created.","properties":{"response":{"$ref":"#/components/schemas/OpenAIResponse"},"type":{"description":"The type of the event. Always `response.created`.","enum":["response.created"],"type":"string","x-stainless-const":true}},"required":["type","response"],"type":"object"},"ResponseError":{"description":"An error object returned when the model fails to generate a Response.","properties":{"code":{"$ref":"#/components/schemas/ResponseErrorCode"},"message":{"description":"A human-readable description of the error.","type":"string"}},"required":["code","message"],"type":"object"},"ResponseErrorCode":{"description":"The error code for the response.","enum":["server_error","rate_limit_exceeded","invalid_prompt","vector_store_timeout","invalid_image","invalid_image_format","invalid_base64_image","invalid_image_url","image_too_large","image_too_small","image_parse_error","image_content_policy_violation","invalid_image_mode","image_file_too_large","unsupported_image_media_type","empty_image_file","failed_to_download_image","image_file_not_found"],"type":"string"},"ResponseErrorEvent":{"description":"Emitted when an error occurs.","properties":{"code":{"description":"The error code.\n","type":"string"},"message":{"description":"The error message.\n","type":"string"},"param":{"description":"The error parameter.\n","type":"string"},"type":{"description":"The type of the event. Always `error`.\n","enum":["error"],"type":"string","x-stainless-const":true}},"required":["type","code","message","param"],"type":"object"},"ResponseFailedEvent":{"description":"An event that is emitted when a response fails.\n","properties":{"response":{"$ref":"#/components/schemas/OpenAIResponse"},"type":{"description":"The type of the event. Always `response.failed`.\n","enum":["response.failed"],"type":"string","x-stainless-const":true}},"required":["type","response"],"type":"object"},"ResponseFormatJsonObject":{"description":"JSON object response format. An older method of generating JSON responses.\nUsing `json_schema` is recommended for models that support it. Note that the\nmodel will not generate JSON without a system or user message instructing it\nto do so.\n","properties":{"type":{"description":"The type of response format being defined. Always `json_object`.","enum":["json_object"],"type":"string","x-stainless-const":true}},"required":["type"],"title":"JSON object","type":"object"},"ResponseFormatJsonSchemaSchema":{"additionalProperties":true,"description":"The schema for the response format, described as a JSON Schema object.\nLearn how to build JSON schemas [here](https://json-schema.org/).\n","title":"JSON schema","type":"object"},"ResponseFormatText":{"description":"Default response format. Used to generate text responses.\n","properties":{"type":{"description":"The type of response format being defined. Always `text`.","enum":["text"],"type":"string","x-stainless-const":true}},"required":["type"],"title":"Text","type":"object"},"ResponseInProgressEvent":{"description":"Emitted when the response is in progress.","properties":{"response":{"$ref":"#/components/schemas/OpenAIResponse"},"type":{"description":"The type of the event. Always `response.in_progress`.\n","enum":["response.in_progress"],"type":"string","x-stainless-const":true}},"required":["type","response"],"type":"object"},"ResponseIncompleteEvent":{"description":"An event that is emitted when a response finishes as incomplete.\n","properties":{"response":{"$ref":"#/components/schemas/OpenAIResponse"},"type":{"description":"The type of the event. Always `response.incomplete`.\n","enum":["response.incomplete"],"type":"string","x-stainless-const":true}},"required":["type","response"],"type":"object"},"ResponseOutputItemAddedEvent":{"description":"Emitted when a new output item is added.","properties":{"item":{"$ref":"#/components/schemas/OutputItem"},"output_index":{"description":"The index of the output item that was added.\n","type":"integer"},"type":{"description":"The type of the event. Always `response.output_item.added`.\n","enum":["response.output_item.added"],"type":"string","x-stainless-const":true}},"required":["type","output_index","item"],"type":"object"},"ResponseOutputItemDoneEvent":{"description":"Emitted when an output item is marked done.","properties":{"item":{"$ref":"#/components/schemas/OutputItem"},"output_index":{"description":"The index of the output item that was marked done.\n","type":"integer"},"type":{"description":"The type of the event. Always `response.output_item.done`.\n","enum":["response.output_item.done"],"type":"string","x-stainless-const":true}},"required":["type","output_index","item"],"type":"object"},"ResponseProperties":{"properties":{"instructions":{"description":"Inserts a system (or developer) message as the first item in the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","nullable":true,"type":"string"},"max_output_tokens":{"description":"An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](/docs/guides/reasoning).\n","type":"integer"},"previous_response_id":{"description":"The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](/docs/guides/conversation-state).\n","nullable":true,"type":"string"},"reasoning":{"$ref":"#/components/schemas/Reasoning"},"text":{"properties":{"format":{"$ref":"#/components/schemas/TextResponseFormatConfiguration"},"verbosity":{"description":"Constrains the verbosity of the model's response. One of `low`, `medium`, or `high`.","type":"string"}},"type":"object"},"tool_choice":{"description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","oneOf":[{"$ref":"#/components/schemas/ToolChoiceOptions"},{"$ref":"#/components/schemas/ToolChoiceTypes"},{"$ref":"#/components/schemas/ToolChoiceFunction"}]},"tools":{"items":{"$ref":"#/components/schemas/Tool"},"type":"array"},"truncation":{"default":"disabled","description":"The truncation strategy to use for the model response.\n- `auto`: If the context of this response and previous ones exceeds\n  the model's context window size, the model will truncate the\n  response to fit the context window by dropping input items in the\n  middle of the conversation.\n- `disabled` (default): If a model response will exceed the context window\n  size for a model, the request will fail with a 400 error.\n","enum":["auto","disabled"],"type":"string"}},"type":"object"},"ResponseUsage":{"description":"Represents token usage details including input tokens, output tokens,\na breakdown of output tokens, and the total tokens used.\n","properties":{"input_tokens":{"description":"The number of input tokens.","type":"integer"},"input_tokens_details":{"description":"A detailed breakdown of the input tokens.","properties":{"cache_write_tokens":{"description":"The number of input tokens that were written to the cache.","type":"integer"},"cache_write_tokens_details":{"description":"The cache writes split by cache lifetime. The two counts sum to `cache_write_tokens`.","properties":{"ttl_12h_tokens":{"description":"The number of input tokens written to the cache with the 12-hour lifetime.","type":"integer"},"ttl_30m_tokens":{"description":"The number of input tokens written to the cache with the 30-minute lifetime.","type":"integer"}},"type":"object"},"cached_tokens":{"description":"The number of tokens that were retrieved from the cache.\n[More on prompt caching](/docs/guides/prompt-caching).\n","type":"integer"}},"required":["cached_tokens"],"type":"object"},"output_tokens":{"description":"The number of output tokens.","type":"integer"},"output_tokens_details":{"description":"A detailed breakdown of the output tokens.","properties":{"reasoning_tokens":{"description":"The number of reasoning tokens.","type":"integer"}},"required":["reasoning_tokens"],"type":"object"},"total_tokens":{"description":"The total number of tokens used.","type":"integer"}},"required":["input_tokens","input_tokens_details","output_tokens","output_tokens_details","total_tokens"],"type":"object"},"ReveImageCreateRequest":{"description":"Request body for Reve image creation.","properties":{"aspect_ratio":{"default":"3:2","description":"The desired aspect ratio of the generated image.","enum":["16:9","9:16","3:2","2:3","4:3","3:4","1:1"],"type":"string"},"postprocessing":{"description":"Optional postprocessing operations to apply after generation. May add additional cost.","items":{"$ref":"#/components/schemas/RevePostprocessingOperation"},"type":"array"},"prompt":{"description":"The text description of the desired image. Maximum length is 2560 characters.","maxLength":2560,"type":"string"},"test_time_scaling":{"description":"If included, the model will spend more effort making better images. Values between 1 and 15 are accepted. Adds additional credits cost.","maximum":15,"minimum":1,"type":"number"},"version":{"default":"latest","description":"Model version to use. Supported: latest, reve-create@20250915.","type":"string"}},"required":["prompt"],"type":"object"},"ReveImageEditRequest":{"description":"Request body for Reve image editing.","properties":{"aspect_ratio":{"description":"The desired aspect ratio. Defaults to the aspect ratio of the reference image if not provided.","enum":["16:9","9:16","3:2","2:3","4:3","3:4","1:1"],"type":"string"},"edit_instruction":{"description":"The text description of how to edit the provided image. Maximum length is 2560 characters.","maxLength":2560,"type":"string"},"postprocessing":{"description":"Optional postprocessing operations to apply after generation. May add additional cost.","items":{"$ref":"#/components/schemas/RevePostprocessingOperation"},"type":"array"},"reference_image":{"description":"A base64 encoded image to use as reference for the edit.","type":"string"},"test_time_scaling":{"description":"If included, the model will spend more effort making better images. Values between 1 and 15 are accepted. Adds additional credits cost.","maximum":15,"minimum":1,"type":"number"},"version":{"default":"latest","description":"Model version to use. Supported: latest-fast, latest, reve-edit-fast@20251030, reve-edit@20250915.","type":"string"}},"required":["edit_instruction","reference_image"],"type":"object"},"ReveImageRemixRequest":{"description":"Request body for Reve image remixing.","properties":{"aspect_ratio":{"description":"The desired aspect ratio. If not provided, smartly chosen by the model.","enum":["16:9","9:16","3:2","2:3","4:3","3:4","1:1"],"type":"string"},"postprocessing":{"description":"Optional postprocessing operations to apply after generation. May add additional cost.","items":{"$ref":"#/components/schemas/RevePostprocessingOperation"},"type":"array"},"prompt":{"description":"The text description of the desired image. May include xml img tags to refer to specific reference images by index. Maximum length is 2560 characters.","maxLength":2560,"type":"string"},"reference_images":{"description":"A list of 1-6 base64 encoded reference images. Each must be less than 10 MB. Total pixel count must be no more than 32 million pixels.","items":{"type":"string"},"maxItems":6,"minItems":1,"type":"array"},"test_time_scaling":{"description":"If included, the model will spend more effort making better images. Values between 1 and 15 are accepted. Adds additional credits cost.","maximum":15,"minimum":1,"type":"number"},"version":{"default":"latest","description":"Model version to use. Supported: latest-fast, latest, reve-remix-fast@20251030, reve-remix@20250915.","type":"string"}},"required":["prompt","reference_images"],"type":"object"},"ReveImageResponse":{"description":"Response from the Reve image API.","properties":{"content_violation":{"description":"Indicates whether the generated image violates the content policy.","type":"boolean"},"credits_remaining":{"description":"The number of credits remaining in your budget.","type":"number"},"credits_used":{"description":"The number of credits used for this request.","type":"number"},"image":{"description":"The base64 encoded image data. Empty if the request was not successful.","type":"string"},"request_id":{"description":"A unique id for the request.","type":"string"},"version":{"description":"The specific model version used in the generation process.","type":"string"}},"type":"object"},"RevePostprocessingOperation":{"description":"A postprocessing operation to apply after image generation.","properties":{"effect_name":{"description":"Name of the effect to apply. Only used when process is effect.","type":"string"},"effect_parameters":{"description":"Optional parameters to override default effect settings.","type":"object"},"max_dim":{"description":"Maximum dimension for fit_image. At least one of max_dim, max_width, or max_height must be set.","maximum":1024,"type":"integer"},"max_height":{"description":"Maximum height for fit_image.","maximum":1024,"type":"integer"},"max_width":{"description":"Maximum width for fit_image.","maximum":1024,"type":"integer"},"process":{"description":"The postprocessing operation: upscale, remove_background, fit_image, or effect.","enum":["upscale","remove_background","fit_image","effect"],"type":"string"},"upscale_factor":{"description":"Upscale factor (2, 3, or 4). Only used when process is upscale.","maximum":4,"minimum":2,"type":"integer"}},"required":["process"],"type":"object"},"Rodin3DCheckStatusRequest":{"properties":{"subscription_key":{"description":"subscription from generate endpoint","type":"string"}},"required":["subscription_key"],"type":"object"},"Rodin3DCheckStatusResponse":{"properties":{"jobs":{"description":"Details for the generation status.","items":{"$ref":"#/components/schemas/RodinCheckStatusJobItem"},"type":"array"}},"type":"object"},"Rodin3DDownloadRequest":{"properties":{"task_uuid":{"description":"Task UUID","type":"string"}},"required":["task_uuid"],"type":"object"},"Rodin3DDownloadResponse":{"properties":{"list":{"items":{"$ref":"#/components/schemas/RodinResourceItem"},"type":"array"}},"type":"object"},"Rodin3DGenerateRequest":{"properties":{"TAPose":{"description":"Optional. When generating the human-like model, this parameter controls the generation result to T/A pose. When true, your model will be either T pose or A pose.\n","type":"boolean"},"addons":{"description":"Optional. The default is []. Possible value is `HighPack`. By selecting HighPack: generate 4K resolution texture instead of the default 2K. If Quad mode, the number of faces will be ~16 times the number of faces selected in the `quality` parameter.\n","items":{"$ref":"#/components/schemas/RodinAddonType"},"type":"array"},"bbox_condition":{"description":"Optional. This is a controlnet that controls the maximum size of the generated model. This array must contain 3 elements, Width (Y-axis), Height (Z-axis), and Length (X-axis), in this exact fixed sequence (y, z, x).\n","items":{"type":"integer"},"type":"array"},"condition_mode":{"$ref":"#/components/schemas/RodinConditionModeType"},"geometry_file_format":{"$ref":"#/components/schemas/RodinGeometryFileFormatType"},"geometry_instruct_mode":{"$ref":"#/components/schemas/RodinGeometryInstructModeType"},"hd_texture":{"description":"Optional. Default is false. If true, high-quality texture will be provided.\n","type":"boolean"},"images":{"description":"Images to be used in generation, up to 5 images. As the form data request will preserve the order of the images, the first image will be the image for material generation. For Image-to-3D generation: required (one or more images are needed, maximum 5 images). For Text-to-3D generation: null.\n","type":"string"},"is_micro":{"description":"Optional. Default is false. If true, micro detail scale is applied. This parameter is only available in the Gen-2.5-Extreme-High tier.\n","type":"boolean"},"is_symmetric":{"description":"Optional. Default is false. If true, this parameter will determine whether the generated model is symmetric.\n","type":"boolean"},"material":{"$ref":"#/components/schemas/RodinMaterialType"},"mesh_mode":{"$ref":"#/components/schemas/RodinMeshModeType"},"mesh_simplify":{"description":"Optional. Default is true. If true, the generated models will be simplified. This parameter takes effect when mesh_mode is set to Raw.\n","type":"boolean"},"mesh_smooth":{"description":"Optional. Default is false. If true, the generated models will be smoothed (similar to Rodin Gen-1). This parameter takes effect when mesh_mode is set to Quad.\n","type":"boolean"},"preview_render":{"description":"Optional. Default is false. If true, an additional high-quality render image will be provided in the download list.\n","type":"boolean"},"prompt":{"description":"A textual prompt to guide the model generation. For Image-to-3D generation: optional (if not provided, an AI-generated prompt based on the provided images will be used). For Text-to-3D generation: required.\n","type":"string"},"quality":{"$ref":"#/components/schemas/RodinQualityType"},"quality_override":{"description":"Optional. Customize poly count for generation, providing more accurate control over mesh face count. When mesh_mode = Raw: range from 500 to 1,000,000 (default 500,000). When mesh_mode = Quad: range from 1,000 to 200,000 (default 18,000). When this parameter is invoked, the `quality` parameter will not take effect.\n","type":"integer"},"seed":{"description":"Optional. A seed value for randomization in the mesh generation, ranging from 0 to 65535 (both inclusive). If not provided, the seed will be randomly generated.\n","type":"integer"},"texture_delight":{"description":"Optional. Default is false. If true, this parameter applies images preprocessing to remove lighting information from textures.\n","type":"boolean"},"texture_mode":{"$ref":"#/components/schemas/RodinTextureModeType"},"tier":{"$ref":"#/components/schemas/RodinTierType"},"use_original_alpha":{"description":"Default is false. If true, the original transparency channel of the images will be used when processing the image.\n","type":"boolean"}},"type":"object"},"Rodin3DGenerateResponse":{"properties":{"error":{"description":"Error message, if any. Possible values include NO_ACTIVE_SUBSCRIPTION, SUBSCRIPTION_PLAN_TOO_LOW, INSUFFICIENT_FUND, INVALID_REQUEST, USER_NOT_FOUND, GROUP_NOT_FOUND, PERMISSION_DENIED, UNKNOWN.\n","nullable":true,"type":"string"},"jobs":{"$ref":"#/components/schemas/RodinGenerateJobsData"},"message":{"description":"Success message or detailed error information.","type":"string"},"prompt":{"description":"Echoed prompt (when applicable).","type":"string"},"submit_time":{"description":"Submission timestamp.","type":"string"},"uuid":{"description":"Task UUID. Use this for status/download requests.","type":"string"}},"type":"object"},"RodinAddonType":{"description":"Possible value is `HighPack`. By selecting HighPack: generate 4K resolution texture instead of the default 2K. If Quad mode, the number of faces will be ~16 times the number of faces selected in the `quality` parameter. Additional 1 credit per generation.\n","enum":["HighPack"],"type":"string"},"RodinCheckStatusJobItem":{"properties":{"status":{"$ref":"#/components/schemas/RodinStatusOptions"},"uuid":{"description":"sub uuid","type":"string"}},"type":"object"},"RodinConditionModeType":{"description":"Useful only for multi-image 3D generation. Optional. Chooses the mode of the multi-image generation. Default is concat. For `fuse` mode (uploading images of multiple objects), fuse mode will extract and fuse all the features of all the objects from the images for generation. For `concat` mode (uploading images of a single object), concat mode will inform the Rodin model to expect these images to be multi-view images of a single object.\n","enum":["fuse","concat"],"type":"string"},"RodinGenerateJobsData":{"properties":{"subscription_key":{"description":"Subscription Key.","type":"string"},"uuids":{"description":"subjobs uuid.","items":{"type":"string"},"type":"array"}},"type":"object"},"RodinGeometryFileFormatType":{"description":"Optional. The format of the output geometry file. Default is glb.\n","enum":["glb","usdz","fbx","obj","stl"],"type":"string"},"RodinGeometryInstructModeType":{"description":"Optional. Default is `faithful`. The Creative mode enhances generative robustness while ensuring output consistency, allowing for more flexible and creative generation while maintaining quality and consistency across outputs. Available for Gen-2.5-Medium and Gen-2.5-High tiers.\n","enum":["faithful","creative"],"type":"string"},"RodinMaterialType":{"description":"Optional. The material type. Default is PBR. PBR: Physically Based Materials, including base color texture, metallicness texture, normal texture and roughness texture, providing high realism and physically accurate behavior over dynamic lighting. Shaded: only base color texture with baked lighting, providing stylized visuals. All: both PBR and Shaded will be delivered. None: asset without material.\n","enum":["PBR","Shaded","All","None"],"type":"string"},"RodinMeshModeType":{"description":"Optional. It controls the type of faces of generated models. Default is Quad. The Raw mode generates triangular face models. The Quad mode generates quadrilateral face models. When its value is Raw, `quality` will be fixed to medium and `addons` will be fixed to []. For Rodin Sketch tier, only triangular faces can be generated.\n","enum":["Quad","Raw"],"type":"string"},"RodinQualityType":{"description":"Optional. The face count of the generated model. Default is medium.\n","enum":["extra-low","low","medium","high"],"type":"string"},"RodinResourceItem":{"properties":{"name":{"description":"File name","type":"string"},"url":{"description":"Download url","type":"string"}},"type":"object"},"RodinStatusOptions":{"enum":["Done","Failed","Generating","Waiting"],"type":"string"},"RodinTextureModeType":{"description":"Optional. Higher values invest more thinking effort and produce better results, at the cost of longer generation time.\n","enum":["legacy","extreme-low","low","medium","high"],"type":"string"},"RodinTierType":{"description":"Tier of generation. The default value is Regular. Sketch: fast generation with basic details, suitable for initial concepts. Regular: balanced quality and speed, ideal for general use. Detail: enhanced details compared to Regular, recommended for intricate results (longer processing time). Smooth: clearer and sharper output than Regular, with slightly longer processing time. Set the value to `Gen-2` to invoke Gen-2 generation. Use the `Gen-2.5-*` values to invoke Gen-2.5 generation: Gen-2.5-Extreme-Low (quick simple assets), Gen-2.5-Low (clean assets and small hardsurface props), Gen-2.5-Medium (moderately complex models), Gen-2.5-High (high-quality assets with richer structural representation and smooth surfaces), Gen-2.5-Extreme-High (high-frequency detail reproduction).\n","enum":["Regular","Sketch","Detail","Smooth","Gen-2","Gen-2.5-Extreme-Low","Gen-2.5-Low","Gen-2.5-Medium","Gen-2.5-High","Gen-2.5-Extreme-High"],"type":"string"},"RouterBilledWorkspace":{"description":"The wallet a refused call would have charged, on `RouterErrorResponse.billed_workspace`. Answers \"which wallet is empty?\" - it is not necessarily the workspace the caller's UI currently has selected, and a team member's personal credential names their personal wallet here even while a funded team is open. Present only alongside `denied_reason`.","properties":{"id":{"description":"The Cloud workspace id. Absent on the legacy rail.","type":"string"},"rail":{"description":"`legacy` when the call bills the caller's pre-workspace Metronome customer rather than a Cloud workspace; that customer has no workspace id. Absent for a Cloud workspace.","type":"string"},"type":{"description":"`personal` or `team`. An open string: treat any other value as personal.","type":"string"}},"required":["type"],"type":"object"},"RouterChargesOnPolicyRejection":{"description":"Whether a call this model refuses on content-policy grounds is nevertheless charged to the caller. Providers differ, the difference is invisible at call time, and a user who sees an error and a charge for the same call has no way to have known - so it is stated per model, before the call, rather than left to per-provider folklore. When it is `yes`, a `content_policy_violation` error on the synchronous route can carry `X-Comfy-Credits-Used`: it does when the provider refused the model's generated output and Comfy recorded usage for that refused generation, and carries that amount. An input-side refusal, a same-key replay (`Idempotent-Replayed: true`), and a charge too small to show in the header's two decimals do not carry it; a refusal without the header is not reported, not proof it was free.\nIt pairs with `error_type: content_policy_violation` (`RouterErrorType`): that value makes a policy refusal distinguishable, this one says what it costs.\nTHREE values, and the third is not a formality:\n- `yes` - a policy refusal of this model IS charged. The caller pays for a\n  generation they did not receive.\n- `no` - a policy refusal of this model is not charged. - `unknown` - nobody has established this model's behaviour yet.\n`unknown` exists because the alternative is to default to `no`, and `no` is a CLAIM: it tells a caller we do not charge them. Making that the default would assert it about every model nobody has checked, and it is the expensive direction to be wrong in - it is the answer a user quotes back at support. So an unestablished model says `unknown` and means it.\nIt is a plain string rather than an `enum`, for the same reason `RouterErrorType` and every other extensible Router vocabulary is: a generated client that hard-rejects an unrecognized value fails hardest on exactly the models it has not been regenerated for. Treat an unrecognized value as `unknown`.\nThe value is per MODEL and is not derived from the provider: a provider can differ across its own operations, and at least one already does, so a caller must read it for the model it is about to call rather than for the model's provider.","example":"unknown","type":"string"},"RouterCostEstimate":{"description":"A pre-flight estimate of what this call will cost, in US dollars, priced before dispatch at Comfy's standard list price, or — for a model billed the cost its vendor reports — from the vendor's published price list. For that vendor-reported case, `source: exact` is returned only for a small opted-in set of models, and only when the published price list fully determines the figure (every price-driving field was stated, or left at a default that cannot change it); every other vendor-reported quote is `estimated`, including some the list would fully determine. Either way the run is still billed the amount the vendor reports after it completes, never the quoted figure verbatim. It does not reflect contract or customer-specific rates: a workspace with negotiated pricing is quoted the list price and charged its contract rate, and `source: exact` then means exact at list price, not that workspace's charge. It is not the final charge: the settled charge in your workspace's usage and billing records is what you pay. `X-Comfy-Credits-Used`, reported after the run, is a rounded post-hoc figure, not a receipt. `source` says how much to trust the number: `exact` carries `amount`; `free` carries `amount` \"0\" (the rate card prices this request at zero); `estimated` carries `min_amount` and `max_amount` and no `amount`; `unknown` carries neither and a `reason`. Never read an absent `amount` as free. Not a price lock: see `pricing_as_of`.","properties":{"amount":{"description":"The estimated cost in dollars as a decimal string, e.g. \"0.04\", with up to 8 decimals and no exponent. A chargeable sub-cent price is never rendered as \"0\"; only a `free` quote reads \"0\". Present only when `source` is `exact` or `free`. Not the final charge: the settled charge in your workspace's usage and billing records is.","type":"string"},"amount_cents":{"description":"The same figure in US cents, unrounded, for arithmetic. Present with `amount`.","format":"double","type":"number"},"credits":{"description":"`amount` in Comfy credits using the platform conversion ($1 = 211 credits), rounded to 2 decimals - the figure `X-Comfy-Credits-Used` is expected to carry for an `exact` quote. That header is a rounded post-hoc figure, not a receipt; the settled charge in your workspace's usage and billing records is final.","format":"double","type":"number"},"currency":{"description":"Always `USD`.","type":"string"},"max_amount":{"description":"The high end of the estimate in dollars as a decimal string. It is an estimate, not a guaranteed cap: a call can be billed more, for example when the provider returns more than was asked (such as more images than requested), when the estimate is learned from past calls, or when the price does not rise steadily with the amount requested. Present only when `source` is `estimated`.","type":"string"},"max_amount_cents":{"description":"`max_amount` in US cents. Present with `max_amount`.","format":"double","type":"number"},"min_amount":{"description":"The low end of the estimate in dollars as a decimal string. It is an estimate, not a guaranteed floor: a call can be billed less, for example when the provider returns less than the request asked for (such as no images), when the estimate is a typical price learned from past calls, or when the price does not rise steadily with the amount requested. Present only when `source` is `estimated`.","type":"string"},"min_amount_cents":{"description":"`min_amount` in US cents, unrounded. Present with `min_amount`.","format":"double","type":"number"},"model":{"$ref":"#/components/schemas/RouterModelId"},"pricing_as_of":{"description":"When the rate card this quote was priced from was fetched. The estimate is not a price lock: the run is charged at the rates in force when it is rated, not at this instant. An `estimated` quote taken from the vendor's published price list (a model billed the cost the vendor reports) carries the date that list was read instead. A quote whose billed quantity is predicted from a published vendor schedule and then priced from the rate card carries the older of that schedule's read date and the card's fetch time, for an `exact` answer and an `estimated` one alike (a model billed the credits its vendor reports is the `estimated` case). Whenever no rate card was read (`reason: pricing_unavailable`, `byok`, or a `not_quotable` call that cannot be priced from any card), this is when the quote was answered.","format":"date-time","type":"string"},"provider":{"description":"The provider leg this quote is for. On a queued submit it is the leg that will run. When the caller named no `model_provider`, Comfy Router selects the serving provider, and this value may be `comfy` - meaning Comfy Router chose the leg - rather than a specific provider name.","type":"string"},"reason":{"description":"Present only when `source` is `unknown`: `not_quotable` (Router cannot price this call before it runs - its price depends on what the provider reports back, or the body does not bound a billed quantity), `unpriced_model` (the rate card does not price this request), `byok` (queued submit only: the run uses your own provider key, so Comfy bills nothing for it), or `pricing_unavailable` (queued submit only: the rate card could not be read when the request was admitted; this is transient, and the run is still charged as usual). Read any other value as `not_quotable`.","type":"string"},"source":{"description":"`exact` | `estimated` | `free` | `unknown`; read any other value as `unknown`. `exact` and `estimated` both label an estimate; neither is the final charge. `free` means the rate card prices this request at zero, so `amount` is \"0\". `unknown` carries no figure.","type":"string"}},"required":["source","currency","provider","model","pricing_as_of"],"type":"object"},"RouterErrorResponse":{"description":"Router's request-level error body: what is returned when the request never reached the model, or failed for a reason the model itself did not report - auth, quota, an unknown model ID, or provider transport. A model-level validation failure has its own shape, `RouterValidationErrorResponse`, because flattening a FastAPI `detail[]` array into this `detail` string would destroy the per-field granularity an SDK branches on.","properties":{"billed_workspace":{"$ref":"#/components/schemas/RouterBilledWorkspace"},"credential_kind":{"description":"How the refused request authenticated - `personal_api_key`, `team_api_key`, `personal_session` or `team_session`. Answers \"which credential do I switch to bill the other wallet?\". It is not a permission and grants nothing. Present only alongside `denied_reason`.","type":"string"},"denied_reason":{"description":"Billing's policy branch for a partner-node spend denial - `no_funds` when the billed wallet is empty, `unspecified` when the call was refused without a funds reading saying so. Present only when `error_type` is `insufficient_credits` and the deployment reports wallet facts; absent otherwise. A machine-readable code, not display text: show `detail`, branch on this.","type":"string"},"detail":{"description":"Human-readable description of the failure, safe to surface to an end user. Not machine-parsed - branch on `error_type` instead. For `model_not_found` on a retired model, `detail` reads `\u003cid\u003e was retired on \u003cYYYY-MM-DD\u003e; use \u003csuccessor\u003e` when a successor is recorded and visible to the caller, or just `\u003cid\u003e was retired on \u003cYYYY-MM-DD\u003e` when it is not, instead of the usual suggestion list. A successor named here is always a live catalog ID the call can be re-pointed at. A model whose sunset date is still in the future is not retired: it stays listed by `GET /v2/models` and stays runnable until that date. Like the rest of `detail`, this retirement wording is for display and carries no compatibility guarantee.\nTwo documented exceptions to the not-machine-parsed rule, because `error_type` cannot express either: on `POST /v2/models/{provider}/{model}` the `409` is answered for three unrelated conditions that share the `invalid_input` bucket, and only `detail` separates them. A `detail` beginning `this request resolved a BYOK credential` is the BYOK `model_provider` refusal; a `detail` beginning \"this request's `image` selects the edit operation\" is the multipart `model_provider` refusal; neither clears with a new `Idempotency-Key`. Any other `invalid_input` `409` on that route is the key conflict. Both prefixes are stable contract terms and may be matched. Nowhere else does branching on `detail` carry a compatibility guarantee.","type":"string"},"error_type":{"$ref":"#/components/schemas/RouterErrorType"},"refusal_subject":{"description":"Which input or output a content-policy refusal was about, as a Router-level closed vocabulary: `input`, `output`, `input_text`, `input_image`, `input_video`, `input_audio`, `output_text`, `output_image`, `output_video`, `output_audio`. The bare `input` / `output` values name the side when the provider did not name a modality. Present only when `error_type` is `content_policy_violation` and the provider named the refused subject with a machine-readable code; absent otherwise. Never provider text. Named today for BytePlus, Runway, BFL, Gemini, Veo, Vertex, xAI and Wan refusals, and for the MiniMax Router's Nano Banana legs' Gemini refusals; a provider whose refusal does not say which side it was about leaves it absent. It mirrors the `X-Comfy-Refusal-Subject` header.","type":"string"},"upstream_detail":{"description":"A bounded, sanitized reason for an `invalid_input` rejection. On the synchronous route it is the reason the model provider gave, present only when `error_type` is `invalid_input` and `X-Comfy-Upstream-Status` is a provider `4xx` or `2xx` - i.e. the provider refused the request as malformed and said why. Usually that status is a `4xx`; it is a `2xx` for a provider that reports a rejected generation inside a success envelope (a BytePlus failed-task poll is HTTP `200` with the reason in its body). There it is absent on every other failure, including provider `5xx`, transport failures, content-policy refusals and any refusal Router raised about itself, and it mirrors the `X-Comfy-Upstream-Detail` header. The queued collect (`GET /v2/models/{provider}/{model}/requests/{request_id}`) of a run that ended `invalid_input` carries the same reason in this field on its first collect, which then deletes it from the request: a later collect normally answers the same `error_type` and `detail` without it, so read it from the first collect. That read sends neither header. The queued collect also uses this field for Router's own reason when Router refused the request before sending it to the provider and can state why in one sentence, which the synchronous route answers in `detail`; a refusal that names individual fields carries none.\nUnlike `detail`, this text is provider-authored, or on the queued collect possibly Router's own sentence, and either way it is length-capped and stripped of URLs, hostnames, emails, tokens and id-shaped values before it is surfaced; it is never the raw provider body. It is a human-readable hint, not machine-parsed - branch on `error_type` instead.","type":"string"}},"required":["detail","error_type"],"type":"object"},"RouterErrorType":{"description":"Coarse, machine-readable bucket for a Router failure, mirrored on the `X-Comfy-Error-Type` response header so a caller can branch without parsing the body. The set is closed at twenty-one values: the six request-level buckets `invalid_input`, `content_policy_violation`, `provider_error`, `provider_timeout`, `insufficient_credits` and `model_not_found`, plus the transport-level `unauthorized`, `forbidden`, `concurrency_limit_exceeded`, `client_disconnected`, `internal_error`, `deadline_exceeded`, `not_enabled`, `service_unavailable`, `rate_limited`, `cancelled`, `queue_timeout`, `request_not_found`, `queue_backlog_full` and `result_expired`, plus the request-level `byok_credential_rejected`. Closed describes the set as documented today, not a bound that holds forever: the set is expected to grow, which is why this is deliberately a plain string and not an `enum`, so a client must treat an unrecognised value as `internal_error` rather than switch exhaustively over the list above and break on the next addition.\nRETRY SEMANTICS. `not_enabled` is TERMINAL - the same request will be refused the same way, so a client must not retry it - while `service_unavailable` is TRANSIENT and SHOULD be retried with backoff. That opposition is the whole reason they are two buckets rather than one: a retry policy keys off the status/`error_type` pair, and a single shared bucket would make retry wrong in one direction or the other.\n`not_enabled` and `forbidden` both return `403` and, like the `504` pair below, the difference between them is the one the status cannot carry. `forbidden` means the credential is valid but is not entitled to this model or operation - a decision about the caller. `not_enabled` means Comfy Router is not switched on for the caller yet - a state of the product rollout, not a judgement about them, and one that changes without the caller doing anything. `404` would have claimed the model does not exist when it does, and a `5xx` would have blamed the server for a deliberate state, so neither was available as a way to separate the two by status instead.\nHOW OFTEN `not_enabled` IS SEEN CHANGES OVER TIME, AND IT NEVER STOPS BEING VALID. While Comfy Router is rolling out, most callers are not on the ramp yet and this is the ordinary answer for them. Once Router is fully rolled out it becomes rare. It does not become impossible: the deploy-time switch that turns Router off for an environment is a permanent operational lever, so `not_enabled` is still the correct answer the day it is pulled. It is therefore a value Comfy expects to STOP EMITTING often rather than one that is ever withdrawn - a published bucket is never removed, because removing it would delete the generated exception class an SDK built from it and break any client branching on it. `service_unavailable` has no such arc at all: a dependency can always fault.\n`deadline_exceeded` and `provider_timeout` both return `504` and the difference between them is which SIDE ran out of time, which is not cosmetic: `provider_timeout` means the upstream model provider ran out of time, while `deadline_exceeded` means COMFY stopped holding the connection at its own configured bound. A client that collapses the two onto the status alone loses that distinction, and with it the difference between \"the partner is failing\" and \"the call is longer than the connection Comfy will hold\".\nNEITHER BUCKET IS A STATEMENT ABOUT THE CHARGE. Comfy's charges settle on COMPLETION: a generation the provider completed is billed whether or not the caller was still connected to receive the response, and a generation that failed or never completed is not billed. Reaching `deadline_exceeded` or `client_disconnected` therefore does not tell a caller they were not charged.\n`cancelled` IS THE SAME KIND OF VALUE and it is the one most often read as a refund. Cancelling asks Comfy to stop waiting; it does not stop a partner that has already accepted the generation, so a request cancelled while it was still `IN_QUEUE` was never dispatched and cannot be charged, whereas one cancelled after it was admitted may still settle a charge. The bucket names what happened to the REQUEST, never what happened to the bill.\nIt is deliberately a plain string rather than an `enum`: the set is expected to grow -- it already has, most recently with the queued-delivery buckets `cancelled`, `queue_timeout` and `request_not_found`, and `file_download_error` is named as a further addition -- and a generated client that hard-rejects an unrecognized bucket would fail hardest exactly when something has already gone wrong. Treat an unknown value as `internal_error`. Bucketing loses no granularity - the specific provider-level reason survives in `RouterValidationErrorDetail.type` and its `ctx`.","example":"invalid_input","type":"string","x-comfy-error-types":[{"meaning":"The request was rejected before it reached the model - a malformed body, a malformed or expired pagination cursor, an input the model's own schema does not accept, or an `Idempotency-Key` that cannot serve this request (already used for a different request - the method, the path and query, or the body differ - or already consumed by a call whose response cannot be replayed). Sent with `409` in the key cases and with `400`/`422` in the others; the status says which, and the key cases are the ones answered by using a new key rather than by editing the request.","tier":"request","value":"invalid_input"},{"meaning":"The provider refused the request on content-policy grounds. The refusal is deterministic: re-sending the same input will be refused again.","tier":"request","value":"content_policy_violation"},{"meaning":"The partner provider reported a failure of its own, or returned a response Router could not interpret as a result.","tier":"request","value":"provider_error"},{"meaning":"The partner provider did not answer within its deadline. This bucket is the provider timing out and never Router's own server deadline, which is reported as `deadline_exceeded` - the two share `504` and are separated because they name different causes: this one says the partner failed, that one says Comfy stopped holding the connection.","tier":"request","value":"provider_timeout"},{"meaning":"The calling workspace does not have enough credits to run the model.","tier":"request","value":"insufficient_credits"},{"meaning":"The `{provider}/{model}` ID names no model Router can run: an unknown provider, an unenrolled id, one the catalog has retired past its sunset date, or a catalogued ID the provider does not currently serve for Comfy. A retired id's `detail` reads `\u003cid\u003e was retired on \u003cYYYY-MM-DD\u003e; use \u003csuccessor\u003e` when a successor is recorded and not withheld, or just `\u003cid\u003e was retired on \u003cYYYY-MM-DD\u003e` when it is not, instead of a suggestion list; the successor named for a retired id is always a live catalog ID you can re-point the call at, and a successor is dropped from `detail` either because the table records none, or because the recorded one is currently withheld behind an embargo the caller cannot see. A model whose sunset is still in the future is not withdrawn: it stays listed by `GET /v2/models` and stays runnable until the date, so a listing taken today remains the answer to what runs today. Otherwise `detail` carries up to three suggestions drawn from the models the caller is entitled to see, except for a catalogued ID the provider does not currently serve for Comfy, whose response carries no suggestions.","tier":"request","value":"model_not_found"},{"meaning":"The request carried no usable credential.","tier":"transport","value":"unauthorized"},{"meaning":"The credential is valid but is not entitled to this model or this operation.","tier":"transport","value":"forbidden"},{"meaning":"The workspace already has as many calls in flight as it is allowed; retry once one of them finishes. It carries one further condition on the run route, on a `409` rather than the `429` above: another call is already in flight for the `Idempotency-Key` this request presented. Re-send the same key after `Retry-After` seconds to collect that call's result.","tier":"transport","value":"concurrency_limit_exceeded"},{"meaning":"The caller closed the connection before Router could return a result. It is logged rather than delivered - there is no socket left to write it to - and it is an attribution, not a billing outcome: a provider generation that completed is billed regardless of whether the caller received the response.","tier":"transport","value":"client_disconnected"},{"meaning":"Router itself failed. It is also the value a client should treat any unrecognized bucket as, so a later addition to the set does not break a client generated before it.","tier":"transport","value":"internal_error"},{"meaning":"Comfy stopped holding the connection at its own configured bound before an answer arrived. It shares `504` with `provider_timeout` and the pair says which side ran out of time; this one is Comfy's own bound, so nothing about the request was rejected and the same request may be retried. It says nothing about the charge: a provider generation that completed is billed regardless of whether the caller received the response. Retry it with the same `Idempotency-Key`: when the provider had already accepted the generation, the retry collects that generation rather than dispatching another, and a `Retry-After` on the `504` says when to ask.","tier":"transport","value":"deadline_exceeded"},{"meaning":"Comfy Router is not switched on for this caller yet. Nothing about the request is wrong and the model exists, which is why this is not `model_not_found`; it shares `403` with `forbidden` and is not the same thing, because `forbidden` is an entitlement decision about the caller while this is a state of the rollout. It is terminal: do not retry, and do not treat it as an outage. The one exception to \"about the caller\" is the queued submit, which also answers `not_enabled` for a model whose partner answers a generation directly as bytes: that model cannot yet be queued, so it is the model and not the caller that is refused, nothing is queued or charged, and the synchronous route `POST /v2/models/{provider}/{model}` runs it instead.","tier":"transport","value":"not_enabled"},{"meaning":"A service Comfy Router depends on is temporarily unavailable and the caller did nothing wrong. Retry it with backoff: it is the one bucket here whose condition clears on its own, without the caller changing the request and without a concurrency slot freeing, which is what distinguishes it from the other retryable answers (`concurrency_limit_exceeded`, `deadline_exceeded`). It is separate from `internal_error` - which is a `500` and means Router itself failed - so a client can tell \"come back shortly\" from \"this call is not going to work\".","tier":"transport","value":"service_unavailable"},{"meaning":"The caller has spent an allowance measured over a window and must wait for that window to roll, or the model provider throttled the call before starting any generation. It shares `429` with `concurrency_limit_exceeded` and is not the same thing: that one clears the moment one of the caller's own in-flight calls finishes, so retrying in seconds is right, whereas nothing the caller does drains this one early. `detail` names the window, and `Retry-After` the seconds to wait. On a provider's limit, `X-Comfy-Upstream-Status` carries its `429`, and `Retry-After` carries the provider's own wait only when it sent one.","tier":"transport","value":"rate_limited"},{"meaning":"A queued request was withdrawn — through the cancel route, or by an operator — before it produced a result; it is terminal, and it is not by itself a statement about the charge. Cancelling stops Comfy waiting and it does not always stop the partner working, so a request cancelled while it was still `IN_QUEUE` was never dispatched and cannot be charged, whereas one cancelled after it was admitted may still be charged — a partner generation that completes is charged whether or not anyone collected it, which is why the cancel route calls the ask a request rather than a guarantee. It is not `client_disconnected`: that one says nobody is listening any more while a generation may still be running and billable, whereas this says the request itself was withdrawn. A caller polling the status read sees `200` with this in the body, because the request ended and so the read succeeded. Collecting the result of such a request answers `409` in Router's error envelope: that read also worked, and what it found is a request whose terminal state - the caller's own decision - leaves nothing to return. It is deliberately not `410`, which on that route means the result aged out of its retention window, and not a `5xx`, which would report the caller's own cancellation as a Router fault and read to a polling client as worth retrying.","tier":"transport","value":"cancelled"},{"meaning":"A queued request waited past its queue timeout without ever being admitted. Terminal, unbilled, and it never took a concurrency slot — the job never reached a provider. Deliberately not `deadline_exceeded`, which is the synchronous route's connection bound: a `deadline_exceeded` generation may be running and billable, whereas this one provably never started. It is returned under `504`, which it shares with `provider_timeout` and `deadline_exceeded` because a status can only say that a clock ran out; which clock - the partner's, Comfy's connection bound, or the queue's admission bound - is what `error_type` carries. The request itself is terminal, so submit a new one rather than re-reading this one.","tier":"transport","value":"queue_timeout"},{"meaning":"The `request_id` names no request of the caller's under this model. It is the second of the two conditions the queued reads' `404` covers; the first is the `{provider}/{model}` ID resolving to no partner model, which is `model_not_found` and carries fuzzy model suggestions. It also covers the right-id / wrong-model URL the path shape refuses, and it is deliberately indistinguishable from a request in another workspace, so a probe with a guessed id learns nothing. A request that has merely aged out of its retention window is `410`, not this.","tier":"transport","value":"request_not_found"},{"meaning":"The caller already has too many queued requests waiting to run, so this submit was refused. It shares `429` with `concurrency_limit_exceeded` and is not the same thing: that one is the synchronous route's answer for too many calls in flight at once, whereas the queue accepts a submit at that limit and parks it, and this bucket is the separate bound on how many a caller may leave waiting so that parking cannot mean enqueuing without end. It clears as the caller's own queued requests finish, so retry once some of them complete.","tier":"transport","value":"queue_backlog_full"},{"meaning":"The request existed and finished, but its result is no longer stored, so the collect has nothing to return. It is returned under `410` and is permanent for that id: re-reading will answer the same way, so do not retry it. It is deliberately not `request_not_found`, which would tell you the id was never valid and invite re-submitting a generation that has already run. Running the model again means submitting a new request. For a workspace under a zero-data-retention agreement, a queued request's result is not kept after it is delivered: it is removed shortly after the first collect, and an uncollected result is removed after a grace period once the request finishes, so store the result on your side when you first collect it.","tier":"transport","value":"result_expired"},{"meaning":"The provider rejected the key supplied for this call. It is returned under `401`. Check the key stored for this provider; sending the same key again will be refused the same way. An upstream `403` is the same refusal and is returned as this `401`, with the provider's own status on `X-Comfy-Upstream-Status`. This names the caller's provider key, not the caller's Comfy credential (`unauthorized`, `forbidden`) and not an outage of the provider (`provider_error`). The provider's response body is not included.","tier":"request","value":"byok_credential_rejected"}]},"RouterModelBilling":{"description":"Per-model billing facts a caller needs before invoking - not prices. Usage and cost figures never appear here.\nIt is an object with one member rather than a flat sibling field because more pre-invocation billing facts are coming and a flat `billing_charges_*` family would have to be un-flattened later; a nested object absorbs them without a breaking rename. The member is `required` for the reason its own description gives - \"we did not say\" and \"we do not charge\" must not be the same wire state.","properties":{"charges_on_policy_rejection":{"$ref":"#/components/schemas/RouterChargesOnPolicyRejection"}},"required":["charges_on_policy_rejection"],"type":"object"},"RouterModelDetail":{"allOf":[{"$ref":"#/components/schemas/RouterModelListEntry"},{"$ref":"#/components/schemas/RouterModelDetailFields"}],"description":"Per-model detail for one Comfy Router model: everything the catalog listing reports for it, plus the per-model fields that only the single-model route carries.\nIt is `allOf: [RouterModelListEntry, RouterModelDetailFields]` so that the shared half IS the list entry rather than a copy of it - see the section comment above. A generated client can therefore treat a detail response as a list entry everywhere a list entry is expected.","type":"object"},"RouterModelDetailFields":{"description":"The half of `RouterModelDetail` the catalog listing does not carry: per-model fields worth one lookup but not worth repeating on every entry of a paginated catalog page.\nEvery property here is OPTIONAL, and each is owned by a sibling E3 story. This contract reserves the field name and its type; the story that lands the feature narrows the description and the value set. A model whose sibling story has not landed for it yet simply omits the field, which is why nothing here is `required` and why a client must treat every one of them as absent-by-default.\nThe `billing_policy` slot this block also reserved is gone: E3 S3.5 landed as `RouterModelListEntry.billing`, on the SHARED half, because the field has to be readable from the listing and not only from the detail - see that schema.","properties":{"input_schema_url":{"description":"Pointer to this model's input schema document - the description of the body `POST /v2/models/{provider}/{model}` accepts for this model. Only the pointer is part of this contract: the document it addresses is authored separately. Absent when no schema has been authored for the model.\nIt is an ABSOLUTE `https` URI, deliberately not a `uri-reference`. Clients dereference or render this value, and a relative reference would resolve against the caller's own base while a `file:`, `data:` or `javascript:` scheme would be scheme confusion in every generated SDK. If this field is ever populated from partner- or admin-supplied metadata, that constraint is the only thing standing between that metadata and the client, so a server MUST NOT emit a value this pattern rejects.","format":"uri","maxLength":2048,"pattern":"^https://","type":"string"}},"type":"object"},"RouterModelId":{"description":"A canonical Comfy Router model ID, `{provider}/{model}` - exactly the value that addresses the model on `POST /v2/models/{provider}/{model}`, so a caller can interpolate it into that path without re-deriving it from anything. Its `pattern` is `RouterProviderSegment` and `RouterModelSegment` joined by a single `/`, and `maxLength` is their sum plus that separator.\nTestRouterCatalogIdsMatchInvocationRoute probes all three patterns behaviourally against one corpus, so loosening or tightening any of them alone fails CI rather than silently letting the catalog advertise an ID the invocation route would reject. The optional `variant` third segment is deliberately absent: how a variant is addressed is not settled by the invocation contract, so the catalog must not list an ID that route is not yet defined to accept. The PUBLIC lead paragraphs of `RouterProviderSegment`, `RouterModelSegment` and the `RouterProvider` / `RouterModel` path parameters therefore spell the canonical ID `{provider}/{model}` with no variant suffix, and must keep doing so while the variant form is unsettled: those leads are the only text the SDK projection publishes, so a three-segment form there vendors an ID shape every published `pattern` rejects and no path template accepts AS A MODEL ID. (`/v2/models/{provider}/{model}/openapi.json` does match a third segment, but only when it is that one literal - which is exactly the collision `getRouterModelInputSchema` reserves against, not an ID the route accepts.) The reservation is argued in the rationale paragraphs, which are never projected, and that is where it belongs. ONE bound does not survive the composition: `maxLength` here is the TOTAL, so a 193-character ID made of a 100-character provider and a 92-character model satisfies this schema while its provider segment exceeds `RouterProviderSegment`'s own 64. A single `pattern` cannot express a per-segment length bound - the structural alphabet and a character count are not jointly expressible without lookahead, which this repo's Go-side pattern probes cannot compile. The per-segment bounds are therefore carried by the sibling `provider` and `model` fields of `RouterModelListEntry`, which reference the bounded segment schemas directly, so no CONFORMING entry can carry such an `id`. TestRouterCatalogIdsMatchInvocationRoute pins that this residual is length-only: over-length segments are in its corpus, and any divergence that is not purely a per-segment length overrun fails.","example":"bfl/flux-2-pro","maxLength":193,"pattern":"^[a-z0-9]+([._-][a-z0-9]+)*/[a-z0-9]+([._-][a-z0-9]+)*$","type":"string"},"RouterModelInput":{"additionalProperties":true,"description":"A partner model's native JSON input document, forwarded to the provider as-is. Its concrete shape is owned by the partner rather than by Comfy, so this is an open object: Router does not narrow, rename, or re-envelope the fields. It is a named component (never an inline anonymous object) because ComfyUI's spec-driven codegen needs a class to generate.\nDeclaring an object here is a codegen requirement, not a licence to re-decode the payload: numeric fidelity is the handler's job, since decoding into a Go `map[string]any` rounds integers above 2^53 (partner seeds and IDs) to `float64`. Forward the raw bytes rather than round-tripping them through a generic map. Body size is likewise bounded at the handler - comfy-api caps comparable bodies with `http.MaxBytesReader` - not by this schema.","type":"object"},"RouterModelInputSchemaDocument":{"additionalProperties":true,"description":"A standalone OpenAPI document describing one Comfy Router model's input and output - the body `POST /v2/models/{provider}/{model}` accepts for that model, under the operation's `requestBody`, and the body it returns, under that operation's `200` content. It is what `GET /v2/models/{provider}/{model}/openapi.json` returns. The component keeps its historical name, which predates the output half; the shape it describes is the whole document, not the input alone.\nIt is a full OpenAPI document rather than a bare JSON Schema because that is what the tools this endpoint exists for consume: an SDK generator takes an OpenAPI document. The document is STANDALONE: every schema component EITHER half references travels with it under its own `components.schemas` - the two closures are unioned, because the document has only one components section - so nothing in it points at a section the caller does not have.\nA DESCRIBED output is keyed `application/json`, or with whatever media type its authored component declares through `x-comfy-router-output-media-type` (a media-type string, e.g. `video/mp4`) - so a generated client decodes the body the way the provider actually sends it rather than trying to JSON-parse a binary one.\nAn output Comfy has NOT described yet is keyed `*/*`, not `application/json`. The two are different claims: an undescribed output is unknown in its media type as much as in its shape, and some Router models answer with binary bodies, so keying the permissive output as JSON would assert a contract Comfy has not established. Read `x-comfy-output-schema-authored` to tell the two apart.\nThe shape is left open here on purpose. Its concrete contents are an OpenAPI document, and restating the OpenAPI meta-schema inside this spec would be a second copy of a specification Comfy does not own - the exact publish-versus-enforce drift this endpoint exists to prevent, one level up. It is a named component (never an inline anonymous object) because ComfyUI's spec-driven codegen needs a class to generate.\nFive Comfy extensions are carried at the document root and are part of this contract. `x-comfy-router-model-id` repeats the canonical model ID, so a document saved to disk still names the model it describes. `x-comfy-input-schema-authored` is a boolean reporting whether the embedded REQUEST schema was authored for this model (`true`) or is the permissive fallback served until one is (`false`); the two are indistinguishable from the schema alone, and a caller that cannot tell them apart would read \"any JSON object\" as a narrowed contract. `x-comfy-output-schema-authored` reports the same thing for the RESPONSE schema under the `200`. The two flags are INDEPENDENT and must be read separately: the halves are authored one at a time, so an authored input with an undescribed output is the ordinary state rather than an edge case. `x-comfy-router-input-modalities` and `x-comfy-router-output-modalities` are arrays naming the kinds of media the model consumes and emits, each element one of `text`, `image`, `video`, `audio` or `3d`. The INPUT array records what the model is DOCUMENTED TO ACCEPT, which is a narrower claim than what the request schema admits: request schemas are shared across sibling models (one `GeminiPart` serves every Gemini spelling), so the schema may admit media kinds this model ignores. The array, not the schema, is the capability signal; the schema is still exactly what the server validates against. The output array is ORDERED: its first element is the model's primary output and any later element a secondary one (a video model that returns a soundtrack is `[\"video\",\"audio\"]`). Both are always present and never empty on a document this server builds; an absent key means a server that predates them, not a model with no modality.","type":"object"},"RouterModelListEntry":{"description":"One entry in the Router model catalog: the identity of a runnable model, and nothing else. The per-model detail route composes this same entry rather than restating it, which is why the name is `...ListEntry` and not `...Summary` - there must be exactly one definition of what a catalog entry is. Per-model detail and the per-model input/output schemas are their own routes, so this shape stays the minimum a caller needs in order to invoke the model - deliberately, because this is the payload an SDK fetches on cold start. `id` is `provider` and `model` joined by `/`; the two fields are carried separately as well so a caller composes the invocation path without splitting a string.\n`billing` is the one non-identity member, and it is here rather than on the detail route deliberately: it exists so a caller can branch BEFORE invoking, and the listing is the payload an SDK already has in hand at that moment. Pushing it to the detail route would mean one extra round trip per model to answer a question asked about every model.\n`realtime` is present only on a realtime model, which is reached through a session route rather than `POST /v2/models/{provider}/{model}`; it carries how to connect, for the same reason `billing` is here.","properties":{"billing":{"$ref":"#/components/schemas/RouterModelBilling"},"id":{"$ref":"#/components/schemas/RouterModelId"},"model":{"$ref":"#/components/schemas/RouterModelSegment"},"provider":{"$ref":"#/components/schemas/RouterProviderSegment"},"realtime":{"$ref":"#/components/schemas/RouterModelRealtime"},"schema_etag":{"description":"The current strong `ETag` of this model's `GET /v2/models/{provider}/{model}/openapi.json` document. Send it as `If-None-Match` on that read to get a `304` while the schema is unchanged, or compare it with the value seen last time to learn which models' schemas changed without fetching every document. Absent whenever that read would not answer `200` for this caller at this moment: the schema service is not available, the model's document cannot be rendered, or the model stopped being available to this caller while the response was being built. An absent tag is not a schema change; re-read the model's document to learn its current tag.","example":"\"9f2c1e0b7a4d3c6e8f5a2b1d0c9e8f7a6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e\"","type":"string"}},"required":["id","provider","model","billing"],"type":"object"},"RouterModelListResponse":{"description":"One page of the Router model catalog.\n`has_more` is the ONLY correct stop condition for a walk: a short page is not one, because a page can be trimmed by an entry that disappeared between the cursor being minted and the page being served. `next_cursor` is present exactly when `has_more` is true, and omitted otherwise. `limit` echoes the page size actually served, which is what makes a clamped request detectable.","properties":{"data":{"description":"The models on this page, at most `limit` of them.","items":{"$ref":"#/components/schemas/RouterModelListEntry"},"type":"array"},"has_more":{"description":"Whether another page exists beyond this one. Keep walking while this is true; do not infer the end of the catalog from a short or empty `data`.","type":"boolean"},"limit":{"description":"The page size actually served. A requested `limit` above the maximum is clamped down to the maximum rather than rejected, so this can be smaller than the value asked for - paginate with this number, not with the one you sent, or you will assume rows you never received.\nUnlike the REQUEST parameter, this one declares a `minimum`: sub-1 is meaningful on the way in (it selects the default) but a page size actually served is always positive, and `0` is exactly what an unset Go field serializes to - so without the bound a handler that forgets to populate this still emits a conforming response, and `limit: 0` beside `has_more: true` describes a walk that cannot advance.","example":20,"maximum":100,"minimum":1,"type":"integer"},"next_cursor":{"$ref":"#/components/schemas/RouterPageCursor"}},"required":["data","has_more","limit"],"type":"object"},"RouterModelOutput":{"additionalProperties":true,"description":"A partner model's native JSON output document, returned to the caller as-is. Its concrete shape is owned by the partner rather than by Comfy, so this is an open object: Router does not narrow, rename, or re-envelope the fields. It is a named component (never an inline anonymous object) because ComfyUI's spec-driven codegen needs a class to generate. For the concrete shape one model returns, read that model's own document at `GET /v2/models/{provider}/{model}/openapi.json`, whose `200` carries the per-model output schema when Comfy has described it.\nDeclaring an object here is a codegen requirement, not a licence to re-decode the payload: numeric fidelity is the handler's job, since decoding into a Go `map[string]any` rounds integers above 2^53 (partner seeds and IDs) to `float64`. Forward the raw bytes rather than round-tripping them through a generic map. Body size is likewise bounded at the handler - comfy-api caps comparable bodies with `http.MaxBytesReader` - not by this schema.","type":"object"},"RouterModelRealtime":{"description":"How to open a session with a realtime model. Present only on realtime models, and absent on every model that runs through `POST /v2/models/{provider}/{model}`: a realtime model is not run through that route, which refuses its id with `model_not_found`. Read the connection details from here rather than building them from a table of serving providers or wire formats in the client.\nEvery value is a plain string rather than an `enum`, like every other extensible Router vocabulary, so treat an unrecognized value as a mode the client does not support and skip the model.","properties":{"auth":{"description":"The ways `connect_url` accepts the caller's credentials. `x-api-key` - a Comfy API key in the `X-API-Key` header. `comfy-realtime.v1` - the `Sec-WebSocket-Protocol` value the client offers, which the upgrade selects. `comfy-bearer` - a Firebase ID token offered as the `Sec-WebSocket-Protocol` entry `comfy-bearer.\u003ctoken\u003e` beside `comfy-realtime.v1`, for a browser that cannot set headers on a WebSocket. A method the route does not accept is not listed.","example":["x-api-key","comfy-realtime.v1","comfy-bearer"],"items":{"type":"string"},"type":"array"},"billing_unit":{"description":"What a session is metered in. `per_second` - wall-clock seconds of an open session.","example":"per_second","type":"string"},"connect_url":{"description":"The path, on the same host that served this catalog, that opens a session with this model. It is a path, not a full URL: take the scheme and host from the base URL used to read `GET /v2/models`, using `wss` (or `ws`) for a `GET` WebSocket upgrade and keeping `https` for a `POST`. Use it as given; it already names the serving route Comfy chose for the model, and the client is not asked to choose one.","example":"/v2/realtime/google/google/genie-4","type":"string"},"max_session_seconds":{"description":"The longest one session can run, in seconds. A session also ends sooner when the caller's balance runs out.","example":120,"minimum":1,"type":"integer"},"method":{"description":"The HTTP method `connect_url` is called with: `GET` for a WebSocket upgrade, `POST` for a route that mints a session or carries WebRTC signalling over HTTP.","example":"GET","type":"string"},"transport":{"description":"How the session runs. `websocket` - a WebSocket that carries the session's messages. `websocket_media_frames` - a WebSocket whose messages also carry image or video frames. `webrtc` - media flows over WebRTC, negotiated either over the WebSocket at `connect_url` (`GET`) or by HTTP signalling calls to it (`POST`). `session_post` - a `POST` that mints a session and answers with the details to join it.","example":"websocket","type":"string"},"wire_format":{"description":"The encoding of the messages the client sends and receives on `connect_url`: `json` or `msgpack`. For a `POST` route it is the request and response body encoding.","example":"json","type":"string"}},"required":["connect_url","method","transport","wire_format","auth","billing_unit","max_session_seconds"],"type":"object"},"RouterModelSegment":{"description":"Lowercase `model` segment of the canonical `{provider}/{model}` model ID - the model to run within that provider. Shared by the invocation route's `model` path parameter and a catalog entry's `model` field, for the same no-drift reason as `RouterProviderSegment`.\nAs with the provider segment, the `pattern` documents the contract and does not enforce it. Dots are permitted inside the segment because partner model IDs use them for versions (`flux-pro-1.1`), but a repeated separator is not, so `..` cannot appear.","example":"flux-2-pro","maxLength":128,"pattern":"^[a-z0-9]+([._-][a-z0-9]+)*$","type":"string"},"RouterPageCursor":{"description":"An opaque cursor into a Router list. It is produced by the server and only ever round-tripped: it is not an offset, not a model ID, not ordered, and not stable across catalog rebuilds, so parsing one, incrementing one, or persisting one beyond the walk it came from are all outside the contract. Cursor rather than offset because the catalog is a moving list - an offset walk silently skips or repeats entries when entries are added or removed mid-walk, and a caller cannot tell that it happened.\n`maxLength` bounds it because the value arrives in a query string and is fed to a decoder; a cursor that is malformed, truncated, over-long or no longer valid is a `400` from the Router error contract, never a `500`. `minLength: 1` is load-bearing rather than tidy: Echo's `QueryParam` returns `\"\"` for both `?cursor=` and an omitted `cursor`, so without it the empty string is a schema-valid cursor indistinguishable from no cursor at all, and a handler would silently restart the walk at page one - the infinite loop `RouterCatalogCursor` explicitly forbids. An empty `cursor` is therefore a `400`, not page one. The `pattern` fixes the alphabet at URL- and base64-safe characters so a control character, a CR/LF, or a space can never ride a query string into the decoder or into a `400`'s free-text `detail`. It constrains the SERVER, which is the only party that mints these; as with the model-ID segments it is a CONTRACT statement and not enforcement, since comfy-api installs no OpenAPI request validator - a handler must still validate the value it was handed before decoding it.","example":"q7Fm2xTn9pLd4RsV","maxLength":512,"minLength":1,"pattern":"^[A-Za-z0-9._~+/=-]+$","type":"string"},"RouterProviderSegment":{"description":"Lowercase `provider` segment of the canonical `{provider}/{model}` model ID - the partner whose model is being addressed. The invocation route's `provider` path parameter and a catalog entry's `provider` field both reference this one schema, which is what keeps the listed IDs and the accepted IDs from drifting apart.\nThe `pattern` is a CONTRACT statement, not enforcement: comfy-api installs no OpenAPI request validator and oapi-codegen binds path parameters as plain strings, so a handler must re-validate the segment itself before using it to select a provider or compose an upstream URL. The alphabet deliberately admits no `/`, no percent-encoding, and no repeated separator, so no accepted value can contain a `.` or `..` path segment.","example":"bfl","maxLength":64,"pattern":"^[a-z0-9]+([._-][a-z0-9]+)*$","type":"string"},"RouterQueueCancelResponse":{"description":"The answer to a cancellation ask on the two statuses that describe a request this route resolved - the `202` and the `409`. One body shape across both rather than a success envelope plus an error envelope, because both are the same statement - what cancelling found - and a client that has to parse a different type per status code gains nothing from the split.\nThe `404` is NOT this shape. It answers in the shared Router request-level error body, because it also carries the `model_not_found` miss every route on this surface shares; see `RouterQueueCancelStatus` for why that outcome is read off the status code rather than off this body.","properties":{"request_id":{"$ref":"#/components/schemas/RouterQueueRequestId"},"status":{"$ref":"#/components/schemas/RouterQueueCancelStatus"}},"required":["request_id","status"],"type":"object"},"RouterQueueCancelStatus":{"description":"What a cancellation ask found, for the two outcomes that describe a request this route actually resolved. Both are mirrored by the HTTP status, so a client may branch on either.\nIt is deliberately NOT a `RouterErrorType`. That vocabulary classifies why a CALL failed and has no member meaning \"already finished\"; these two say what cancelling FOUND, which is a different question with a different, genuinely closed answer set - and unlike `RouterErrorType`, which is expected to grow, this one is closed for good, because a request this route resolved was either still cancellable or it was not. A published `RouterErrorType` bucket is never withdrawn, so minting one belongs in the change that raises it.\n`CANCELLATION_REQUESTED` means the ask was accepted for a request that had not yet reached a terminal state. It does NOT mean the run has stopped: a generation already on the wire at a partner may complete anyway, and a partner generation that completes is charged. Read the status endpoint to learn what actually happened. `ALREADY_COMPLETED` means the request had already reached a terminal state - success, failure, or an earlier cancellation, and this answer does not say which.\nTHE THIRD OUTCOME - no such request - IS THE `404`, and it is deliberately NOT a member here. It is answered in the SHARED Router request-level error body, the same one the two queue reads answer a miss with, because this route's `404` carries TWO conditions and only one of them is about the queue: a `{provider}/{model}` that resolves to no partner model is `model_not_found` here exactly as everywhere else on this surface, and a cancel-shaped `NOT_FOUND` would silently swallow it - telling a caller who mistyped the MODEL that their REQUEST does not exist, and dropping the fuzzy suggestions that would have corrected them. One shape for one condition, and the condition is \"this ID resolved to nothing\". Branch on the `404`.","enum":["CANCELLATION_REQUESTED","ALREADY_COMPLETED"],"example":"CANCELLATION_REQUESTED","type":"string"},"RouterQueuePosition":{"description":"How many requests are ahead of this one in the queue, at the instant the response was composed. Zero means this request is at the front.\nIT IS A SNAPSHOT AND NOT A PROMISE. It can move in either direction: other callers submit, requests ahead complete or are cancelled, and capacity is not shared equally between models. Show it to a human as a rough progress signal; do not compute an ETA from it and do not branch a retry policy on it - `Retry-After` is the number that exists for that, and `status` is the one that says whether the request is still waiting at all.\nIt is absent once the request is no longer `IN_QUEUE`, rather than being reported as zero: zero already means \"at the front\", so reusing it for \"no longer queued\" would make a running request indistinguishable from the next one to start.","example":3,"minimum":0,"type":"integer"},"RouterQueueRequestId":{"description":"Identifier of one queued Router request - the handle a caller polls, cancels and collects a result by.\nIT IS NOT THE VALUE OF `X-Comfy-Request-Id`, and the two must not be confused. This id is DURABLE: one value for the whole life of the queued request, returned in the submit response's `request_id` and embedded in every URL that response hands back. `X-Comfy-Request-Id` is the per-CALL id the server mints and re-asserts on every response - the one on that call's usage and audit event and on every log line for it - so a poll loop making twenty calls against one queued request sees twenty different header values and one unchanging `request_id`.\nREAD THE HANDLE FROM THE BODY, never from the header. A client that keeps only the header polls a request that does not exist. The two ids are the two halves of an audit join rather than one value: quote the header to ask about ONE call and the charge it raised, quote `request_id` to ask about the QUEUED REQUEST across every call made against it.\nIt is server-minted and is never read from a request. A caller-supplied handle would let two unrelated calls collide in the audit trail, which is worse than having no join at all. Use `Idempotency-Key` to make a re-submission safe; that is the caller-controlled identifier on this surface, and it is a different job.","example":"6f1a1a6e-6a53-4a5f-9d3a-2b3b0a1f9c21","format":"uuid","maxLength":36,"pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"},"RouterQueueStatus":{"description":"The state of a queued Router request. It has exactly three values, and unlike `RouterErrorType` this one is a closed `enum`, because the two schemas are closed in opposite directions on purpose. `RouterErrorType` classifies failures and its set is expected to grow, so a generated client that hard-rejected an unrecognised bucket would fail hardest exactly when something had already gone wrong. This one is a lifecycle, and a lifecycle with a fourth state added later is a breaking change to every polling loop written against it whether it is declared as an enum or not - so it is declared as one, and the constraint is stated where a client can see it.\nTHERE IS NO `FAILED` AND NO `CANCELLED`. A run that failed and a run the caller cancelled are both `COMPLETED`, carrying an `error_type`. `COMPLETED` means the request has reached a terminal state and will not change again; it does NOT mean it succeeded. A polling client's loop asks one question - \"is it finished\" - and gets one answer, instead of one per way a run can end; whether it succeeded is then a separate question answered by whether `error_type` is present.","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"],"example":"IN_QUEUE","type":"string"},"RouterQueueStatusFields":{"description":"The half of `RouterQueueStatusResponse` that is not the URL block: one queued request's identity, its current state, and - when that state is terminal and the run did not succeed - the coarse bucket saying why.\nThe composed response is the body of the status read's `200` AND of the result read's `202`, which is deliberate: a client that polls the result URL and a client that polls the status URL parse the same type, so the two views of one request cannot drift into two shapes.","properties":{"error_type":{"allOf":[{"$ref":"#/components/schemas/RouterErrorType"}],"description":"Present only on a `COMPLETED` request that did not succeed, carrying the same coarse bucket the result read puts on `X-Comfy-Error-Type` when it returns that failure. It is what distinguishes a terminal request that succeeded from one that failed or was cancelled - there is no separate terminal status for either - and it is absent on success rather than null, so branch on its presence.\nIt is the coarse bucket ALONE. The human-readable `detail`, and a model's per-field validation errors, are not restated here: the status read exists to be polled cheaply and repeatedly, and the result read returns the full error body once."},"queue_position":{"$ref":"#/components/schemas/RouterQueuePosition"},"request_id":{"$ref":"#/components/schemas/RouterQueueRequestId"},"status":{"$ref":"#/components/schemas/RouterQueueStatus"}},"required":["request_id","status"],"type":"object"},"RouterQueueStatusResponse":{"allOf":[{"$ref":"#/components/schemas/RouterQueueUrls"},{"$ref":"#/components/schemas/RouterQueueStatusFields"}],"description":"One queued request's current state, composed with the same three URLs the submission returned.","type":"object"},"RouterQueueSubmitFields":{"description":"The half of `RouterQueueSubmitResponse` that is not the URL block: the new request's identity and its state at the instant it was admitted.\n`status` is always `IN_QUEUE` here - a request cannot already be running or finished at the moment it was created - and it is carried anyway rather than left implicit, so that one client-side type covers the submission and every poll after it.","properties":{"estimate":{"allOf":[{"$ref":"#/components/schemas/RouterCostEstimate"}],"description":"The pre-flight cost estimate for this request, present on a fresh admission when the cost estimate is enabled for the caller. It quotes the provider leg this request was pinned to (the queue has no fallback loop, so `fallback_provider` never changes the leg that runs). When no figure can be given it is still present, with `source: unknown`; the submission never fails because of the estimate. Omitted on an idempotent replay (`Idempotent-Replayed: true`), because the original quote is not stored. It is an estimate, not the final charge, and not a price lock: the run is charged at the rates in force when it is rated, and the settled charge in your workspace's usage and billing records is final."},"queue_position":{"$ref":"#/components/schemas/RouterQueuePosition"},"request_id":{"$ref":"#/components/schemas/RouterQueueRequestId"},"status":{"$ref":"#/components/schemas/RouterQueueStatus"}},"required":["request_id","status"],"type":"object"},"RouterQueueSubmitResponse":{"allOf":[{"$ref":"#/components/schemas/RouterQueueUrls"},{"$ref":"#/components/schemas/RouterQueueSubmitFields"}],"description":"The handle returned when a run is admitted to the queue: the request's identity and state, composed with the three URLs that address the rest of its lifetime.\nIt is `allOf: [RouterQueueUrls, ...]` so that the URL half IS the same shape the status read returns rather than a copy of it, and a generated client can hand a submission to anything that accepts a queue handle.","type":"object"},"RouterQueueUrls":{"description":"The three URLs that address the rest of one queued request's lifetime, returned on every response that carries a live handle so a client never composes a queue URL itself.\nReturning them is what keeps the path shape a Comfy implementation detail rather than a contract every SDK hard-codes: the flat `/v2/requests/{request_id}` form this contract deliberately left available stays a one-line change for clients that follow these fields, and a breaking one for clients that build the path from the model ID and the id.\nThey are absolute URLs, on the same host the caller reached, and they carry no credential: the caller authenticates the follow-up read exactly as they authenticated the submission.","properties":{"cancel_url":{"description":"Absolute URL a cancellation is asked for at.","example":"https://api.comfy.org/v2/models/bfl/flux-pro-1.1/requests/6f1a1a6e-6a53-4a5f-9d3a-2b3b0a1f9c21/cancel","format":"uri","type":"string"},"response_url":{"description":"Absolute URL this request's result is collected from.","example":"https://api.comfy.org/v2/models/bfl/flux-pro-1.1/requests/6f1a1a6e-6a53-4a5f-9d3a-2b3b0a1f9c21","format":"uri","type":"string"},"status_url":{"description":"Absolute URL of this request's status read.","example":"https://api.comfy.org/v2/models/bfl/flux-pro-1.1/requests/6f1a1a6e-6a53-4a5f-9d3a-2b3b0a1f9c21/status","format":"uri","type":"string"}},"required":["status_url","response_url","cancel_url"],"type":"object"},"RouterValidationErrorContext":{"additionalProperties":true,"description":"The violated bound for one `RouterValidationErrorDetail`, carried from the provider verbatim - for example `{\"limit_value\": 8}` alongside `greater_than`, `{\"min_width\": 512}` alongside `image_too_small`, or `{\"max_size_bytes\": 10485760}` alongside `file_too_large`. The key set is specific to the provider and the error type, so this is deliberately an open object: narrowing it to a fixed field list, or folding it into the `msg` string, is precisely how a ported integration compiles and then silently loses the branch that read the bound. Absent when the error type carries no bound.","type":"object"},"RouterValidationErrorDetail":{"description":"One model-level validation failure, in the FastAPI form. `type` carries the specific provider reason - `value_error`, `missing`, `image_too_small`, `unsupported_audio_format`, `greater_than`, `file_too_large` and the rest - which is the granularity `RouterErrorType`'s coarse bucket cannot express. It is an open string and not an `enum` for the same reason: the provider vocabulary runs to roughly 48 values across two tiers and grows on the provider's release cycle, not ours, and an unmodelled value must reach the caller rather than fail deserialization.","properties":{"ctx":{"$ref":"#/components/schemas/RouterValidationErrorContext"},"input":{"$ref":"#/components/schemas/RouterValidationErrorInput"},"loc":{"description":"Path to the offending field, outermost segment first - for example `[\"body\", \"image_url\"]`, or `[\"body\", \"images\", 0]` where an integer indexes into an array.","items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array"},"msg":{"description":"Human-readable description of this single failure.","type":"string"},"type":{"description":"Specific, machine-readable reason for this failure, passed through from the provider unchanged. This is the value a typed SDK exception hierarchy branches on; `error_type` on the response header is only its coarse bucket.","example":"image_too_small","type":"string"}},"required":["loc","msg","type"],"type":"object"},"RouterValidationErrorInput":{"description":"The offending input value, echoed back verbatim so a caller can see what was rejected without re-deriving it from `loc`. Any JSON type - string, number, boolean, array, object or null - so this schema is deliberately left untyped rather than narrowed to an object. Absent when the provider does not echo the input back."},"RouterValidationErrorResponse":{"description":"Router's model-level `422` body, in the FastAPI form: the request was well-formed enough to reach the model and the model rejected its contents. Note it carries no `error_type` of its own - that is what `X-Comfy-Error-Type` on the response is for, so a client can read the coarse bucket off the header without first deciding which of the two Router error bodies it received.","properties":{"detail":{"description":"Every validation failure found on the request, one entry per offending field.","items":{"$ref":"#/components/schemas/RouterValidationErrorDetail"},"type":"array"}},"required":["detail"],"type":"object"},"RunwayAspectRatioEnum":{"enum":["1280:720","720:1280","1104:832","832:1104","960:960","1584:672","1280:768","768:1280"],"type":"string"},"RunwayContentModeration":{"description":"Settings that affect the behavior of the content moderation system.","properties":{"publicFigureThreshold":{"description":"When set to `low`, the content moderation system will be less strict about preventing generations that include recognizable public figures.","enum":["auto","low"],"type":"string"}},"type":"object"},"RunwayDurationEnum":{"enum":[2,3,4,5,6,7,8,9,10],"type":"integer"},"RunwayImageToVideoInputs":{"example":{"duration":5,"promptImage":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAC2klEQVR42u3TQQ0AQAgEMeTgX8W5gi8OjoROVgGhUdLhwgkEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAEgASABIAAkACQAJAAkACQAJAAkACQAJAAkACQAFjSy7SPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8IIAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASABIAEgASABIAEgASABIAEgASABIAEgASABIAAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAadSRm+WukYdfewAAAABJRU5ErkJggg==","ratio":"1280:720","seed":42},"properties":{"duration":{"$ref":"#/components/schemas/RunwayDurationEnum"},"model":{"description":"Model to use for generation. On the Comfy Router route `POST /v2/models/runway/{model}` this field is supplied from the path and MUST NOT be sent; on the v1 `POST /proxy/runway/image_to_video` route it is required and constrained to the RunwayModelEnum (`gen4_turbo`).","nullable":true,"type":"string"},"promptImage":{"$ref":"#/components/schemas/RunwayPromptImageObject"},"promptText":{"description":"Text prompt for the generation","maxLength":1000,"type":"string"},"ratio":{"$ref":"#/components/schemas/RunwayAspectRatioEnum"},"seed":{"description":"Random seed for generation","format":"int64","maximum":4294967295,"minimum":0,"type":"integer"}},"required":["promptImage","seed","duration","ratio"],"type":"object"},"RunwayImageToVideoRequest":{"allOf":[{"$ref":"#/components/schemas/RunwayImageToVideoInputs"},{"properties":{"model":{"$ref":"#/components/schemas/RunwayModelEnum"}},"required":["model"],"type":"object"}],"description":"The v1 `POST /proxy/runway/image_to_video` request body.\nIt composes `RunwayImageToVideoInputs` and adds back `model`, the one field only the v1 surface can demand: this route carries no path segment supplying it, whereas `POST /v2/models/runway/{model}` does and its input schema must neither require nor enum-constrain it."},"RunwayImageToVideoResponse":{"properties":{"id":{"description":"Task ID","type":"string"}},"type":"object"},"RunwayModelEnum":{"description":"Available Runway models for generation.","enum":["gen4_turbo"],"type":"string"},"RunwayPromptImageDetailedObject":{"description":"Represents an image with its position in the video sequence.","properties":{"position":{"description":"The position of the image in the output video. Runway documented 'last' as supported by the gen3a_turbo model only, and that model reached its sunset date on 2026-07-30; no model this operation still admits is documented to accept it. Consult Runway's own documentation before relying on it.","enum":["first","last"],"type":"string"},"uri":{"description":"A HTTPS URL or data URI containing an encoded image.","type":"string"}},"required":["uri","position"],"type":"object"},"RunwayPromptImageObject":{"description":"Image(s) to use for the video generation. Can be a single URI or an array of image objects with positions.","oneOf":[{"description":"A single HTTPS URL or data URI for the first frame image.","type":"string"},{"description":"An array of image objects with positions. No two images can have the same position.","items":{"$ref":"#/components/schemas/RunwayPromptImageDetailedObject"},"type":"array"}]},"RunwayTaskStatusEnum":{"description":"Possible statuses for a Runway task.","enum":["SUCCEEDED","RUNNING","FAILED","PENDING","CANCELLED","THROTTLED"],"type":"string"},"RunwayTaskStatusResponse":{"properties":{"createdAt":{"description":"Task creation timestamp","format":"date-time","type":"string"},"id":{"description":"Task ID","type":"string"},"output":{"description":"Array of the finished task's output asset URLs. This route is shared by every Runway model, so the medium follows the model that was submitted - a video URL for the image_to_video and video_to_video models, an image URL for the text_to_image model.","items":{"type":"string"},"type":"array"},"progress":{"description":"Float value between 0 and 1 representing the progress of the task. Only available if status is RUNNING.","format":"float","maximum":1,"minimum":0,"type":"number"},"status":{"$ref":"#/components/schemas/RunwayTaskStatusEnum"}},"required":["id","status","createdAt"],"type":"object"},"RunwayTextToImageAspectRatioEnum":{"enum":["1920:1080","1080:1920","1024:1024","1360:768","1080:1080","1168:880","1440:1080","1080:1440","1808:768","2112:912","1280:720","720:1280","720:720","960:720","720:960","1680:720"],"type":"string"},"RunwayTextToImageInputs":{"example":{"promptText":"a red circle","ratio":"1024:1024"},"properties":{"model":{"description":"Model to use for generation. On the Comfy Router route `POST /v2/models/runway/{model}` this field is supplied from the path and MUST NOT be sent; on the v1 `POST /proxy/runway/text_to_image` route it is required and constrained to `gen4_image`.","nullable":true,"type":"string"},"promptText":{"description":"Text prompt for the image generation, at most 1000 UTF-16 code units (a character outside the Basic Multilingual Plane, such as most emoji, counts as two)","maxLength":1000,"type":"string"},"ratio":{"$ref":"#/components/schemas/RunwayTextToImageAspectRatioEnum"},"referenceImages":{"description":"Array of reference images to guide the generation","items":{"properties":{"uri":{"description":"A HTTPS URL, Runway upload URI (runway://) or data URI containing an encoded image","type":"string"}},"required":["uri"],"type":"object"},"maxItems":3,"type":"array"}},"required":["promptText","ratio"],"type":"object"},"RunwayTextToImageRequest":{"allOf":[{"$ref":"#/components/schemas/RunwayTextToImageInputs"},{"properties":{"model":{"description":"Model to use for generation","enum":["gen4_image"],"type":"string"}},"required":["model"],"type":"object"}],"description":"The v1 `POST /proxy/runway/text_to_image` request body.\nIt composes `RunwayTextToImageInputs` and adds back the one field only the v1 surface can demand: this route carries no path segment supplying `model`, so a caller must send it and it must be `gen4_image`, whereas the Comfy Router route `POST /v2/models/runway/{model}` supplies it from the path and its input schema must neither require nor enum-constrain it."},"RunwayTextToImageResponse":{"properties":{"id":{"description":"Task ID","type":"string"}},"type":"object"},"RunwayVideoToVideoInputs":{"description":"Request to edit an input video into a new video using Runway's API.","example":{"promptText":"recolor the scene in cool blue tones","videoUri":"https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_1MB.mp4"},"properties":{"contentModeration":{"$ref":"#/components/schemas/RunwayContentModeration"},"keyframes":{"description":"Timed guidance images placed at specific points in the input video. Up to 5 keyframes.","items":{"$ref":"#/components/schemas/RunwayVideoToVideoKeyframe"},"maxItems":5,"minItems":1,"type":"array"},"model":{"description":"Model to use for generation. On the Comfy Router route `POST /v2/models/runway/{model}` this field is supplied from the path and MUST NOT be sent; on the v1 `POST /proxy/runway/video_to_video` route it is required and constrained to the RunwayVideoToVideoModelEnum (`aleph2`).","nullable":true,"type":"string"},"promptImage":{"description":"A list of up to 5 image keyframes for guiding the edit at specific points in the video.","items":{"$ref":"#/components/schemas/RunwayVideoToVideoPromptImage"},"maxItems":5,"minItems":1,"type":"array"},"promptText":{"description":"A non-empty string up to 1000 characters describing what should appear in the output.","maxLength":1000,"minLength":1,"type":"string"},"seed":{"description":"Random seed for generation.","format":"int64","maximum":4294967295,"minimum":0,"type":"integer"},"videoUri":{"description":"The input video to edit (HTTPS URL, Runway upload URI, or data URI). Must be 30 seconds or shorter.","type":"string"}},"required":["promptText","videoUri"],"type":"object"},"RunwayVideoToVideoKeyframe":{"description":"Timed guidance image placed at a specific point in the input video.","oneOf":[{"properties":{"seconds":{"description":"Absolute timestamp in seconds from the start of the input video when this guidance image should apply.","maximum":30,"minimum":0,"type":"number"},"uri":{"description":"A HTTPS URL, Runway or data URI containing an encoded image.","type":"string"}},"required":["uri","seconds"],"type":"object"},{"properties":{"at":{"description":"Position as a fraction [0.0, 1.0] of the input video duration when this guidance image should apply.","maximum":1,"minimum":0,"type":"number"},"uri":{"description":"A HTTPS URL, Runway or data URI containing an encoded image.","type":"string"}},"required":["uri","at"],"type":"object"}]},"RunwayVideoToVideoModelEnum":{"description":"Available Runway models for video-to-video generation.","enum":["aleph2"],"type":"string"},"RunwayVideoToVideoPromptImage":{"description":"An image keyframe for guiding the edit at a specific point in the video.","properties":{"position":{"$ref":"#/components/schemas/RunwayVideoToVideoPromptImagePosition"},"uri":{"description":"A HTTPS URL, Runway or data URI containing an encoded image.","type":"string"}},"required":["uri","position"],"type":"object"},"RunwayVideoToVideoPromptImagePosition":{"description":"The position in the output video where the image should apply.","oneOf":[{"description":"\"first\" places the image at the start (timestamp 0); \"last\" places it at the end (timestamp = duration).","enum":["first","last"],"type":"string"},{"description":"Places the image at an absolute timestamp.","properties":{"timestampSeconds":{"description":"Absolute timestamp in seconds from the start of the output video.","minimum":0,"type":"number"},"type":{"enum":["timestamp"],"type":"string"}},"required":["type","timestampSeconds"],"type":"object"},{"description":"Places the image at a relative position.","properties":{"positionPercentage":{"description":"Position as a fraction [0.0, 1.0] of the total video duration.","maximum":1,"minimum":0,"type":"number"},"type":{"enum":["position"],"type":"string"}},"required":["type","positionPercentage"],"type":"object"}]},"RunwayVideoToVideoRequest":{"allOf":[{"$ref":"#/components/schemas/RunwayVideoToVideoInputs"},{"properties":{"model":{"$ref":"#/components/schemas/RunwayVideoToVideoModelEnum"}},"required":["model"],"type":"object"}],"description":"The v1 `POST /proxy/runway/video_to_video` request body.\nIt composes `RunwayVideoToVideoInputs` and adds back `model`, the one field only the v1 surface can demand: this route carries no path segment supplying it, whereas `POST /v2/models/runway/{model}` does and its input schema must neither require nor enum-constrain it."},"RunwayVideoToVideoResponse":{"properties":{"id":{"description":"Task ID","type":"string"}},"type":"object"},"SSORefusal":{"description":"A 403 for an account an SSO organization holds, in ingest's shape. `sso_required`: the credential is refused; sign in with the organization's SSO. `no_personal_workspace`: the account has no personal billing.","properties":{"code":{"enum":["sso_required","no_personal_workspace"],"type":"string"},"error":{"description":"Legacy copy of `code`, set for `no_personal_workspace`.","type":"string"},"message":{"description":"For `sso_required` it starts with `sso_required:`, as before `code` was added.","type":"string"},"organization_id":{"description":"For `sso_required`, the vendor id of the organization to sign in with. Absent when unknown.","type":"string"}},"required":["code","message"],"type":"object"},"SeedanceAssetError":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"SeedanceAssetModeration":{"properties":{"strategy":{"description":"Content Pre-filter review strategy. \"Skip\" bypasses most non-baseline policies (requires Secure Mode off on the account).","enum":["Default","Skip"],"type":"string"}},"required":["strategy"],"type":"object"},"SeedanceCreateAssetRequest":{"properties":{"asset_type":{"enum":["Image","Video","Audio"],"type":"string"},"group_id":{"description":"BytePlus Asset Group ID the asset will belong to. Caller must own this group.","type":"string"},"moderation":{"$ref":"#/components/schemas/SeedanceAssetModeration"},"name":{"description":"Optional asset name, up to 64 characters.","type":"string"},"project_name":{"deprecated":true,"description":"BytePlus project name. Only \"default\" is accepted; Comfy-managed asset groups always live in the default project, and any other value is rejected with 400 invalid_argument.","type":"string","x-deprecated-reason":"Comfy-managed asset groups always live in the default BytePlus project, so only \"default\" is accepted; kept for backward compatibility."},"url":{"description":"Publicly accessible URL of the asset.","type":"string"}},"required":["group_id","url","asset_type"],"type":"object"},"SeedanceCreateAssetResponse":{"properties":{"asset_id":{"description":"BytePlus-issued asset id. Clients poll seedanceGetAsset with this until status == Active.","type":"string"}},"required":["asset_id"],"type":"object"},"SeedanceCreateVisualValidateSessionRequest":{"properties":{"name":{"description":"Optional human-readable label for the asset group that will be created by this verification. Stored locally and returned by seedanceListVisualValidationGroups so users can identify their groups in selectors.\n","maxLength":64,"type":"string"}},"type":"object"},"SeedanceCreateVisualValidateSessionResponse":{"properties":{"h5_link":{"description":"BytePlus-issued H5 liveness link. Open in a browser with camera access. Valid for ~120 seconds.","type":"string"},"session_id":{"description":"Session identifier. Clients poll seedanceGetVisualValidateSession with this.","format":"uuid","type":"string"}},"required":["session_id","h5_link"],"type":"object"},"SeedanceGetAssetResponse":{"properties":{"asset_type":{"enum":["Image","Video","Audio"],"type":"string"},"create_time":{"format":"date-time","nullable":true,"type":"string"},"error":{"$ref":"#/components/schemas/SeedanceAssetError"},"group_id":{"type":"string"},"id":{"type":"string"},"name":{"nullable":true,"type":"string"},"project_name":{"nullable":true,"type":"string"},"status":{"enum":["Active","Processing","Failed"],"type":"string"},"update_time":{"format":"date-time","nullable":true,"type":"string"},"url":{"description":"Access URL valid for ~12 hours.","nullable":true,"type":"string"}},"required":["id","asset_type","group_id","status"],"type":"object"},"SeedanceGetVisualValidateSessionResponse":{"properties":{"error_code":{"nullable":true,"type":"string"},"error_message":{"nullable":true,"type":"string"},"group_id":{"description":"Populated only when status == completed. This is the BytePlus Asset Group ID the user will upload assets into.","nullable":true,"type":"string"},"name":{"description":"Optional human-readable label provided when the session was created.","nullable":true,"type":"string"},"session_id":{"format":"uuid","type":"string"},"status":{"enum":["pending","completed","failed"],"type":"string"}},"required":["session_id","status"],"type":"object"},"SeedanceListUserAssetsResponse":{"properties":{"assets":{"items":{"$ref":"#/components/schemas/SeedanceUserAsset"},"type":"array"},"truncated":{"description":"True if the global per-request asset cap was hit and older results were dropped.","type":"boolean"}},"required":["assets","truncated"],"type":"object"},"SeedanceListVisualValidationGroupsResponse":{"properties":{"groups":{"items":{"$ref":"#/components/schemas/SeedanceVisualValidationGroup"},"type":"array"}},"required":["groups"],"type":"object"},"SeedanceUserAsset":{"properties":{"asset_id":{"type":"string"},"asset_type":{"enum":["Image","Video","Audio"],"type":"string"},"create_time":{"format":"date-time","type":"string"},"group_id":{"type":"string"},"group_name":{"description":"Display label of the source group, denormalized for client-side search.","type":"string"},"name":{"nullable":true,"type":"string"},"status":{"enum":["Active","Processing","Failed"],"type":"string"},"url":{"description":"BytePlus access URL (~12h validity). Refreshed on each list call.","nullable":true,"type":"string"}},"required":["asset_id","group_id","group_name","asset_type","status","create_time"],"type":"object"},"SeedanceVirtualLibraryCreateAssetRequest":{"properties":{"asset_type":{"default":"Image","description":"BytePlus asset type. The AIGC virtual library accepts both Image and Video. Defaults to Image for backward compatibility with existing clients.","enum":["Image","Video"],"type":"string"},"hash":{"description":"Client-supplied content hash used as the per-customer dedup key. Re-submitting the same hash returns the existing asset id without re-uploading to BytePlus.","type":"string"},"url":{"description":"Publicly accessible URL of the asset to upload to the caller's virtual portrait library.","type":"string"}},"required":["url","hash"],"type":"object"},"SeedanceVirtualLibraryCreateAssetResponse":{"properties":{"asset_id":{"description":"BytePlus-issued asset id. Clients poll seedanceGetAsset with this until status == Active.","type":"string"}},"required":["asset_id"],"type":"object"},"SeedanceVisualValidationGroup":{"properties":{"created_at":{"format":"date-time","type":"string"},"group_id":{"description":"BytePlus-issued asset group id.","type":"string"},"name":{"description":"Display label. Caller-supplied at creation time when available; otherwise a server-generated fallback derived from the creation date.\n","type":"string"}},"required":["group_id","name","created_at"],"type":"object"},"SoniloCost":{"description":"What Sonilo charged for the task. Present when the task succeeded.","properties":{"billing_after_discount":{"description":"Discounted price of the task in USD, as a decimal string.","type":"string"},"billing_before_discount":{"description":"List price of the task in USD, as a decimal string.","type":"string"},"billing_rate_per_sec":{"description":"List price per second in USD, as a decimal string.","type":"string"},"discount_factor":{"description":"Discount factor applied to the list price, as a decimal string.","type":"string"}},"type":"object"},"SoniloErrorResponse":{"properties":{"detail":{"properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Human-readable error message","type":"string"}},"type":"object"}},"type":"object"},"SoniloStreamEvent":{"description":"A single NDJSON event from the Sonilo streaming response. Additional event types beyond those listed may appear; unknown types should be ignored by clients.","oneOf":[{"properties":{"copy_index":{"minimum":0,"type":"integer"},"display_tags":{"items":{"type":"string"},"type":"array"},"prompt_index":{"minimum":0,"type":"integer"},"stream_index":{"minimum":0,"type":"integer"},"summary":{"description":"Short natural-language description of the generated track.","type":"string"},"title":{"type":"string"},"type":{"enum":["title"],"type":"string"}},"required":["type","stream_index","prompt_index","copy_index","title","display_tags"],"type":"object"},{"properties":{"channels":{"type":"integer"},"data":{"description":"Base64-encoded AAC in fMP4 fragments; concatenate per stream_index.","type":"string"},"num_streams":{"minimum":1,"type":"integer"},"sample_rate":{"type":"integer"},"stream_index":{"minimum":0,"type":"integer"},"type":{"enum":["audio_chunk"],"type":"string"}},"required":["type","sample_rate","channels","stream_index","num_streams","data"],"type":"object"},{"properties":{"type":{"enum":["complete"],"type":"string"}},"required":["type"],"type":"object"},{"properties":{"code":{"type":"string"},"message":{"type":"string"},"type":{"enum":["error"],"type":"string"}},"required":["type","message"],"type":"object"}]},"SoniloTask":{"properties":{"audio":{"$ref":"#/components/schemas/SoniloTaskAudio"},"cost":{"$ref":"#/components/schemas/SoniloCost"},"duration_seconds":{"description":"Length of the generated audio in seconds. Present when the task succeeded.","format":"double","type":"number"},"error":{"description":"Present when the task failed.","properties":{"code":{"type":"string"},"message":{"type":"string"}},"type":"object"},"refunded":{"description":"Present when the task failed. Whether Sonilo reversed the charge.","type":"boolean"},"status":{"description":"One of processing, succeeded or failed.","type":"string"},"task_id":{"type":"string"},"type":{"description":"The task type.","type":"string"}},"required":["task_id","status"],"type":"object"},"SoniloTaskAudio":{"properties":{"content_type":{"description":"Audio MIME type, e.g. audio/wav.","type":"string"},"duration_seconds":{"description":"Length of the audio file in seconds.","format":"double","type":"number"},"file_size":{"description":"Audio file size in bytes.","type":"integer"},"url":{"description":"Temporary download URL for the audio file, valid for 7 days.","type":"string"}},"type":"object"},"SoniloTaskErrorResponse":{"properties":{"code":{"description":"Error code, e.g. invalid_request.","type":"string"},"message":{"description":"Human-readable error message.","type":"string"}},"type":"object"},"SoniloTaskSubmitResponse":{"properties":{"status":{"description":"Task status, `processing` on submit.","type":"string"},"task_id":{"type":"string"}},"required":["task_id"],"type":"object"},"SoniloTextToMusicLyricsRequest":{"properties":{"duration":{"description":"Approximate target length of the song in seconds. Omit it and the model picks a natural length.","maximum":360,"minimum":10,"type":"integer"},"prompt":{"description":"Text prompt describing the song, max 2000 characters. Lyrics go inside the prompt as a `Lyrics:` block with `[Verse]`, `[Chorus]` and `[Bridge]` section tags.","maxLength":2000,"minLength":1,"type":"string"}},"required":["prompt"],"type":"object"},"SoniloTextToMusicRequest":{"properties":{"duration":{"description":"Desired duration of the output track in seconds.","maximum":360,"minimum":1,"type":"integer"},"prompt":{"description":"Text prompt describing the desired music. Max length 1000 characters.","maxLength":1000,"minLength":1,"type":"string"}},"required":["prompt","duration"],"type":"object"},"SoniloVideoToMusicRequest":{"oneOf":[{"properties":{"prompt":{"description":"Optional text prompt to guide music generation.","type":"string"},"video":{"description":"Multipart file part; e.g. video/mp4. Max file size 300MB.","format":"binary","type":"string"}},"required":["video"],"type":"object"},{"properties":{"prompt":{"description":"Optional text prompt to guide music generation.","type":"string"},"video_url":{"description":"Public http:// or https:// URL of the video. Private/internal addresses are rejected.","format":"uri","type":"string"}},"required":["video_url"],"type":"object"}]},"StorageFile":{"properties":{"file_path":{"description":"Path to the file in storage","type":"string"},"id":{"description":"Unique identifier for the storage file","format":"uuid","type":"string"},"public_url":{"description":"Public URL","type":"string"}},"type":"object"},"SubscriptionDuration":{"description":"The subscription billing duration","enum":["MONTHLY","ANNUAL"],"type":"string"},"SubscriptionTier":{"description":"The subscription tier level","enum":["FREE","STANDARD","CREATOR","PRO","FOUNDERS_EDITION","TEAM","ENTERPRISE"],"type":"string"},"SyncLabsActiveSpeaker":{"description":"Active speaker detection configuration","properties":{"auto_detect":{"description":"Whether to automatically detect and apply generation to the active speaker","type":"boolean"},"bounding_boxes":{"description":"Per-frame array of bounding boxes [x1, y1, x2, y2] for the detected face","items":{"items":{"type":"integer"},"type":"array"},"type":"array"},"bounding_boxes_url":{"description":"URL to a JSON file containing bounding boxes","type":"string"},"coordinates":{"description":"Pixel coordinates [x, y] in the source video frame identified by frame_number","items":{"type":"integer"},"type":"array"},"frame_number":{"description":"Frame index that corresponds to the provided coordinates for manual speaker selection","type":"integer"},"v3":{"description":"Whether to use ASD v3","type":"boolean"}},"type":"object"},"SyncLabsDubParams":{"description":"Dubbing parameters attached to a Sync Labs generate request","properties":{"numSpeakers":{"description":"Number of speakers in the source video; 0 enables auto-detection","type":"integer"},"providerName":{"description":"Provider to use for dubbing (e.g. elevenlabs)","type":"string"},"sourceLang":{"description":"Source language code; defaults to auto","type":"string"},"targetLang":{"description":"Target language code for dubbing","type":"string"}},"required":["providerName","targetLang"],"type":"object"},"SyncLabsGenerateInputs":{"description":"The Sync Labs lipsync generation fields, shared by the v1 `POST /proxy/synclabs/v2/generate` request body and the Comfy Router input schema for `synclabs/sync-3`. See the note above this component for why the two surfaces share properties but not `required`.\n`required` here is the ROUTER-SAFE floor: `model` is absent from it because Router writes the path's model into the body after routervalidate.Guard has already validated the caller's bytes. The v1 wrapper `SyncLabsGenerateRequest` re-adds it.","example":{"input":[{"type":"video","url":"https://example.invalid/synclabs/sync-3/speaker.mp4"},{"type":"audio","url":"https://example.invalid/synclabs/sync-3/voiceover.wav"}],"options":{"sync_mode":"bounce"}},"properties":{"dubParams":{"$ref":"#/components/schemas/SyncLabsDubParams"},"input":{"description":"Input items; exactly one visual input (video or image) and one audio or text input","items":{"$ref":"#/components/schemas/SyncLabsGenerationInput"},"minItems":1,"type":"array"},"model":{"description":"Name of the model to use for generation; only sync-3 is supported. On the Comfy Router route `POST /v2/models/synclabs/{model}` this field is supplied from the path and may be omitted.","nullable":true,"type":"string"},"options":{"$ref":"#/components/schemas/SyncLabsGenerationOptions"},"outputFileName":{"description":"Base filename for the generated output without extension","type":"string"},"projectId":{"description":"Optionally attach this generation to a Sync Labs project","type":"string"},"segments":{"description":"Segment definitions applying different audio inputs to different video segments","items":{"$ref":"#/components/schemas/SyncLabsGenerationSegment"},"type":"array"},"webhookUrl":{"description":"Webhook URL for generation status updates","type":"string"}},"required":["input"],"type":"object"},"SyncLabsGenerateRequest":{"allOf":[{"$ref":"#/components/schemas/SyncLabsGenerateInputs"},{"properties":{"model":{"description":"Name of the model to use for generation; only sync-3 is supported","type":"string"}},"required":["model"],"type":"object"}],"description":"Request body for the v1 `POST /proxy/synclabs/v2/generate` operation.\nIt composes `SyncLabsGenerateInputs` rather than restating its fields, and adds back the one field only the v1 surface can demand. `model` is load-bearing: this route carries no path segment supplying it, so a caller must send it and the Rewrite refuses a body whose model is not `sync-3`, whereas the Comfy Router route `POST /v2/models/synclabs/{model}` supplies it from the path and its input schema must neither require nor enum-constrain it.\nRead the note above `SyncLabsGenerateInputs` for the full rule and the guards that enforce it.","example":{"input":[{"type":"video","url":"https://example.invalid/synclabs/sync-3/speaker.mp4"},{"type":"audio","url":"https://example.invalid/synclabs/sync-3/voiceover.wav"}],"model":"sync-3","options":{"sync_mode":"bounce"}}},"SyncLabsGeneration":{"description":"A Sync Labs lipsync generation","properties":{"createdAt":{"description":"The date and time the generation was created","type":"string"},"error":{"description":"The error message if the generation failed","type":"string"},"errorCode":{"description":"Stable, machine-readable error code if the generation failed","type":"string"},"id":{"description":"Unique identifier for the generation","type":"string"},"input":{"description":"The input items used for generation","items":{"$ref":"#/components/schemas/SyncLabsGenerationInput"},"type":"array"},"model":{"description":"The name of the model used for generation","type":"string"},"options":{"$ref":"#/components/schemas/SyncLabsGenerationOptions"},"outputDuration":{"description":"The duration of the output media in seconds","format":"double","type":"number"},"outputFileName":{"description":"The sanitized filename applied to the output media","type":"string"},"outputUrl":{"description":"The URL of the output media","type":"string"},"projectId":{"description":"The id of the project this generation is attached to","type":"string"},"segmentOutputUrl":{"description":"The URL of the segment output media","type":"string"},"segments":{"description":"The segments of the generation","items":{"$ref":"#/components/schemas/SyncLabsGenerationSegment"},"type":"array"},"status":{"description":"The status of the generation (PENDING, PROCESSING, COMPLETED, NO_OP, FAILED, REJECTED). NO_OP is terminal; nothing was lip-synced, `outputUrl` is the input video unchanged (plus any generated speech), Sync does not charge for lip sync, and Comfy does not bill the caller.","type":"string"},"synthesizedAudioUrl":{"description":"The URL of the audio synthesized from a text (TTS) input","type":"string"},"webhookUrl":{"description":"The URL to the webhook endpoint","type":"string"}},"type":"object"},"SyncLabsGenerationInput":{"description":"An input item for a Sync Labs generation. type is one of video, image,\naudio, or text. Video/image/audio inputs are provided by url or\nassetId; text inputs carry a TTS provider configuration.\n","properties":{"assetId":{"description":"ID of an asset from the Sync Labs media library","type":"string"},"provider":{"$ref":"#/components/schemas/SyncLabsTTSProvider"},"refId":{"description":"Reference identifier used to link this input to segment definitions","type":"string"},"segments_frames":{"description":"Deprecated - use the top-level segments array instead","items":{"items":{"type":"integer"},"type":"array"},"type":"array"},"segments_secs":{"description":"Deprecated - use the top-level segments array instead","items":{"items":{"format":"double","type":"number"},"type":"array"},"type":"array"},"type":{"description":"Input type (video, image, audio, or text)","type":"string"},"url":{"description":"URL of the media to be used for generation","type":"string"}},"required":["type"],"type":"object"},"SyncLabsGenerationOptions":{"description":"Additional options available for a Sync Labs generation","properties":{"active_speaker_detection":{"$ref":"#/components/schemas/SyncLabsActiveSpeaker"},"model_mode":{"description":"Edit region for the model (lips, face, head); only works with react-1","type":"string"},"occlusion_detection_enabled":{"description":"Whether to detect occlusion during generation","type":"boolean"},"prompt":{"description":"Emotion prompt; only works with react-1","type":"string"},"sync_mode":{"description":"How to handle duration mismatches between video and audio (bounce, loop, cut_off, silence, remap)","type":"string"},"temperature":{"description":"How expressive lipsync can be, 0 to 1","format":"double","type":"number"}},"type":"object"},"SyncLabsGenerationSegment":{"description":"Defines a video segment with its corresponding audio input","properties":{"audioInput":{"$ref":"#/components/schemas/SyncLabsSegmentAudioInput"},"endTime":{"description":"Segment end time in seconds","format":"double","type":"number"},"optionsOverride":{"$ref":"#/components/schemas/SyncLabsSegmentOptionsOverride"},"startTime":{"description":"Segment start time in seconds","format":"double","type":"number"}},"required":["startTime","endTime","audioInput"],"type":"object"},"SyncLabsSegmentAudioInput":{"description":"Audio input configuration for a specific segment","properties":{"endTime":{"description":"Optional end time in seconds to crop the referenced audio","format":"double","type":"number"},"refId":{"description":"Reference ID of the audio/text-to-speech input to use for this segment","type":"string"},"startTime":{"description":"Optional start time in seconds to crop the referenced audio","format":"double","type":"number"}},"required":["refId"],"type":"object"},"SyncLabsSegmentOptionsOverride":{"description":"Override generation options for a specific segment","properties":{"active_speaker_detection":{"$ref":"#/components/schemas/SyncLabsActiveSpeaker"},"occlusion_detection_enabled":{"description":"Override occlusion detection for this segment","type":"boolean"},"sync_mode":{"description":"Override the sync mode for this segment","type":"string"},"temperature":{"description":"Override temperature (0-1) for this segment","format":"double","type":"number"}},"type":"object"},"SyncLabsTTSProvider":{"description":"Text-to-speech provider configuration for a Sync Labs text input","properties":{"name":{"description":"TTS provider name (e.g. elevenlabs)","type":"string"},"script":{"description":"Script to be used for generation","type":"string"},"similarityBoost":{"description":"How closely the AI should adhere to the original voice","format":"double","type":"number"},"stability":{"description":"Voice stability; lower values introduce broader emotional range","format":"double","type":"number"},"voiceId":{"description":"Sync voice id (cloned voice from the Studio) or ElevenLabs voice ID","type":"string"}},"required":["name","voiceId","script"],"type":"object"},"TencentErrorResponse":{"description":"Error response from Tencent API","properties":{"Response":{"properties":{"Error":{"properties":{"Code":{"description":"Error code","type":"string"},"Message":{"description":"Error message","type":"string"}},"type":"object"},"RequestId":{"description":"Unique request ID for troubleshooting","type":"string"}},"type":"object"}},"type":"object"},"TencentFile3D":{"description":"3D file information","properties":{"PreviewImageUrl":{"description":"Preview image URL","format":"uri","type":"string"},"Type":{"description":"File format. A finished job can return several entries in no fixed\norder, and not every entry is a mesh: the UV and smart-topology\noperations have been observed returning OBJ, GLB and FBX meshes\nbeside an IMAGE (a PNG texture). Select an entry by `Type` rather\nthan by position. Deliberately not an enum: the values above are\nonly the ones observed, this component is shared with operations\nwhose output has never been observed (part, texture-edit), and the\noutput schema is descriptive, so an unlisted value Tencent returns\nmust not turn a healthy result into a schema violation.\n","type":"string"},"Url":{"description":"File URL (valid for 24 hours)","format":"uri","type":"string"}},"type":"object"},"TencentHunyuan3DPartRequest":{"description":"Request body for Tencent Hunyuan 3D component generation (part splitting).","example":{"File":{"Type":"FBX","Url":"https://vcg-test-1258344699.cos.ap-guangzhou.myqcloud.com/test/3d/test.fbx"}},"properties":{"File":{"$ref":"#/components/schemas/TencentPartInputFile3D"}},"type":"object"},"TencentHunyuan3DProRequest":{"description":"Request body for Tencent Hunyuan 3D Pro generation","properties":{"EnablePBR":{"default":false,"description":"Whether to enable PBR material generation.","type":"boolean"},"FaceCount":{"default":500000,"description":"Face count for 3D model generation.","maximum":1500000,"minimum":40000,"type":"integer"},"GenerateType":{"default":"Normal","description":"Generation task type:\n- Normal: generates a geometric model with textures (default)\n- LowPoly: model generated after intelligent polygon reduction\n- Geometry: generate model without textures (white model)\n- Sketch: generative model from sketch or line drawing\n","enum":["Normal","LowPoly","Geometry","Sketch"],"type":"string"},"ImageBase64":{"description":"Base64 encoded image for image-to-3D generation.\nResolution: min 128px, max 5000px per side.\nMax size: 8MB (recommend 6MB before encoding).\nSupported formats: jpg, png, jpeg, webp.\nEither ImageBase64/ImageUrl or Prompt is required.\n","type":"string"},"ImageUrl":{"description":"URL of input image for image-to-3D generation.\nResolution: min 128px, max 5000px per side.\nMax size: 8MB.\nSupported formats: jpg, png, jpeg, webp.\nEither ImageBase64/ImageUrl or Prompt is required.\n","format":"uri","type":"string"},"Model":{"default":"3.0","description":"Tencent HY 3D Global model version.\nDefaults to 3.0, with optional choices: 3.0, 3.1.\nWhen selecting version 3.1, the LowPoly parameter is unavailable.\n","enum":["3.0","3.1"],"example":"3.0","type":"string"},"MultiViewImages":{"description":"Multi-perspective model images for 3D generation.\nEach perspective is limited to one image.\nImage size limit: max 8MB after encoding.\nImage resolution: min 128px, max 5000px per side.\nSupported formats: JPG, PNG.\n","items":{"$ref":"#/components/schemas/TencentViewImage"},"type":"array"},"PolygonType":{"default":"triangle","description":"Polygon type (only effective when GenerateType is LowPoly).\n- triangle: triangular faces (default)\n- quadrilateral: mix of quadrangle and triangle faces\n","enum":["triangle","quadrilateral"],"type":"string"},"Prompt":{"description":"Text description for 3D content generation.\nSupports up to 1024 utf-8 characters.\nEither Prompt or ImageBase64/ImageUrl is required, but not both.\n","example":"A cat","maxLength":1024,"type":"string"}},"type":"object"},"TencentHunyuan3DProResponse":{"description":"Response from Tencent Hunyuan 3D Pro submit endpoint","properties":{"Response":{"properties":{"Error":{"description":"Error object (present when request fails)","properties":{"Code":{"description":"Error code","type":"string"},"Message":{"description":"Error message","type":"string"}},"type":"object"},"JobId":{"description":"Task ID (valid for 24 hours)","example":"1375367755519696896","type":"string"},"RequestId":{"description":"Unique request ID for troubleshooting","example":"13f47dd0-1af9-4383-b401-dae18d6e99fc","type":"string"}},"type":"object"}},"type":"object"},"TencentHunyuan3DQueryRequest":{"properties":{"JobId":{"description":"The JobId returned from the submit endpoint","example":"1375367755519696896","type":"string"}},"required":["JobId"],"type":"object"},"TencentHunyuan3DQueryResponse":{"description":"Response from Tencent Hunyuan 3D query endpoint","properties":{"Response":{"properties":{"ErrorCode":{"description":"Error code (empty string if no error)","type":"string"},"ErrorMessage":{"description":"Error message if task failed (empty string if no error)","type":"string"},"RequestId":{"description":"Unique request ID for troubleshooting","type":"string"},"ResultFile3Ds":{"description":"Array of generated 3D files","items":{"$ref":"#/components/schemas/TencentFile3D"},"type":"array"},"Status":{"description":"Task status:\n- WAIT: waiting\n- RUN: running\n- FAIL: failed\n- DONE: successful\n","enum":["WAIT","RUN","FAIL","DONE"],"type":"string"}},"type":"object"}},"type":"object"},"TencentHunyuan3DSmartTopologyRequest":{"description":"Request body for Tencent Hunyuan 3D Smart Topology (retopology/polygon reduction)","example":{"File3D":{"Type":"GLB","Url":"https://vcg-test-1258344699.cos.ap-guangzhou.myqcloud.com/test/3d/test.glb"}},"properties":{"FaceLevel":{"description":"Polygon reduction level.","enum":["high","medium","low"],"example":"medium","type":"string"},"File3D":{"$ref":"#/components/schemas/TencentSmartTopologyInputFile3D"},"PolygonType":{"description":"Polygon type for the output mesh. Defaults to triangle.","enum":["triangle","quadrilateral"],"example":"triangle","type":"string"}},"required":["File3D"],"type":"object"},"TencentHunyuan3DTextureEditRequest":{"description":"Request body for Tencent Hunyuan 3D texture edit","example":{"File3D":{"Type":"FBX","Url":"https://vcg-test-1258344699.cos.ap-guangzhou.myqcloud.com/test/3d/test.fbx"},"Prompt":"a kitten"},"properties":{"EnablePBR":{"description":"Whether to enable the PBR texture parameter; only supported when using Prompt.","example":true,"type":"boolean"},"File3D":{"$ref":"#/components/schemas/TencentTextureEditInputFile3D"},"Image":{"$ref":"#/components/schemas/TencentImageInfo"},"Prompt":{"description":"Describes texture editing. Either Image or Prompt is required; they cannot coexist.","example":"a kitten","maxLength":1024,"type":"string"}},"required":["File3D"],"type":"object"},"TencentHunyuan3DUVRequest":{"description":"Request body for Tencent Hunyuan 3D UV unfolding.","example":{"File":{"Type":"GLB","Url":"https://vcg-test-1258344699.cos.ap-guangzhou.myqcloud.com/test/3d/test.glb"}},"properties":{"File":{"$ref":"#/components/schemas/TencentInputFile3D"}},"type":"object"},"TencentHunyuan3DUVResponse":{"description":"Response from Tencent Hunyuan 3D UV submit endpoint","properties":{"Response":{"properties":{"Error":{"description":"Error object (present when request fails)","properties":{"Code":{"description":"Error code","type":"string"},"Message":{"description":"Error message","type":"string"}},"type":"object"},"JobId":{"description":"Task ID for the UV unwrapping job","example":"1384898587778465792","type":"string"},"RequestId":{"description":"Unique request ID for troubleshooting","example":"5265eb4a-0f4f-4cb1-9b3d-d9f1fb9347d2","type":"string"}},"type":"object"}},"type":"object"},"TencentHunyuanImageChoice":{"description":"One result choice","properties":{"delta":{"$ref":"#/components/schemas/TencentHunyuanImageDelta"},"finish_reason":{"description":"null on success. A value such as error when moderation blocks the request or a business error occurs","nullable":true,"type":"string"},"index":{"description":"Choice index","type":"integer"}},"type":"object"},"TencentHunyuanImageContent":{"description":"One content element of a message","properties":{"image_url":{"$ref":"#/components/schemas/TencentHunyuanImageURL"},"is_generate":{"description":"Set to true only on a generated image that a tool message replays","type":"boolean"},"text":{"description":"Text content. Use when type is text","type":"string"},"type":{"description":"Content type, text or image_url","type":"string"}},"required":["type"],"type":"object"},"TencentHunyuanImageDelta":{"description":"Carrier of the generated image. Empty on a failed request","properties":{"image":{"$ref":"#/components/schemas/TencentHunyuanImageResult"},"type":{"description":"Delta type. The value is image","type":"string"}},"type":"object"},"TencentHunyuanImageError":{"description":"Error details. Present only on a failed request","properties":{"code":{"description":"Error code","type":"string"},"message":{"description":"Error message","type":"string"},"request_id":{"description":"Unique request identifier","type":"string"},"type":{"description":"Error type","type":"string"}},"type":"object"},"TencentHunyuanImageMessage":{"description":"One message of the conversation. The response returns the same structure in assembled_history","properties":{"content":{"description":"Content of the message","items":{"$ref":"#/components/schemas/TencentHunyuanImageContent"},"type":"array"},"reasoning":{"description":"Reasoning text of an assistant message from an earlier response. Use only when you replay that message","type":"string"},"role":{"description":"Message role, one of user, assistant or tool. The tool role carries a generated image from an earlier turn","type":"string"},"tool_call_id":{"description":"ID of the tool call that a tool message answers. Must match the id in tool_calls of the assistant message before it","type":"string"},"tool_calls":{"description":"Tool calls of an assistant message from an earlier response. Use only when you replay that message","items":{"$ref":"#/components/schemas/TencentHunyuanImageToolCall"},"type":"array"}},"required":["role"],"type":"object"},"TencentHunyuanImageResult":{"description":"Generated image","properties":{"height":{"description":"Image height in pixels","type":"integer"},"source":{"description":"Source of the image. The value is generate","type":"string"},"tool_call_id":{"description":"ID of the tool call that made the image","type":"string"},"url":{"description":"Final delivery URL of the generated image. Temporary signed link that expires after 12 hours","type":"string"},"width":{"description":"Image width in pixels","type":"integer"}},"type":"object"},"TencentHunyuanImageSearchTool":{"description":"External search augmentation switch","properties":{"value":{"description":"true enables external search, false disables it","type":"boolean"}},"type":"object"},"TencentHunyuanImageToolCall":{"description":"Tool call of an assistant message","properties":{"function":{"$ref":"#/components/schemas/TencentHunyuanImageToolCallFunction"},"id":{"description":"Tool call ID","type":"string"},"type":{"description":"Tool call type. The value is function","type":"string"}},"type":"object"},"TencentHunyuanImageToolCallFunction":{"description":"Function of a tool call","properties":{"arguments":{"description":"Function arguments as a JSON string","type":"string"},"name":{"description":"Function name","type":"string"}},"type":"object"},"TencentHunyuanImageURL":{"description":"Image reference","properties":{"url":{"description":"Public http(s) URL or a data:image/png or data:image/jpeg base64 payload. Maximum 20 MB for each image and 20 images for each request","type":"string"}},"type":"object"},"TencentHunyuanImageUsage":{"description":"Token usage of the request","properties":{"total_tokens":{"description":"Total tokens consumed by the request","format":"int64","type":"integer"}},"type":"object"},"TencentHunyuanImageV35Request":{"description":"Request body for Tencent Hy-Image-3.5-Preview image generation and editing","properties":{"footnote":{"description":"Custom watermark text for the bottom-right corner of the image. Maximum 16 characters","type":"string"},"generate_max_pixels":{"description":"Target pixel area of the output image. Applies only when size is omitted. Tiers are 1048576 (1K), 2359296 (1.5K, default) and 4194304 (2K)","type":"integer"},"logo_add":{"description":"Official watermark switch. 0 adds no watermark (default), 1 adds the watermark","type":"integer"},"messages":{"description":"Conversation content, ordered from oldest to newest. The last message with the user role is the instruction for this turn","items":{"$ref":"#/components/schemas/TencentHunyuanImageMessage"},"type":"array"},"model":{"description":"Model ID. Available value is hy-image-v3.5-preview","type":"string"},"resize_max_pixels":{"description":"Maximum pixel area of an input reference image. A larger image is scaled down in proportion before the model reads it. Default is 1048576","type":"integer"},"seed":{"description":"Generation seed. Range 0 to 2^63-1. When 0 or omitted, the server assigns a random value","format":"int64","minimum":0,"type":"integer"},"session":{"description":"Session ID. Keep the same value for all turns of a multi-turn conversation","type":"string"},"size":{"description":"Output dimensions as width x height (e.g. 1024x1024). Width and height range 256-8192, and width x height must not exceed 4194304. When omitted, the model selects the size from the prompt and generate_max_pixels","type":"string"},"use_search_tool":{"$ref":"#/components/schemas/TencentHunyuanImageSearchTool"}},"required":["model","messages"],"type":"object"},"TencentHunyuanImageV35Response":{"description":"Response body for Tencent Hy-Image-3.5-Preview image generation and editing","properties":{"assembled_history":{"description":"Messages to append to messages for the next editing turn","items":{"$ref":"#/components/schemas/TencentHunyuanImageMessage"},"type":"array"},"choices":{"description":"Result choices. The length is always 1","items":{"$ref":"#/components/schemas/TencentHunyuanImageChoice"},"type":"array"},"created":{"description":"Unix timestamp in seconds","format":"int64","type":"integer"},"error":{"$ref":"#/components/schemas/TencentHunyuanImageError"},"id":{"description":"Trace ID of the request","type":"string"},"model":{"description":"Internal version identifier of the model. It is different from the model value of the request","type":"string"},"object":{"description":"Object type. The value is image.chat.completion.chunk","type":"string"},"request_id":{"description":"Unique request identifier","type":"string"},"round":{"description":"Model turn of this frame, starting from 0","type":"integer"},"tokenhub_usage":{"$ref":"#/components/schemas/TencentHunyuanImageUsage"},"usage":{"$ref":"#/components/schemas/TencentHunyuanImageUsage"}},"type":"object"},"TencentHyChatChoice":{"description":"One result choice","properties":{"finish_reason":{"description":"Why generation stopped, such as stop, length or tool_calls","type":"string"},"index":{"description":"Choice index","type":"integer"},"message":{"$ref":"#/components/schemas/TencentHyChatResponseMessage"}},"type":"object"},"TencentHyChatCompletionRequest":{"description":"Request body for Tencent Hy4 chat completions","properties":{"max_tokens":{"description":"Maximum number of output tokens, reasoning tokens included. Hy4 allows up to 64000","type":"integer"},"messages":{"description":"Conversation messages, ordered from oldest to newest. The order is an optional system message, then user and assistant messages in turn, and the last message has the user role","items":{"$ref":"#/components/schemas/TencentHyChatMessage"},"type":"array"},"model":{"description":"Model ID. Available value is hy4","type":"string"},"reasoning_effort":{"description":"Reasoning depth, such as low or high. Hy4 uses high when omitted","type":"string"},"stream":{"description":"Must be false or omitted. Streaming is not supported","type":"boolean"},"temperature":{"description":"Sampling temperature","format":"double","type":"number"},"thinking":{"$ref":"#/components/schemas/TencentHyChatThinking"},"tool_choice":{"description":"Tool selection mode, such as auto"},"tools":{"description":"Functions the model can call","items":{"$ref":"#/components/schemas/TencentHyChatTool"},"type":"array"}},"required":["model","messages"],"type":"object"},"TencentHyChatCompletionResponse":{"description":"Response body for Tencent Hy4 chat completions","properties":{"choices":{"description":"Result choices","items":{"$ref":"#/components/schemas/TencentHyChatChoice"},"type":"array"},"created":{"description":"Unix timestamp in seconds","format":"int64","type":"integer"},"id":{"description":"Request ID","type":"string"},"model":{"description":"Model ID","type":"string"},"object":{"description":"Object type. The value is chat.completion","type":"string"},"usage":{"$ref":"#/components/schemas/TencentHyChatUsage"}},"type":"object"},"TencentHyChatCompletionTokensDetails":{"description":"Breakdown of the output tokens","properties":{"reasoning_tokens":{"description":"Output tokens used for reasoning","type":"integer"}},"type":"object"},"TencentHyChatFunction":{"description":"Function definition","properties":{"description":{"description":"What the function does","type":"string"},"name":{"description":"Function name","type":"string"},"parameters":{"additionalProperties":true,"description":"JSON Schema of the function arguments","type":"object"}},"type":"object"},"TencentHyChatMessage":{"description":"One conversation message","properties":{"content":{"description":"Message text as a string, or an array of content parts. A part is {\"type\":\"text\",\"text\":...} or {\"type\":\"image_url\",\"image_url\":{\"url\":...,\"detail\":...}}. The url is a public http(s) URL or a data:image base64 payload in PNG, JPEG, WEBP or non-animated GIF format, at most 10 MB for each image. detail is auto (default), low or high"},"reasoning_content":{"description":"Reasoning text of an assistant message from an earlier response. Send it back when you replay that message during tool use","type":"string"},"role":{"description":"Message role, one of system, user, assistant or tool","type":"string"},"tool_call_id":{"description":"ID of the tool call that a tool message answers","type":"string"},"tool_calls":{"description":"Tool calls of an assistant message from an earlier response","items":{"$ref":"#/components/schemas/TencentHyChatToolCall"},"type":"array"}},"required":["role"],"type":"object"},"TencentHyChatPromptTokensDetails":{"description":"Breakdown of the input tokens","properties":{"cached_tokens":{"description":"Input tokens read from the prompt cache","type":"integer"}},"type":"object"},"TencentHyChatResponseMessage":{"description":"Message the model returned","properties":{"content":{"description":"Final answer text","type":"string"},"reasoning_content":{"description":"Reasoning text. Present when the model reasoned before it answered","type":"string"},"role":{"description":"Message role. The value is assistant","type":"string"},"tool_calls":{"description":"Tool calls the model asked for","items":{"$ref":"#/components/schemas/TencentHyChatToolCall"},"type":"array"}},"type":"object"},"TencentHyChatThinking":{"description":"Deep thinking switch","properties":{"type":{"description":"enabled or disabled","type":"string"}},"type":"object"},"TencentHyChatTool":{"description":"One function the model can call","properties":{"function":{"$ref":"#/components/schemas/TencentHyChatFunction"},"type":{"description":"Tool type. The value is function","type":"string"}},"type":"object"},"TencentHyChatToolCall":{"description":"One tool call of an assistant message","properties":{"function":{"$ref":"#/components/schemas/TencentHyChatToolCallFunction"},"id":{"description":"Tool call ID","type":"string"},"type":{"description":"Tool call type. The value is function","type":"string"}},"type":"object"},"TencentHyChatToolCallFunction":{"description":"Function of a tool call","properties":{"arguments":{"description":"Function arguments as a JSON string","type":"string"},"name":{"description":"Function name","type":"string"}},"type":"object"},"TencentHyChatUsage":{"description":"Token usage of the request","properties":{"completion_tokens":{"description":"Output tokens, reasoning tokens included","type":"integer"},"completion_tokens_details":{"$ref":"#/components/schemas/TencentHyChatCompletionTokensDetails"},"prompt_tokens":{"description":"Input tokens, cached tokens included","type":"integer"},"prompt_tokens_details":{"$ref":"#/components/schemas/TencentHyChatPromptTokensDetails"},"total_tokens":{"description":"Sum of prompt_tokens and completion_tokens","type":"integer"}},"type":"object"},"TencentImageInfo":{"description":"Reference image - Base64 data or image URL","properties":{"Base64":{"description":"Base64 encoded image. Resolution 128-4096 per side, converted Base64 less than 10MB. Formats jpg, jpeg, png.","type":"string"},"Url":{"description":"Image URL. If both Base64 and Url are provided, Url prevails.","format":"uri","type":"string"}},"type":"object"},"TencentInputFile3D":{"description":"3D file input for UV unwrapping","properties":{"Type":{"description":"3D file format type","enum":["FBX","OBJ","GLB"],"example":"GLB","type":"string"},"Url":{"description":"URL of the 3D file that needs UV unwrapping","example":"https://example.com/model.glb","format":"uri","type":"string"}},"required":["Type","Url"],"type":"object"},"TencentPartInputFile3D":{"description":"3D file input for component generation","properties":{"Type":{"description":"3D file format type","enum":["FBX"],"example":"FBX","type":"string"},"Url":{"description":"URL of the 3D file to split into components","example":"https://example.com/model.fbx","format":"uri","type":"string"}},"required":["Type","Url"],"type":"object"},"TencentSmartTopologyInputFile3D":{"description":"3D file input for smart topology","properties":{"Type":{"description":"3D file format type","enum":["OBJ","GLB"],"example":"GLB","type":"string"},"Url":{"description":"URL of the 3D file to retopologise","example":"https://example.com/model.glb","format":"uri","type":"string"}},"required":["Type","Url"],"type":"object"},"TencentTextureEditInputFile3D":{"description":"3D file input for texture editing","properties":{"Type":{"description":"3D file format type","enum":["FBX"],"example":"FBX","type":"string"},"Url":{"description":"URL of the 3D file whose texture is edited","example":"https://example.com/model.fbx","format":"uri","type":"string"}},"required":["Type","Url"],"type":"object"},"TencentViewImage":{"description":"A view image for multi-perspective 3D generation","properties":{"ViewImageBase64":{"description":"Base64 encoded image for this view.\nResolution: min 128px, max 5000px per side.\nMax size: 8MB.\nSupported formats: JPG, PNG.\n","type":"string"},"ViewImageUrl":{"description":"URL of the image for this view.\nResolution: min 128px, max 5000px per side.\nMax size: 8MB.\nSupported formats: JPG, PNG.\n","format":"uri","type":"string"},"ViewType":{"description":"The viewing angle type for this image.\n- left: Left view\n- right: Right view\n- back: Rear view\n- top: Top view (only supported in Model 3.1)\n- bottom: Bottom view (only supported in Model 3.1)\n- left_front: Left front 45 degree view (only supported in Model 3.1)\n- right_front: Right front 45 degree view (only supported in Model 3.1)\n","enum":["left","right","back","top","bottom","left_front","right_front"],"type":"string"}},"type":"object"},"TextResponseFormatConfiguration":{"description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","oneOf":[{"$ref":"#/components/schemas/ResponseFormatText"},{"$ref":"#/components/schemas/TextResponseFormatJsonSchema"},{"$ref":"#/components/schemas/ResponseFormatJsonObject"}]},"TextResponseFormatJsonSchema":{"description":"JSON Schema response format. Used to generate structured JSON responses.\nLearn more about [Structured Outputs](/docs/guides/structured-outputs).\n","properties":{"description":{"description":"A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n","type":"string"},"name":{"description":"The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n","type":"string"},"schema":{"$ref":"#/components/schemas/ResponseFormatJsonSchemaSchema"},"strict":{"default":false,"description":"Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](/docs/guides/structured-outputs).\n","type":"boolean"},"type":{"description":"The type of response format being defined. Always `json_schema`.","enum":["json_schema"],"type":"string","x-stainless-const":true}},"required":["type","schema","name"],"title":"JSON schema","type":"object"},"Tool":{"discriminator":{"mapping":{"computer_use_preview":"#/components/schemas/ComputerUsePreviewTool","file_search":"#/components/schemas/FileSearchTool","function":"#/components/schemas/FunctionTool","web_search_preview":"#/components/schemas/WebSearchPreviewTool","web_search_preview_2025_03_11":"#/components/schemas/WebSearchPreviewTool"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/FileSearchTool"},{"$ref":"#/components/schemas/FunctionTool"},{"$ref":"#/components/schemas/WebSearchPreviewTool"},{"$ref":"#/components/schemas/ComputerUsePreviewTool"}]},"ToolChoiceFunction":{"description":"Use this option to force the model to call a specific function.\n","properties":{"name":{"description":"The name of the function to call.","type":"string"},"type":{"description":"For function calling, the type is always `function`.","enum":["function"],"type":"string","x-stainless-const":true}},"required":["type","name"],"title":"Function tool","type":"object"},"ToolChoiceOptions":{"description":"Controls which (if any) tool is called by the model.\n\n`none` means the model will not call any tool and instead generates a message.\n\n`auto` means the model can pick between generating a message or calling one or\nmore tools.\n\n`required` means the model must call one or more tools.\n","enum":["none","auto","required"],"title":"Tool choice mode","type":"string"},"ToolChoiceTypes":{"description":"Indicates that the model should use a built-in tool to generate a response.\n[Learn more about built-in tools](/docs/guides/tools).\n","properties":{"type":{"description":"The type of hosted tool the model should to use. Learn more about\n[built-in tools](/docs/guides/tools).\n\nAllowed values are:\n- `file_search`\n- `web_search_preview`\n- `computer_use_preview`\n","enum":["file_search","web_search_preview","computer_use_preview","web_search_preview_2025_03_11"],"type":"string"}},"required":["type"],"title":"Hosted tool","type":"object"},"TopazCreateRequestImageSequenceSchema":{"properties":{"destination":{"properties":{"external":{"$ref":"#/components/schemas/TopazExternalStorage"}},"type":"object"},"filters":{"$ref":"#/components/schemas/TopazInputFilters"},"output":{"$ref":"#/components/schemas/TopazOutputInformationImageSequence"},"source":{"description":"Source details for the video","properties":{"container":{"description":"The container format of the image files","enum":["DPX","EXR","JPEG","PNG","TIFF"],"example":"TIFF","type":"string"},"endNumber":{"description":"Optional ending frame number for image sequences","example":120,"type":"integer"},"external":{"$ref":"#/components/schemas/TopazExternalStorage"},"frameCount":{"description":"Total number of frames in the video, in this case, equal to the number of image files.","example":18000,"type":"number"},"frameRate":{"description":"Frame rate of the video","example":30,"type":"number"},"resolution":{"description":"Resolution details of the image","properties":{"height":{"description":"Height of the image in pixels","example":1080,"type":"integer"},"width":{"description":"Width of the image in pixels","example":1920,"type":"integer"}},"required":["width","height"],"type":"object"},"startNumber":{"description":"Optional starting frame number for image sequences","example":120,"type":"integer"}},"required":["container","frameCount","frameRate","resolution","external"],"type":"object"}},"required":["source","filters","output","destination"],"title":"Image Sequence","type":"object"},"TopazCreateRequestVideoSchema":{"properties":{"destination":{"properties":{"external":{"$ref":"#/components/schemas/TopazExternalStorage"}},"type":"object"},"filters":{"$ref":"#/components/schemas/TopazInputFilters"},"output":{"$ref":"#/components/schemas/TopazOutputInformationVideo"},"overrides":{"properties":{"isPaidDiffusion":{"type":"boolean"}},"type":"object"},"source":{"description":"Source details for the video","properties":{"container":{"description":"The container format of the video file","enum":["mp4","mov","mkv"],"example":"mp4","type":"string"},"duration":{"description":"Duration of the video file in seconds","example":600,"type":"number"},"external":{"$ref":"#/components/schemas/TopazExternalStorage"},"frameCount":{"description":"Total number of frames in the video","example":18000,"type":"number"},"frameRate":{"description":"Frame rate of the video","example":30,"type":"number"},"resolution":{"description":"Resolution details of the video","properties":{"height":{"description":"Height of the video in pixels","example":1080,"type":"integer"},"width":{"description":"Width of the video in pixels","example":1920,"type":"integer"}},"required":["width","height"],"type":"object"},"size":{"description":"Size of the video file in bytes","example":123456000,"type":"integer"}},"required":["container","size","duration","frameCount","frameRate","resolution"],"type":"object"}},"required":["source","filters","output"],"title":"Video AI","type":"object"},"TopazCredentialsS3":{"properties":{"externalId":{"description":"Kind of like a secret string for extra layer of security","example":"MSTnuGztXtTU25XKjVfMJCsujv6VtAGtv1TGSjtOL6M=","type":"string"},"roleArn":{"description":"AWS ARN of the role to assume","example":"arn:aws:iam::123456789:role/topazlabs","type":"string"}},"required":["roleArn","externalId"],"type":"object"},"TopazDownloadResponse":{"properties":{"download_url":{"description":"Presigned URL to download the image","example":"https://example.com/d7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b?presigned_headers","type":"string"},"expiry":{"description":"Expiration time of the presigned URLs in Unix timestamp","example":1617220000,"type":"integer"},"head_url":{"description":"Presigned URL to get image metadata","example":"https://example.com/d7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b?presigned_headers","type":"string"}},"required":["download_url","expiry"],"type":"object"},"TopazEnhanceGenRequest":{"properties":{"autoprompt":{"default":true,"description":"Automatically generate a prompt from the input image - available for Bloom 2 only","type":"boolean"},"color_preservation":{"default":"true","description":"To preserve the original color - available for Reimagine and Bloom 2 only (must be string \"true\" or \"false\" due to Topaz API requirement)","enum":["true","false"],"type":"string"},"creativity":{"default":3,"description":"Creativity settings range from 1 to 9 - available for Reimagine and Bloom 2 only","maximum":9,"minimum":1,"type":"integer"},"crop_to_fill":{"default":false,"description":"Default behavior is to letterbox the image if a differing aspect ratio is chosen. Enable crop_to_fill by setting this to true if you instead want to crop the image to fill the dimensions","type":"boolean"},"enhancement_strength":{"default":"high","description":"Strength of the enhancement - low, medium or high - available for Wonder 3.5 only","type":"string"},"face_enhancement":{"default":true,"description":"By default, faces (if any) are enhanced during image processing as well. Set face_enhancement to false if you don't want this","type":"boolean"},"face_enhancement_creativity":{"default":0,"description":"Choose the level of creativity for face enhancement from 0 to 1. Defaults to 0, and is ignored if face_enhancement is false","maximum":1,"minimum":0,"type":"number"},"face_enhancement_strength":{"default":0.8,"description":"Control how sharp the enhanced faces are relative to the background from 0 to 1. Defaults to 0.8, and is ignored if face_enhancement is false","maximum":1,"minimum":0,"type":"number"},"face_preservation":{"default":"true","description":"To preserve the identity of characters - available for Reimagine only (must be string \"true\" or \"false\" due to Topaz API requirement)","enum":["true","false"],"type":"string"},"grain":{"default":false,"description":"Whether to add grain to the output image - available for Wonder 3.5 and Bloom 2 only","type":"boolean"},"grain_density":{"default":0.5,"description":"Density of the added grain from 0 to 1 - ignored if grain is false - available for Wonder 3.5 and Bloom 2 only","maximum":1,"minimum":0,"type":"number"},"grain_model":{"default":"silver","description":"Grain model - silver, gaussian or grey - ignored if grain is false - available for Wonder 3.5 and Bloom 2 only","type":"string"},"grain_size":{"default":1,"description":"Size of the added grain from 1 to 5 - ignored if grain is false - available for Wonder 3.5 and Bloom 2 only","maximum":5,"minimum":1,"type":"number"},"grain_strength":{"default":0.5,"description":"Strength of the added grain from 0 to 1 - ignored if grain is false - available for Wonder 3.5 and Bloom 2 only","maximum":1,"minimum":0,"type":"number"},"image":{"description":"The image file to be processed. Supported formats - jpeg (or jpg), png, tiff (or tif)","format":"binary","type":"string"},"input_height":{"description":"Height of the input image in pixels - available for Wonder 3.5 and Bloom 2 only","type":"integer"},"input_width":{"description":"Width of the input image in pixels - available for Wonder 3.5 and Bloom 2 only","type":"integer"},"model":{"default":"Reimagine","description":"The model to use for processing the image","enum":["Reimagine","Wonder 3.5","Bloom 2","Wonder 4"],"type":"string"},"output_format":{"default":"jpeg","description":"The desired format of the output image","enum":["jpeg","jpg","png","tiff","tif"],"type":"string"},"output_height":{"description":"The desired height of the output image in pixels","maximum":32000,"minimum":1,"type":"integer"},"output_width":{"description":"The desired width of the output image in pixels","maximum":32000,"minimum":1,"type":"integer"},"prompt":{"description":"Text prompt for creative upscaling guidance - available for Reimagine and Bloom 2 only","example":"enter-your-prompt-here","type":"string"},"reference_uri":{"description":"URI of a reference image to guide generation - available for Bloom 2 only","type":"string"},"seed":{"description":"Seed for reproducible generation - available for Bloom 2 only","type":"integer"},"source_id":{"description":"Unique identifier of the source image","example":"d7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b","type":"string"},"source_url":{"description":"The URL of the source image","example":"https://example.com/image.jpg","type":"string"},"subject_detection":{"default":"All","description":"Specifies whether you want to detect all subjects in the image, only the foreground subject, or only the background for the AI model to run on","enum":["All","Foreground","Background"],"type":"string"}},"required":["model"],"type":"object"},"TopazEnhanceGenResponse":{"properties":{"eta":{"description":"Expected completion time in Unix timestamp","example":1617220000,"type":"integer"},"process_id":{"description":"Unique identifier for the processing job","example":"d7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b","type":"string"},"source_id":{"description":"Unique identifier of the source image","example":"d7b3b3b3-7b3b-4b3b-8b3b-3b3b3b3b3b3b","type":"string"}},"required":["process_id","eta"],"type":"object"},"TopazExternalStorage":{"properties":{"bucketName":{"example":"galaxies","type":"string"},"credentials":{"$ref":"#/components/schemas/TopazCredentialsS3"},"key":{"description":"The example includes the standard specifier for image sequence requests, with optional directory path. It must begin with \"%\" and end with the integer specifier \"d\". The \"0\" in the example indicates left-padding with zeroes, and \"6\" indicates the number of digits in the file name.\nKeys for video requests must be valid characters supported by S3.\n","example":"milky_way/%06d.tiff","type":"string"},"provider":{"enum":["s3"],"example":"s3","type":"string"}},"required":["provider","credentials","bucketName","key"],"type":"object"},"TopazInputFilters":{"description":"Array of EnhancementFilter or FrameInterpolationFilter objects","example":[{"auto":"Auto","blur":0.6,"compression":0.1,"details":0.2,"fieldOrder":"Auto","focusFixLevel":"Normal","grain":0.02,"grainSize":1,"halo":0.4,"model":"prob-4","noise":0.3,"preblur":0.5,"prenoise":0.01,"recoverOriginalDetailValue":0.7,"videoType":"Progressive"},{"duplicate":true,"duplicateThreshold":0.01,"fps":60,"model":"apo-8","slowmo":2}],"items":{"anyOf":[{"$ref":"#/components/schemas/TopazVideoEnhancementFilter"},{"$ref":"#/components/schemas/TopazVideoFrameInterpolationFilter"}]},"type":"array"},"TopazOutputInformationImageSequence":{"properties":{"codecId":{"description":"Video codec ID, if known. Defaults to videoEncoder.","example":"h265-main-win-nvidia","type":"string"},"container":{"description":"Desired output container, defaults to the input container","enum":["DPX","EXR","JPEG","PNG","TIFF"],"example":"TIFF","type":"string"},"cropToFit":{"description":"Center cropping to fit the output dimensions","example":true,"type":"boolean"},"frameRate":{"description":"Frame rate","example":30,"type":"number"},"resolution":{"description":"Desired output resolution","properties":{"height":{"description":"Height in pixels. The maximum size depends on the encoder and can be referenced using the table below \u003ctable\u003e \u003ctr\u003e \u003ctd\u003eH264\u003c/td\u003e \u003ctd\u003eH265\u003c/td\u003e \u003ctd\u003eProRes \u003ctd\u003eAV1 \u003ctd\u003eVP9 \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e4096\u003c/td\u003e \u003ctd\u003e8192\u003c/td\u003e \u003ctd\u003e16386\u003c/td\u003e \u003ctd\u003e8704\u003c/td\u003e \u003ctd\u003e8192\u003c/td\u003e \u003c/tr\u003e \u003c/table\u003e","example":4320,"type":"integer"},"width":{"description":"Width in pixels. The maximum size depends on the encoder and can be referenced using the table below \u003ctable\u003e \u003ctr\u003e \u003ctd\u003eH264\u003c/td\u003e \u003ctd\u003eH265\u003c/td\u003e \u003ctd\u003eProRes \u003ctd\u003eAV1 \u003ctd\u003eVP9 \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e4096\u003c/td\u003e \u003ctd\u003e8192\u003c/td\u003e \u003ctd\u003e16386\u003c/td\u003e \u003ctd\u003e16384\u003c/td\u003e \u003ctd\u003e8192\u003c/td\u003e \u003c/tr\u003e \u003c/table\u003e","example":7680,"type":"integer"}},"required":["width","height"],"type":"object"},"videoEncoder":{"enum":["DPX","EXR","JPEG","PNG","TIFF"],"example":"TIFF","type":"string"},"videoProfile":{"description":"Codec profile specific to videoEncoder","example":"Main","type":"string"}},"required":["resolution","frameRate"],"type":"object"},"TopazOutputInformationVideo":{"properties":{"audioBitrate":{"description":"Audio bitrate, if audioTransfer is Copy or Convert. Default values for the codec are used if not provided.","example":"320","type":"string"},"audioCodec":{"description":"__Required if audioTransfer is Copy or Convert.__","enum":["AAC","AC3","PCM"],"example":"AAC","type":"string"},"audioTransfer":{"enum":["Copy","Convert","None"],"example":"Copy","type":"string"},"codecId":{"description":"Video codec ID, if known. Defaults to videoEncoder.","example":"h265-main-win-nvidia","type":"string"},"container":{"description":"Desired output container","enum":["mp4","mov","mkv"],"example":"mp4","type":"string"},"cropToFit":{"description":"Center cropping to fit the output dimensions","example":true,"type":"boolean"},"dynamicCompressionLevel":{"description":"__Required if videoBitrate is not provided.__ Automatic CQP selection.","enum":["Low","Mid","High"],"example":"Mid","type":"string"},"frameRate":{"description":"Frame rate","example":30,"type":"number"},"resolution":{"description":"Desired output resolution","properties":{"height":{"description":"Height in pixels. The maximum size depends on the encoder and can be referenced using the table below \u003ctable\u003e \u003ctr\u003e \u003ctd\u003eH264\u003c/td\u003e \u003ctd\u003eH265\u003c/td\u003e \u003ctd\u003eProRes \u003ctd\u003eAV1 \u003ctd\u003eVP9 \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e4096\u003c/td\u003e \u003ctd\u003e8192\u003c/td\u003e \u003ctd\u003e16386\u003c/td\u003e \u003ctd\u003e8704\u003c/td\u003e \u003ctd\u003e8192\u003c/td\u003e \u003c/tr\u003e \u003c/table\u003e","example":4320,"type":"integer"},"width":{"description":"Width in pixels. The maximum size depends on the encoder and can be referenced using the table below \u003ctable\u003e \u003ctr\u003e \u003ctd\u003eH264\u003c/td\u003e \u003ctd\u003eH265\u003c/td\u003e \u003ctd\u003eProRes \u003ctd\u003eAV1 \u003ctd\u003eVP9 \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e4096\u003c/td\u003e \u003ctd\u003e8192\u003c/td\u003e \u003ctd\u003e16386\u003c/td\u003e \u003ctd\u003e16384\u003c/td\u003e \u003ctd\u003e8192\u003c/td\u003e \u003c/tr\u003e \u003c/table\u003e","example":7680,"type":"integer"}},"required":["width","height"],"type":"object"},"videoBitrate":{"description":"__Required if dynamicCompressionLevel is not provided.__ Constant bitrate, suffixed with \"k\" for kilobits or \"m\" for megabits per second.","example":"1k","type":"string"},"videoEncoder":{"enum":["AV1","FFV1","H264","H265","ProRes","QuickTime Animation","QuickTime R210","QuickTime V210","VP9"],"example":"H265","type":"string"},"videoProfile":{"description":"Codec profile specific to videoEncoder. The following are some combinations of available profiles based on the 'videoEncoder' selection \u003ctable\u003e \u003ctr\u003e \u003ctd\u003eH264\u003c/td\u003e \u003ctd\u003eH265\u003c/td\u003e \u003ctd\u003eProRes \u003ctd\u003eAV1 \u003ctd\u003eVP9 \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003eHigh\u003c/td\u003e \u003ctd\u003eMain, Main10\u003c/td\u003e \u003ctd\u003e422 Proxy, 422 LT, 422 Std, 422 HQ\u003c/td\u003e \u003ctd\u003e8-bit, 10-bit\u003c/td\u003e \u003ctd\u003eGood, Best\u003c/td\u003e \u003c/tr\u003e \u003c/table\u003e","example":"Main","type":"string"}},"required":["resolution","frameRate","audioCodec","audioTransfer"],"type":"object"},"TopazStatusResponse":{"properties":{"category":{"description":"Processing category (e.g., \"Enhance\")","type":"string"},"creation_time":{"description":"Creation time in Unix timestamp","type":"integer"},"credits":{"description":"Credits consumed for this job","type":"integer"},"crop_to_fill":{"description":"Whether crop to fill is enabled","type":"boolean"},"eta":{"description":"Expected completion time in Unix timestamp","type":"integer"},"face_enhancement":{"description":"Whether face enhancement is enabled","type":"boolean"},"face_enhancement_creativity":{"description":"Face enhancement creativity level","type":"number"},"face_enhancement_strength":{"description":"Face enhancement strength level","type":"number"},"filename":{"description":"Original filename without extension","type":"string"},"input_format":{"description":"Format of the input image","type":"string"},"input_height":{"description":"Height of the input image in pixels","type":"integer"},"input_width":{"description":"Width of the input image in pixels","type":"integer"},"model":{"description":"Specific model used (e.g., \"Reimagine\")","type":"string"},"model_type":{"description":"Type of model used (e.g., \"Generative\")","type":"string"},"modification_time":{"description":"Last modification time in Unix timestamp","type":"integer"},"options_json":{"description":"JSON string containing additional options","type":"string"},"output_format":{"description":"Format of the output image","type":"string"},"output_height":{"description":"Height of the output image in pixels","type":"integer"},"output_width":{"description":"Width of the output image in pixels","type":"integer"},"process_id":{"description":"Unique identifier for the processing job","type":"string"},"progress":{"description":"Progress percentage (0-100)","maximum":100,"minimum":0,"type":"number"},"source_id":{"description":"Unique identifier of the source image","type":"string"},"status":{"description":"Current status of the processing job","enum":["Pending","Processing","Completed","Failed","Cancelled"],"type":"string"},"subject_detection":{"description":"Subject detection setting","type":"string"},"sync":{"description":"Whether this was a synchronous request","type":"boolean"}},"required":["process_id","status","credits"],"type":"object"},"TopazVideoAcceptResponse":{"properties":{"message":{"description":"Response message","example":"Accepted","type":"string"},"uploadId":{"description":"Upload ID for completing multi-part upload","example":"GDlWC7qIaE6okS41Xf/ktpuS5XzTRabg","type":"string"},"urls":{"description":"URLs to PUT the parts to","example":["https://videocloud.s3.amazonaws.com/source.mp4?uploadPart1","https://videocloud.s3.amazonaws.com/source.mp4?uploadPart2"],"items":{"type":"string"},"type":"array"}},"required":["uploadId","urls"],"type":"object"},"TopazVideoCompleteUploadRequest":{"properties":{"md5Hash":{"description":"MD5 hash of the source video file in hex","example":"4d186321c1a7f0f354b297e8914ab240","type":"string"},"uploadResults":{"description":"An array of part number and ETag pairs of the uploaded parts. ETags are returned by S3 upon upload of the part.","items":{"properties":{"eTag":{"description":"eTag value returned by S3 upon upload of the part","example":"d41d8cd98f00b204e9800998ecf8427e","type":"string"},"partNum":{"description":"Part number of the uploaded part, starting from 1","example":1,"type":"integer"}},"required":["partNum","eTag"],"type":"object"},"type":"array"}},"required":["uploadResults"],"type":"object"},"TopazVideoCompleteUploadResponse":{"properties":{"message":{"description":"Confirmation message","example":"Processing has been queued","type":"string"}},"required":["message"],"type":"object"},"TopazVideoCreateRequest":{"oneOf":[{"$ref":"#/components/schemas/TopazCreateRequestVideoSchema"},{"$ref":"#/components/schemas/TopazCreateRequestImageSequenceSchema"}]},"TopazVideoCreateResponse":{"properties":{"estimates":{"$ref":"#/components/schemas/TopazVideoRequestEstimates"},"requestId":{"description":"Unique identifier for the video processing request","example":"c1f96dc2-c448-00e6-82ed-14ecb6403c62","format":"uuid","type":"string"}},"required":["requestId","estimates"],"type":"object"},"TopazVideoEnhancedDownload":{"description":"Signed download URL to the enhanced video file","properties":{"expiresAt":{"description":"Time in milliseconds since UTC epoch","example":1727213400000,"type":"integer"},"expiresIn":{"description":"TTL in milliseconds","example":86400000,"type":"integer"},"url":{"example":"https://videocloud.r2.cloudflarestorage.com/enhanced.mp4","type":"string"}},"type":"object"},"TopazVideoEnhancementFilter":{"properties":{"auto":{"description":"Parameter mode of the selected model","enum":["Auto","Manual","Relative"],"example":"Auto","type":"string"},"blur":{"description":"Amount of sharpness applied","example":0.6,"maximum":1,"minimum":-1,"type":"number"},"compression":{"description":"Adjust strength of compression recovery","example":0.1,"maximum":1,"minimum":-1,"type":"number"},"creativity":{"description":"Creativity level for Starlight Creative (slc-1) only","enum":["low","high"],"type":"string"},"details":{"description":"Amount of detail reconstruction","example":0.2,"maximum":1,"minimum":-1,"type":"number"},"fieldOrder":{"description":"Optional specification of field order for interlaced input videos","enum":["TopFirst","BottomFirst","Auto"],"example":"Auto","type":"string"},"focusFixLevel":{"description":"Downscales video input for stronger correction of blurred subjects","enum":["None","Normal","Strong"],"example":"Normal","type":"string"},"grain":{"description":"Adds grain after AI model processing","example":0.02,"maximum":0.1,"minimum":0,"type":"number"},"grainSize":{"description":"Size of generated grain","example":1,"maximum":5,"minimum":0,"type":"number"},"halo":{"description":"Amount of halo reduction","example":0.4,"maximum":1,"minimum":-1,"type":"number"},"isOptimizedMode":{"description":"Set to true for Starlight Creative (slc-1) only","type":"boolean"},"model":{"description":"Short code name for AI model","enum":["aaa-9","ahq-12","alq-13","alqs-2","amq-13","amqs-2","ddv-3","dtd-4","dtds-2","dtv-4","dtvs-2","gcg-5","ghq-5","iris-2","iris-3","nxf-1","nyx-3","prob-4","rhea-1","rxl-1","thd-3","thf-4","thm-2","slf-1","slc-1"],"example":"prob-4","type":"string"},"noise":{"description":"Amount of noise reduction","example":0.3,"maximum":1,"minimum":-1,"type":"number"},"preblur":{"description":"Adjust anti-aliasing and deblurring strength","example":0.5,"maximum":1,"minimum":-1,"type":"number"},"prenoise":{"description":"Adds noise to input to reduce over-smoothing","example":0.01,"maximum":0.1,"minimum":0,"type":"number"},"recoverOriginalDetailValue":{"description":"Reintroduce source details into the output video","example":0.7,"maximum":1,"minimum":0,"type":"number"},"videoType":{"description":"Frame/field type of the video","enum":["Progressive","Interlaced","ProgressiveInterlaced"],"example":"Progressive","type":"string"}},"required":["model"],"type":"object"},"TopazVideoFrameInterpolationFilter":{"properties":{"duplicate":{"description":"Analyze input for duplicate frames and remove them","example":true,"type":"boolean"},"duplicateThreshold":{"description":"Sensitivity of detection for duplicate frames","example":0.01,"maximum":0.1,"minimum":0.001,"type":"number"},"fps":{"description":"Output frame rate, does not increase duration","example":60,"maximum":240,"minimum":15,"type":"number"},"model":{"description":"Short code name for AI model","enum":["aion-1","apf-2","apo-8","chf-3","chr-2"],"example":"apo-8","type":"string"},"slowmo":{"description":"Slow motion factor applied to input video","example":2,"maximum":16,"minimum":1,"type":"number"}},"required":["model"],"type":"object"},"TopazVideoRequestEstimates":{"description":"Lower and upper bound estimates","properties":{"cost":{"description":"Cost range in credits","example":[10,12],"items":{"type":"integer"},"type":"array"},"time":{"description":"Time range in seconds","example":[600,700],"items":{"type":"integer"},"type":"array"}},"type":"object"},"TopazVideoStatusResponse":{"properties":{"averageFps":{"description":"Average processing speed of each node","example":1.23,"type":"number"},"combinedFps":{"description":"Combined processing speed of all nodes","example":12.34,"type":"number"},"download":{"$ref":"#/components/schemas/TopazVideoEnhancedDownload"},"estimates":{"$ref":"#/components/schemas/TopazVideoRequestEstimates"},"message":{"example":"Processing","type":"string"},"outputSize":{"description":"Size of output video","example":"10 GB","type":"string"},"progress":{"description":"Total progress percentage","example":82,"maximum":100,"minimum":0,"type":"number"},"status":{"description":"Current status of the video processing","enum":["requested","accepted","initializing","preprocessing","processing","postprocessing","complete","canceling","canceled","failed"],"example":"processing","type":"string"}},"required":["status"],"type":"object"},"TripoAnimation":{"enum":["preset:idle","preset:walk","preset:climb","preset:jump","preset:run","preset:slash","preset:shoot","preset:hurt","preset:fall","preset:turn"],"type":"string"},"TripoConvertFormat":{"enum":["GLTF","USDZ","FBX","OBJ","STL","3MF"],"type":"string"},"TripoConvertModelRequest":{"properties":{"animate_in_place":{"default":false,"type":"boolean"},"bake":{"default":true,"type":"boolean"},"export_orientation":{"default":"+x","type":"string"},"export_vertex_colors":{"default":false,"type":"boolean"},"face_limit":{"type":"integer"},"fbx_preset":{"default":"blender","type":"string"},"flatten_bottom":{"default":false,"type":"boolean"},"flatten_bottom_threshold":{"default":0.01,"type":"number"},"force_symmetry":{"default":false,"type":"boolean"},"format":{"type":"string"},"input":{"description":"A file token, a public URL, or an earlier task id.","type":"string"},"pack_uv":{"default":false,"type":"boolean"},"part_names":{"items":{"type":"string"},"type":"array"},"pivot_to_center_bottom":{"default":false,"type":"boolean"},"quad":{"default":false,"type":"boolean"},"scale_factor":{"default":1,"type":"number"},"texture_format":{"default":"JPEG","type":"string"},"texture_size":{"default":4096,"type":"integer"},"with_animation":{"default":true,"type":"boolean"}},"required":["input","format"],"type":"object"},"TripoEditMultiviewRequest":{"properties":{"input":{"description":"A file token, a public URL, or an earlier multiview task id.","type":"string"},"prompts":{"items":{"properties":{"prompt":{"type":"string"},"view":{"description":"One of: front, left, back, right.","type":"string"}},"required":["prompt","view"],"type":"object"},"type":"array"}},"required":["input","prompts"],"type":"object"},"TripoErrorResponse":{"properties":{"code":{"enum":[1001,2000,2001,2002,2003,2004,2006,2007,2008,2010],"type":"integer"},"message":{"type":"string"},"suggestion":{"type":"string"}},"required":["code","message","suggestion"],"type":"object"},"TripoGeometryQuality":{"enum":["standard","detailed"],"type":"string"},"TripoImageToModel":{"description":"Task type for Tripo image-to-model generation.","enum":["image_to_model"],"example":"image_to_model","type":"string"},"TripoImageToModelRequest":{"properties":{"auto_size":{"default":false,"type":"boolean"},"compress":{"type":"string"},"enable_image_autofix":{"default":false,"type":"boolean"},"export_orientation":{"default":"+x","type":"string"},"export_uv":{"default":true,"type":"boolean"},"face_limit":{"type":"integer"},"generate_parts":{"default":false,"type":"boolean"},"geometry_quality":{"default":"standard","type":"string"},"input":{"description":"A file token, a public URL, or an earlier task id.","type":"string"},"model":{"type":"string"},"model_seed":{"type":"integer"},"orientation":{"default":"default","type":"string"},"pbr":{"default":true,"type":"boolean"},"quad":{"default":false,"type":"boolean"},"smart_low_poly":{"default":false,"type":"boolean"},"texture":{"default":true,"type":"boolean"},"texture_alignment":{"default":"original_image","type":"string"},"texture_quality":{"default":"standard","type":"string"},"texture_seed":{"type":"integer"}},"required":["input","model"],"type":"object"},"TripoImageToMultiviewRequest":{"properties":{"input":{"description":"A file token or a public URL of the source image.","type":"string"}},"required":["input"],"type":"object"},"TripoImportModelRequest":{"properties":{"input":{"description":"A file token or a public URL for the model file (GLB, GLTF, FBX, OBJ, or STL; 150MB max).","type":"string"}},"required":["input"],"type":"object"},"TripoMeshCompleteRequest":{"properties":{"completion_mode":{"default":"ai_completion","type":"string"},"input":{"description":"The task id of an earlier mesh segment task.","type":"string"},"model":{"default":"v1.0-20250506","type":"string"},"part_names":{"items":{"type":"string"},"type":"array"}},"required":["input"],"type":"object"},"TripoMeshDecimateRequest":{"properties":{"bake":{"default":true,"type":"boolean"},"face_limit":{"type":"integer"},"input":{"description":"A file token, a public URL, or an earlier task id.","type":"string"},"model":{"default":"v2.0","type":"string"},"part_names":{"items":{"type":"string"},"type":"array"},"quad":{"default":false,"type":"boolean"}},"required":["input"],"type":"object"},"TripoMeshSegmentRequest":{"properties":{"input":{"description":"A file token, a public URL, or an earlier task id.","type":"string"},"model":{"default":"v1.0-20250506","type":"string"},"ref_image":{"type":"string"},"segmentation_granularity":{"default":"balanced","type":"string"},"split_by_connectivity":{"default":true,"type":"boolean"}},"required":["input"],"type":"object"},"TripoMeshSmartSegmentRequest":{"properties":{"input":{"description":"A file token or a public URL for the mesh file.","type":"string"},"ref_image":{"type":"string"},"seg_type":{"description":"One of: image, model.","type":"string"},"segmentation_granularity":{"default":"balanced","type":"string"},"split_by_connectivity":{"default":true,"type":"boolean"},"transform":{"description":"A 4x4 transform matrix as 16 floats, row-major.","items":{"type":"number"},"type":"array"}},"required":["input","seg_type"],"type":"object"},"TripoMeshUvRequest":{"properties":{"bake":{"default":true,"type":"boolean"},"compress":{"type":"string"},"export_orientation":{"description":"One of +x, -x, +y, -y.","type":"string"},"input":{"description":"A file token, a public URL, or an earlier task id.","type":"string"},"model":{"default":"default","type":"string"}},"required":["input"],"type":"object"},"TripoModelStyle":{"description":"Style for the Tripo model generation.","enum":["person:person2cartoon","animal:venom","object:clay","object:steampunk","object:christmas","object:barbie","gold","ancient_bronze"],"example":"object:clay","type":"string"},"TripoModelVersion":{"description":"Version of the Tripo model.","enum":["v2.5-20250123","v2.0-20240919","v1.4-20240625"],"example":"v2.5-20250123","type":"string"},"TripoMultiviewMode":{"description":"Mode for multiview generation, specifying view orientation.","enum":["LEFT","RIGHT"],"example":"LEFT","type":"string"},"TripoMultiviewToModel":{"description":"Task type for Tripo multiview-to-model generation.","enum":["multiview_to_model"],"example":"multiview_to_model","type":"string"},"TripoMultiviewToModelRequest":{"properties":{"auto_size":{"default":false,"type":"boolean"},"compress":{"type":"string"},"export_orientation":{"default":"+x","type":"string"},"export_uv":{"default":true,"type":"boolean"},"face_limit":{"type":"integer"},"generate_parts":{"default":false,"type":"boolean"},"geometry_quality":{"default":"standard","type":"string"},"inputs":{"description":"The view images, as view-keyed objects or as four positional entries in the order front, left, back, right.","items":{},"type":"array"},"model":{"type":"string"},"model_seed":{"type":"integer"},"orientation":{"default":"default","type":"string"},"pbr":{"default":true,"type":"boolean"},"quad":{"default":false,"type":"boolean"},"smart_low_poly":{"default":false,"type":"boolean"},"texture":{"default":true,"type":"boolean"},"texture_alignment":{"default":"original_image","type":"string"},"texture_quality":{"default":"standard","type":"string"},"texture_seed":{"type":"integer"}},"required":["inputs","model"],"type":"object"},"TripoOrientation":{"default":"default","enum":["align_image","default"],"type":"string"},"TripoRefineModelRequest":{"properties":{"input":{"description":"A file token, a public URL, or an earlier task id.","type":"string"}},"required":["input"],"type":"object"},"TripoResponseSuccessCode":{"description":"Standard success code for Tripo API responses. Typically 0 for success.","example":0,"type":"integer"},"TripoRetargetRequest":{"properties":{"animate_in_place":{"default":false,"type":"boolean"},"animation":{"type":"string"},"animations":{"items":{"type":"string"},"type":"array"},"bake_animation":{"default":true,"type":"boolean"},"export_with_geometry":{"default":true,"type":"boolean"},"input":{"description":"The task id of a rigged model.","type":"string"},"out_format":{"default":"glb","type":"string"}},"required":["input"],"type":"object"},"TripoRigCheckRequest":{"properties":{"input":{"description":"A file token, a public URL, or an earlier task id.","type":"string"}},"required":["input"],"type":"object"},"TripoRigRequest":{"properties":{"input":{"description":"A file token, a public URL, or an earlier task id.","type":"string"},"model":{"default":"v1.0-20240301","type":"string"},"out_format":{"default":"glb","type":"string"},"rig_type":{"default":"biped","type":"string"},"spec":{"default":"tripo","type":"string"}},"required":["input"],"type":"object"},"TripoSpec":{"enum":["mixamo","tripo"],"type":"string"},"TripoStandardFormat":{"enum":["glb","fbx"],"type":"string"},"TripoStylizeModelRequest":{"properties":{"block_size":{"default":80,"type":"integer"},"input":{"description":"A file token, a public URL, or an earlier task id.","type":"string"},"style":{"type":"string"}},"required":["input","style"],"type":"object"},"TripoStylizeOptions":{"enum":["lego","voxel","voronoi","minecraft"],"type":"string"},"TripoSuccessTask":{"properties":{"code":{"enum":[0],"type":"integer"},"data":{"properties":{"task_id":{"description":"used for getTask","type":"string"}},"required":["task_id"],"type":"object"}},"required":["code","data"],"type":"object"},"TripoTask":{"properties":{"consumed_credit":{"description":"Actual credits consumed by the task. Present once status is finalized; 0 for failed tasks.","type":"integer"},"create_time":{"type":"integer"},"input":{"type":"object"},"output":{"properties":{"base_model":{"type":"string"},"model":{"type":"string"},"pbr_model":{"type":"string"},"rendered_image":{"type":"string"},"riggable":{"type":"boolean"},"topology":{"enum":["bip","quad"],"type":"string"}},"type":"object"},"progress":{"maximum":100,"minimum":0,"type":"integer"},"status":{"enum":["queued","running","success","failed","cancelled","unknown","banned","expired"],"type":"string"},"task_id":{"type":"string"},"type":{"type":"string"}},"required":["task_id","type","status","input","output","progress","create_time"],"type":"object"},"TripoTaskResult":{"properties":{"completed_at":{"type":"string"},"created_at":{"type":"string"},"credits_consumed":{"description":"Actual credits consumed by the task. Present once status is finalized; 0 for failed tasks.","type":"number"},"error_code":{"type":"integer"},"error_message":{"type":"string"},"output":{"properties":{"model_url":{"type":"string"},"rendered_image_url":{"type":"string"},"rig_type":{"type":"string"},"riggable":{"type":"boolean"}},"type":"object"},"progress":{"maximum":100,"minimum":0,"type":"integer"},"status":{"description":"One of: queued, running, success, failed, cancelled.","type":"string"},"task_id":{"type":"string"},"type":{"type":"string"}},"required":["task_id","type","status","progress","created_at"],"type":"object"},"TripoTextToModel":{"description":"The type of the Tripo task, specifically for text-to-model operations.","enum":["text_to_model"],"example":"text_to_model","type":"string"},"TripoTextToModelRequest":{"properties":{"auto_size":{"default":false,"type":"boolean"},"compress":{"type":"string"},"export_orientation":{"default":"+x","type":"string"},"export_uv":{"default":true,"type":"boolean"},"face_limit":{"type":"integer"},"generate_parts":{"default":false,"type":"boolean"},"geometry_quality":{"default":"standard","type":"string"},"image_seed":{"type":"integer"},"model":{"type":"string"},"model_seed":{"type":"integer"},"negative_prompt":{"maxLength":255,"type":"string"},"pbr":{"default":true,"type":"boolean"},"prompt":{"maxLength":1024,"type":"string"},"quad":{"default":false,"type":"boolean"},"smart_low_poly":{"default":false,"type":"boolean"},"texture":{"default":true,"type":"boolean"},"texture_quality":{"default":"standard","type":"string"},"texture_seed":{"type":"integer"}},"required":["prompt","model"],"type":"object"},"TripoTextureAlignment":{"enum":["original_image","geometry"],"type":"string"},"TripoTextureFormat":{"enum":["BMP","DPX","HDR","JPEG","OPEN_EXR","PNG","TARGA","TIFF","WEBP"],"type":"string"},"TripoTextureModelRequest":{"properties":{"bake":{"default":true,"type":"boolean"},"compress":{"type":"string"},"input":{"description":"A file token, a public URL, or an earlier task id.","type":"string"},"model":{"type":"string"},"part_names":{"items":{"type":"string"},"type":"array"},"pbr":{"default":true,"type":"boolean"},"texture_alignment":{"default":"original_image","type":"string"},"texture_prompt":{"type":"object"},"texture_quality":{"default":"standard","type":"string"},"texture_seed":{"type":"integer"}},"required":["input"],"type":"object"},"TripoTextureQuality":{"enum":["standard","detailed"],"type":"string"},"TripoTopology":{"enum":["bip","quad"],"type":"string"},"TripoTypeAnimatePrerigcheck":{"enum":["animate_prerigcheck"],"type":"string"},"TripoTypeAnimateRetarget":{"enum":["animate_retarget"],"type":"string"},"TripoTypeAnimateRig":{"enum":["animate_rig"],"type":"string"},"TripoTypeConvertModel":{"enum":["convert_model"],"type":"string"},"TripoTypeRefineModel":{"enum":["refine_model"],"type":"string"},"TripoTypeStylizeModel":{"enum":["stylize_model"],"type":"string"},"TripoTypeTextureModel":{"enum":["texture_model"],"type":"string"},"TypesafeSystemOneAnswer":{"description":"One answer. `type` matches the question's and decides which sibling fields are set.","properties":{"box":{"description":"For `box`, the four edges of the smallest box around the target, each a fraction from 0 to 1 of the image measured from its top-left corner: `left` and `right` of the width, `top` and `bottom` of the height. `left` is less than `right` and `top` is less than `bottom`. A box answer is always a box, even when the target is absent; ask a `noul` alongside it to check.","properties":{"bottom":{"maximum":1,"minimum":0,"type":"number"},"left":{"maximum":1,"minimum":0,"type":"number"},"right":{"maximum":1,"minimum":0,"type":"number"},"top":{"maximum":1,"minimum":0,"type":"number"}},"required":["top","bottom","left","right"],"type":"object"},"choice":{"description":"For `choice`, the highest-probability option.","type":"string"},"confidence":{"description":"For `choice`, `score` and `box`, how certain the model is, from 0 to 1.","maximum":1,"minimum":0,"type":"number"},"legend":{"additionalProperties":{"type":"string"},"description":"For `score`, each level index mapped back to its description.","type":"object"},"noul":{"description":"For `noul`, the answer from 0 (no) to 1 (yes).","type":"number"},"probabilities":{"additionalProperties":{"type":"number"},"description":"For `choice`, every option mapped to its probability; for `score`, every level index. The probabilities sum to 1.","type":"object"},"score":{"description":"For `score`, the probability-weighted level; it can land between levels.","type":"number"},"type":{"description":"The question type this answers (`noul`, `choice`, `score` or `box`).","type":"string"}},"required":["type"],"type":"object"},"TypesafeSystemOneAsset":{"description":"One inline image. Send the file base64-encoded in `data_base64` with its `format`.","properties":{"data_base64":{"description":"The image file, standard base64 with `=` padding, no line breaks and no `data:` prefix. The decoded bytes must be a PNG or JPEG matching `format`.","type":"string"},"format":{"description":"The image format, in lowercase. `jpeg` is another name for `jpg`.","enum":["png","jpg","jpeg"],"type":"string"},"type":{"description":"The kind of asset. Optional; when sent it must be `image`.","enum":["image"],"type":"string"}},"required":["format","data_base64"],"type":"object"},"TypesafeSystemOneQuestion":{"description":"One typed question. `noul` is a yes/no question, `choice` picks one option from `criteria`, `score` rates along the ordered levels in `criteria`, and `box` (Jev 1.14 only, needs an image) finds where something is in an image.","properties":{"criteria":{"description":"For `noul`, optional `true`/`false` descriptions. For `choice`, a map of option name to description (at most 255 options). For `score`, an ordered array of 2 to 10 level descriptions. `box` takes no criteria."},"instructions":{"description":"What to decide. A string, or an object or array holding the question in one field and data it refers to in others."},"type":{"description":"The question type.","enum":["noul","choice","score","box"],"type":"string"}},"required":["type","instructions"],"type":"object"},"TypesafeSystemOneRequest":{"description":"Comfy Router input schema for TypeSafe Jev, the System One decision model (https://docs.typesafe.ai/api.md). Send a `state` to evaluate and a map of typed `questions`; each answer comes back under the same question id. Images ride inline in `assets` and are referenced by their key anywhere in `state`, `instructions` or `criteria` (https://docs.typesafe.ai/images.md). Box questions need `typesafe/jev-1.14.0`; `typesafe/jev-1.13.0` refuses them.","example":{"questions":{"department":{"criteria":{"billing":"Payments, invoicing, refunds","technical":"Bugs, outages, integrations"},"instructions":"Which team should handle this?","type":"choice"},"is_urgent":{"instructions":"Does this convey urgency?","type":"noul"}},"state":"Help! My payouts have been failing for 3 days."},"properties":{"assets":{"additionalProperties":{"$ref":"#/components/schemas/TypesafeSystemOneAsset"},"description":"The images in the request, keyed by a reference string. Every reference must appear somewhere in `state`, `instructions` or `criteria`. Each image is a still PNG or JPEG of 280 to 1568 pixels per side and at most 16 MiB after decoding; TypeSafe refuses a call over 32 MiB in total.","type":"object"},"model":{"description":"The pinned Jev version. Optional: Router fills it from the model id in the path. The `jev-latest` and `jev-preview` aliases are not accepted.","nullable":true,"type":"string"},"questions":{"additionalProperties":{"$ref":"#/components/schemas/TypesafeSystemOneQuestion"},"description":"The questions to answer, keyed by an id you choose. The answer to each is returned under the same id.","type":"object"},"state":{"description":"The content to evaluate: a string, or structured data (an object or array) up to 64 levels deep. An asset reference anywhere in it is replaced by that image."}},"required":["state","questions"],"type":"object"},"TypesafeSystemOneResponse":{"description":"Comfy Router output schema for TypeSafe Jev: the System One answer document, forwarded unchanged. The operation is DIRECT RETURN, so the answers arrive on the original call. `answers` holds one answer per question, under the question's id; `usage` is the token count the call is billed by, images included as input tokens.","example":{"answers":{"is_urgent":{"noul":0.95,"type":"noul"},"mug":{"box":{"bottom":0.82,"left":0.44,"right":0.84,"top":0.25},"confidence":0.92,"type":"box"}},"model":"jev-1.14.0","usage":{"input_tokens":290,"output_tokens":21}},"properties":{"answers":{"additionalProperties":{"$ref":"#/components/schemas/TypesafeSystemOneAnswer"},"description":"One answer per question, keyed by the question ids you sent.","type":"object"},"model":{"description":"The Jev version that answered, such as `jev-1.14.0`.","type":"string"},"usage":{"description":"Token usage for the request.","properties":{"input_tokens":{"description":"Input tokens, including every image in the request.","type":"integer"},"output_tokens":{"description":"Output tokens.","type":"integer"}},"type":"object"}},"required":["model","answers"],"type":"object"},"UpdateCouponRequest":{"properties":{"metadata":{"additionalProperties":{"type":"string"},"description":"Set of key-value pairs for storing additional information","type":"object"},"name":{"description":"Name of the coupon displayed to customers","type":"string"}},"type":"object"},"UpdatePromoCodeRequest":{"properties":{"active":{"description":"Whether the promo code is active","type":"boolean"},"metadata":{"additionalProperties":{"type":"string"},"description":"Set of key-value pairs for storing additional information","type":"object"}},"type":"object"},"UsageBalance":{"description":"Current remaining balance, mirroring /customers/balance. Every amount is CENTS of `currency`; the `*_micros` names are a misnomer kept for wire compatibility.","properties":{"amount_cents":{"description":"The total remaining balance. Cents of `currency`, the same value as `amount_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"amount_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `amount_cents`. The total remaining balance.","format":"double","type":"number"},"cloud_credit_balance_cents":{"description":"The remaining balance from cloud credits (subscription). Cents of `currency`, the same value as `cloud_credit_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"cloud_credit_balance_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `cloud_credit_balance_cents`. The remaining balance from cloud credits (subscription).","format":"double","type":"number"},"currency":{"type":"string"},"prepaid_balance_cents":{"description":"The remaining balance from prepaid commits (top-ups). Cents of `currency`, the same value as `prepaid_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"prepaid_balance_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `prepaid_balance_cents`. The remaining balance from prepaid commits (top-ups).","format":"double","type":"number"}},"type":"object"},"UsageBreakdownRow":{"properties":{"cost_micros":{"description":"Total gross spend for this group over the range, in microamount.","format":"double","type":"number"},"group_key":{"type":"string"},"share":{"description":"Fraction of total spend attributable to this group (0-1).","format":"double","type":"number"}},"required":["group_key","cost_micros","share"],"type":"object"},"UsageBucket":{"properties":{"cost_micros":{"description":"Gross spend in this period for this group, in microamount (1/1,000,000 USD).","format":"double","type":"number"},"group_key":{"description":"Group value (e.g. model name) this bucket belongs to.","type":"string"},"period_end":{"description":"End of the billing period this bucket belongs to.","format":"date-time","type":"string"},"period_start":{"description":"Start of the billing period this bucket belongs to.","format":"date-time","type":"string"}},"required":["period_start","period_end","group_key","cost_micros"],"type":"object"},"UsageSummary":{"description":"Mixed units, deliberately. `spend_micros` here (and `cost_micros` on UsageBucket / UsageBreakdownRow) is genuinely MICROS -- 1/1,000,000 of the currency unit -- because it comes from Metronome's usage figures. The `balance` breakdown below is CENTS, and its `*_micros` names are a misnomer; use its `*_cents` fields.","properties":{"balance":{"$ref":"#/components/schemas/UsageBalance"},"spend_micros":{"description":"Total gross spend over the range, in microamount (1/1,000,000 of the currency unit). Genuinely micros, unlike the balance breakdown.","format":"double","type":"number"}},"required":["spend_micros"],"type":"object"},"User":{"properties":{"email":{"description":"The email address for this user.","type":"string"},"id":{"description":"The unique id for this user.","type":"string"},"isAdmin":{"description":"Indicates if the user has admin privileges.","type":"boolean"},"isApproved":{"description":"Indicates if the user is approved.","type":"boolean"},"name":{"description":"The name for this user.","type":"string"}},"type":"object"},"VeedCleanAudioRequest":{"description":"Request body for `POST /proxy/veed/v1/clean-audio`. The job is billed from the credits VEED charges once it completes.","example":{"audio_url":"https://static-assets.veed.io/api-examples/clean-audio-input.m4a","normalize_loudness":true,"output_format":"flac","strength":0.874,"target_lufs":-19},"properties":{"audio_url":{"description":"Public http(s) URL of the recording to clean, up to 30 minutes.","type":"string"},"normalize_loudness":{"default":true,"description":"Set to false to keep the input loudness.","type":"boolean"},"output_format":{"default":"flac","description":"Output container: flac or wav.","type":"string"},"strength":{"default":0.874,"description":"How much background noise is removed under speech.","maximum":1,"minimum":0,"type":"number"},"target_lufs":{"default":-19,"description":"Output loudness in LUFS. Ignored when `normalize_loudness` is false.","maximum":-8,"minimum":-40,"nullable":true,"type":"number"}},"required":["audio_url"],"type":"object"},"VeedCleanAudioVideoRequest":{"description":"Request body for `POST /proxy/veed/v1/clean-audio-video`. The job is billed from the credits VEED charges once it completes.","example":{"normalize_loudness":true,"strength":0.874,"target_lufs":-19,"video_url":"https://static-assets.veed.io/api-examples/clean-audio-video-input.mp4"},"properties":{"normalize_loudness":{"default":true,"description":"Set to false to keep the input loudness.","type":"boolean"},"strength":{"default":0.874,"description":"How much background noise is removed under speech.","maximum":1,"minimum":0,"type":"number"},"target_lufs":{"default":-19,"description":"Output loudness in LUFS. Ignored when `normalize_loudness` is false.","maximum":-8,"minimum":-40,"nullable":true,"type":"number"},"video_url":{"description":"Public http(s) URL of the video to clean, up to 30 minutes.","type":"string"}},"required":["video_url"],"type":"object"},"VeedDubbingRequest":{"description":"Request body for `POST /proxy/veed/v1/dubbing` and `POST /proxy/veed/v1/dubbing-pro`. The tier is fixed by the route. The job is billed from the credits VEED charges once it completes.","properties":{"source_language":{"description":"Language code of the speech in the source video, for example `en`.","type":"string"},"target_language":{"description":"Language code to translate the speech into, for example `es`.","type":"string"},"video_url":{"description":"Public http(s) URL of the source video to dub. Refused with 400 when the video is longer than the deployment's per-call input ceiling (`COMFY_VEED_DUBBING_MAX_INPUT_SECONDS` / `COMFY_VEED_DUBBING_PRO_MAX_INPUT_SECONDS`; unset means no ceiling).","type":"string"}},"required":["video_url","target_language"],"type":"object"},"VeedFabricRequest":{"description":"Request body for `POST /proxy/veed/v1/fabric-1.0`. The job is billed from the credits VEED charges once it completes.","example":{"audio_url":"https://static-assets.veed.io/api-examples/fabric-input.mp3","image_url":"https://static-assets.veed.io/api-examples/fabric-input.png","resolution":"480p"},"properties":{"audio_url":{"description":"Public http(s) URL of the speech track to lip-sync to. The video is as long as the audio. Refused with 400 when the audio is longer than the per-call input ceiling.","type":"string"},"image_url":{"description":"Public http(s) URL of the image to animate.","type":"string"},"resolution":{"description":"Output resolution: 480p or 720p.","type":"string"}},"required":["image_url","audio_url","resolution"],"type":"object"},"VeedFile":{"properties":{"content_type":{"description":"MIME type of the file.","type":"string"},"file_name":{"description":"Name of the file.","type":"string"},"file_size":{"description":"Size of the file in bytes.","format":"int64","type":"integer"},"url":{"description":"URL the file can be downloaded from.","type":"string"}},"type":"object"},"VeedGreenScreenRequest":{"description":"Request body for `POST /proxy/veed/v1/video-background-removal-green-screen`. The job is billed from the credits VEED charges once it completes.","example":{"output_codec":"vp9","spill_suppression_strength":0.8,"video_url":"https://static-assets.veed.io/api-examples/green-screen-input.mp4"},"properties":{"output_codec":{"default":"vp9","description":"Output encoding: vp9 (one WebM with alpha) or h264 (the RGB video and an alpha matte).","type":"string"},"spill_suppression_strength":{"default":0.8,"description":"How strongly the green cast is removed from the subject.","maximum":1,"minimum":0,"type":"number"},"video_url":{"description":"Public http(s) URL of the source video, shot against a green screen.","type":"string"}},"required":["video_url"],"type":"object"},"VeedJob":{"properties":{"credits_charged":{"description":"Credits VEED charged for the job. Present once the job is COMPLETED.","type":"integer"},"credits_estimated":{"description":"Credits VEED quoted before the job ran. Present only on the submit response.","type":"integer"},"error":{"$ref":"#/components/schemas/VeedJobError"},"job_id":{"description":"Job id used to poll for status.","type":"string"},"result":{"$ref":"#/components/schemas/VeedJobResult"},"status":{"description":"Job status: PROCESSING, COMPLETED, FAILED or CANCELLED.","type":"string"}},"type":"object"},"VeedJobError":{"description":"Failure information. Present once the job has FAILED.","properties":{"code":{"description":"Machine-readable failure code.","type":"string"},"details":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"message":{"description":"Human-readable failure message.","type":"string"}},"type":"object"},"VeedJobResponse":{"description":"A VEED job, wrapped in VEED's `data` envelope.","properties":{"data":{"$ref":"#/components/schemas/VeedJob"}},"type":"object"},"VeedJobResult":{"description":"The produced media. Present once the job is COMPLETED. Video routes answer `video`, Clean Audio answers `audio` and Video Background Removal answers `files`.","properties":{"audio":{"$ref":"#/components/schemas/VeedFile"},"files":{"description":"Video Background Removal output. One WebM with alpha for `vp9`, or the RGB video and an alpha matte for `h264`.","items":{"$ref":"#/components/schemas/VeedFile"},"type":"array"},"video":{"$ref":"#/components/schemas/VeedFile"}},"type":"object"},"VeedLipsyncRequest":{"description":"Request body for `POST /proxy/veed/v1/lipsync-2.0`. The job is billed from the credits VEED charges once it completes.","example":{"audio_url":"https://static-assets.veed.io/api-examples/lipsyncv2-input.mp3","video_url":"https://static-assets.veed.io/api-examples/lipsyncv2-input.mp4"},"properties":{"audio_url":{"description":"Public http(s) URL of the new audio track to lip-sync the video to. Refused with 400 when the audio is longer than the per-call input ceiling.","type":"string"},"video_url":{"description":"Public http(s) URL of the source video, with one speaker.","type":"string"}},"required":["video_url","audio_url"],"type":"object"},"VeedVideoBackgroundRemovalRequest":{"description":"Request body for `POST /proxy/veed/v1/video-background-removal` and `POST /proxy/veed/v1/video-background-removal-fast`. The job is billed from the credits VEED charges once it completes.","example":{"output_codec":"vp9","refine_foreground_edges":true,"subject_is_person":true,"video_url":"https://static-assets.veed.io/api-examples/bg-v2v-input.mp4"},"properties":{"output_codec":{"default":"vp9","description":"Output encoding: vp9 (one WebM with alpha) or h264 (the RGB video and an alpha matte).","type":"string"},"refine_foreground_edges":{"default":true,"description":"Improves the quality of the subject's edges.","type":"boolean"},"subject_is_person":{"default":true,"description":"Set to false when the subject is not a person.","type":"boolean"},"video_url":{"description":"Public http(s) URL of the source video.","type":"string"}},"required":["video_url"],"type":"object"},"Veo2GenVidPollRequest":{"properties":{"operationName":{"description":"Full operation name (from predict response)","example":"projects/PROJECT_ID/locations/us-central1/publishers/google/models/MODEL_ID/operations/OPERATION_ID","type":"string"}},"required":["operationName"],"type":"object"},"Veo2GenVidPollResponse":{"properties":{"done":{"type":"boolean"},"error":{"description":"Error details if operation failed","properties":{"code":{"description":"Error code","type":"integer"},"message":{"description":"Error message","type":"string"}},"type":"object"},"name":{"type":"string"},"response":{"description":"The actual prediction response if done is true","properties":{"@type":{"example":"type.googleapis.com/cloud.ai.large_models.vision.GenerateVideoResponse","type":"string"},"raiMediaFilteredCount":{"description":"Count of media filtered by responsible AI policies","type":"integer"},"raiMediaFilteredReasons":{"description":"Reasons why media was filtered by responsible AI policies","items":{"type":"string"},"type":"array"},"videos":{"items":{"properties":{"bytesBase64Encoded":{"description":"Base64-encoded video content","type":"string"},"gcsUri":{"description":"Cloud Storage URI of the video","type":"string"},"mimeType":{"description":"Video MIME type","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}},"type":"object"},"Veo2GenVidRequest":{"description":"Request body for the deprecated `POST /proxy/veo/generate` operation, which runs veo-2.0-generate-001. The Veo 2 tier is 720p only, duration 5-8 whole seconds, and silent: it supports neither audio generation nor lastFrame nor referenceImages.","example":{"instances":[{"prompt":"a single red maple leaf falling onto still water, slow motion"}],"parameters":{"durationSeconds":6,"sampleCount":1}},"properties":{"instances":{"items":{"properties":{"image":{"description":"Optional image to guide video generation","oneOf":[{"required":["bytesBase64Encoded"]},{"required":["gcsUri"]}],"properties":{"bytesBase64Encoded":{"format":"byte","type":"string"},"gcsUri":{"description":"Cloud Storage URI of the image. On a non-BYOK request a `gs://` URI (or its `https://storage.googleapis.com` form) naming a Comfy-owned bucket is refused with 400 unless the object is under your own `POST /customers/storage` prefix or is a video a previous Veo generate wrote for you.","type":"string"},"mimeType":{"type":"string"}},"type":"object"},"prompt":{"description":"Text description of the video","type":"string"}},"required":["prompt"],"type":"object"},"type":"array"},"parameters":{"properties":{"aspectRatio":{"example":"16:9","type":"string"},"durationSeconds":{"type":"integer"},"enhancePrompt":{"type":"boolean"},"negativePrompt":{"type":"string"},"personGeneration":{"description":"Controls people in generated videos. `dont_allow`, `allow_adult` and `allowAll` are Vertex AI's own spellings and are the ones VeoGenVidRequest publishes for the same field. `ALLOW` and `BLOCK` are kept for compatibility with clients generated from this component before it was Router-authored -- see the note at the top of Veo2GenVidRequest.","enum":["ALLOW","BLOCK","dont_allow","allow_adult","allowAll"],"type":"string"},"pubsubTopic":{"description":"Cloud Pub/Sub topic for progress updates (projects/{project}/topics/{topic}). Not accepted on Comfy-credentialed (non-BYOK) requests: the generate route answers 400 if it is present, because the operation runs in Comfy's project and Vertex would publish as Comfy's service agent. Accepted only on bring-your-own-key requests, where Vertex evaluates the topic grant in your own project.","type":"string"},"sampleCount":{"type":"integer"},"seed":{"format":"uint32","type":"integer"},"storageUri":{"description":"Optional Cloud Storage destination for the generated video, as a `gs://` URI.\nIT MUST NAME A BUCKET OF YOUR OWN. Outside bring-your-own-key, this route runs under Comfy's own Google Cloud credentials rather than yours, so a destination inside a Comfy-owned bucket would be a write performed by Comfy's service account, into a shared layout, billed to Comfy's project. A request naming one is refused with a 400 and nothing is generated — with one exception on a synchronous Comfy Router call (`POST /v2/models/{provider}/{model}`) where platform storage is enabled: a value naming Router's own Veo or Gemini asset bucket is replaced with a destination Router mints under your own platform prefix for that call (see the Router Veo route), and only that exact Router-minted destination is let through. A queued Router submit (`POST /v2/models/{provider}/{model}/requests`) makes no such replacement, so it refuses that value with a 400 like any other Comfy-owned bucket. Any other destination is forwarded to Vertex unchanged and is yours to grant access to. A bring-your-own-key call runs in your own project and is forwarded as sent.","type":"string"}},"type":"object"}},"type":"object"},"Veo2GenVidResponse":{"properties":{"name":{"description":"Operation resource name","example":"projects/PROJECT_ID/locations/us-central1/publishers/google/models/MODEL_ID/operations/a1b07c8e-7b5a-4aba-bb34-3e1ccb8afcc8","type":"string"}},"required":["name"],"type":"object"},"VeoGenVidPollRequest":{"properties":{"operationName":{"description":"Full operation name returned from the generate response","example":"projects/PROJECT_ID/locations/us-central1/publishers/google/models/MODEL_ID/operations/OPERATION_ID","type":"string"}},"required":["operationName"],"type":"object"},"VeoGenVidPollResponse":{"description":"Response from polling a Veo video generation operation","properties":{"done":{"description":"Whether the operation has completed","type":"boolean"},"error":{"description":"Error details, present if the operation failed","properties":{"code":{"description":"gRPC error code","type":"integer"},"message":{"description":"Error message","type":"string"}},"type":"object"},"name":{"description":"Operation resource name","type":"string"},"response":{"description":"The prediction response, present when done is true","properties":{"@type":{"example":"type.googleapis.com/cloud.ai.large_models.vision.GenerateVideoResponse","type":"string"},"raiMediaFilteredCount":{"description":"Number of videos filtered by responsible AI policies","type":"integer"},"raiMediaFilteredReasons":{"description":"Reasons why videos were filtered by responsible AI policies","items":{"type":"string"},"type":"array"},"videos":{"items":{"properties":{"bytesBase64Encoded":{"description":"Base64-encoded video content","type":"string"},"gcsUri":{"description":"Cloud Storage URI of the generated video","type":"string"},"mimeType":{"description":"Video MIME type (video/mp4)","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}},"type":"object"},"VeoGenVidRequest":{"example":{"instances":[{"prompt":"a single red maple leaf falling onto still water, slow motion"}],"parameters":{"durationSeconds":4,"generateAudio":false,"sampleCount":1}},"properties":{"instances":{"items":{"properties":{"cameraControl":{"description":"Camera motion type. Requires image to be provided.","enum":["fixed","pan_left","pan_right","tilt_up","tilt_down","truck_left","truck_right","pedestal_up","pedestal_down","push_in","pull_out"],"type":"string"},"image":{"description":"Optional first frame image to guide video generation","oneOf":[{"required":["bytesBase64Encoded"]},{"required":["gcsUri"]}],"properties":{"bytesBase64Encoded":{"description":"Base64-encoded image data","format":"byte","type":"string"},"gcsUri":{"description":"Cloud Storage URI of the image. On a non-BYOK request a `gs://` URI (or its `https://storage.googleapis.com` form) naming a Comfy-owned bucket is refused with 400 unless the object is under your own `POST /customers/storage` prefix or is a video a previous Veo generate wrote for you.","type":"string"},"mimeType":{"description":"MIME type of the image (image/jpeg or image/png)","enum":["image/jpeg","image/png"],"type":"string"}},"type":"object"},"lastFrame":{"description":"Optional last frame image. Used with image to generate video between first and last frames. Supported by Veo 3.0+ models.","oneOf":[{"required":["bytesBase64Encoded"]},{"required":["gcsUri"]}],"properties":{"bytesBase64Encoded":{"description":"Base64-encoded image data","format":"byte","type":"string"},"gcsUri":{"description":"Cloud Storage URI of the image. On a non-BYOK request a `gs://` URI (or its `https://storage.googleapis.com` form) naming a Comfy-owned bucket is refused with 400 unless the object is under your own `POST /customers/storage` prefix or is a video a previous Veo generate wrote for you.","type":"string"},"mimeType":{"description":"MIME type of the image (image/jpeg or image/png)","enum":["image/jpeg","image/png"],"type":"string"}},"type":"object"},"mask":{"description":"Optional mask for video editing. Applies to input video.","oneOf":[{"required":["bytesBase64Encoded"]},{"required":["gcsUri"]}],"properties":{"bytesBase64Encoded":{"description":"Base64-encoded mask bytes","format":"byte","type":"string"},"gcsUri":{"description":"Cloud Storage URI to mask file. On a non-BYOK request a `gs://` URI (or its `https://storage.googleapis.com` form) naming a Comfy-owned bucket is refused with 400 unless the object is under your own `POST /customers/storage` prefix or is a video a previous Veo generate wrote for you.","type":"string"},"maskMode":{"description":"How the mask is applied","enum":["insert","remove","remove_static","outpaint"],"type":"string"},"mimeType":{"description":"MIME type of the mask (image/png, image/jpeg, image/webp, or video formats)","type":"string"}},"type":"object"},"prompt":{"description":"Text description of the video to generate","type":"string"},"referenceImages":{"description":"Optional reference images to guide video generation. Supports up to 3 asset images or 1 style image. Supported by Veo 3.1 models (preview).","items":{"properties":{"image":{"oneOf":[{"required":["bytesBase64Encoded"]},{"required":["gcsUri"]}],"properties":{"bytesBase64Encoded":{"description":"Base64-encoded image data","format":"byte","type":"string"},"gcsUri":{"description":"Cloud Storage URI of the image. On a non-BYOK request a `gs://` URI (or its `https://storage.googleapis.com` form) naming a Comfy-owned bucket is refused with 400 unless the object is under your own `POST /customers/storage` prefix or is a video a previous Veo generate wrote for you.","type":"string"},"mimeType":{"description":"MIME type of the image (image/jpeg or image/png)","enum":["image/jpeg","image/png"],"type":"string"}},"type":"object"},"referenceId":{"description":"Optional identifier for the reference image","type":"string"},"referenceType":{"description":"Type of reference image","enum":["asset","style"],"type":"string"}},"required":["image","referenceType"],"type":"object"},"type":"array"},"video":{"description":"Optional input video for video extension or editing. Incompatible with image and referenceImages.","oneOf":[{"required":["bytesBase64Encoded"]},{"required":["gcsUri"]}],"properties":{"bytesBase64Encoded":{"description":"Base64-encoded video bytes","format":"byte","type":"string"},"gcsUri":{"description":"Cloud Storage URI of the input video. On a non-BYOK request a `gs://` URI (or its `https://storage.googleapis.com` form) naming a Comfy-owned bucket is refused with 400 unless the object is under your own `POST /customers/storage` prefix or is a video a previous Veo generate wrote for you.","type":"string"},"mimeType":{"description":"MIME type of the video","enum":["video/mov","video/mpeg","video/mp4","video/mpg","video/avi","video/wmv","video/mpegps","video/x-flv"],"type":"string"}},"type":"object"}},"required":["prompt"],"type":"object"},"type":"array"},"parameters":{"properties":{"aspectRatio":{"description":"Aspect ratio of the generated video. Default: 16:9","enum":["16:9","9:16"],"example":"16:9","type":"string"},"compressionQuality":{"description":"Video compression quality. Default: optimized","enum":["optimized","lossless"],"type":"string"},"durationSeconds":{"description":"Target duration of the generated video in seconds. Veo 2: 5-8. Veo 3/3.1: 4, 6, or 8. Default: 8","type":"number"},"enhancePrompt":{"description":"Automatically improve prompt for higher quality. Defaults to true.","type":"boolean"},"fps":{"description":"Frame rate of generated videos in frames per second","type":"integer"},"generateAudio":{"description":"Whether to generate audio along with the video. Defaults to true. Supported by Veo 3.0+ models.","type":"boolean"},"negativePrompt":{"description":"Text describing what to avoid in the generated video","type":"string"},"personGeneration":{"description":"Controls people in generated videos. Default: allow_adult.\n`ALLOW` and `BLOCK` are also accepted, for the same compatibility reason Veo2GenVidRequest's personGeneration enum carries them (see the note at that component): ComfyUI's Veo 3 partner node (comfy_api_nodes/nodes_veo2.py) always sends one of these two spellings, never Vertex's own, to `/proxy/veo/{model}/generate` for veo-3.1-generate-001, veo-3.1-fast-generate-001 and veo-3.1-lite-generate-001 -- the three ids this component is the Router input schema for. On a Router dispatch (`model_provider=veo`) for one of those ids, synchronous or queued (`/v2/models/veo/{model}/requests`), `ALLOW` is mapped to `allow_adult` and `BLOCK` to `dont_allow` before the request reaches Vertex (routerVeoMapPersonGeneration, server/middleware/router_veo_person_generation.go), because Vertex itself accepts neither spelling. A direct v1 `/proxy/veo/:modelId/generate` caller is unaffected either way: comfy-api installs no request validator on `/proxy/*`, so this enum was already unenforced documentation there, and the Router-only mapping does not run for it.","enum":["dont_allow","allow_adult","allowAll","ALLOW","BLOCK"],"type":"string"},"pubsubTopic":{"description":"Cloud Pub/Sub topic for progress updates (projects/{project}/topics/{topic}). Not accepted on Comfy-credentialed (non-BYOK) requests: the generate route answers 400 if it is present, because the operation runs in Comfy's project and Vertex would publish as Comfy's service agent. Accepted only on bring-your-own-key requests, where Vertex evaluates the topic grant in your own project.","type":"string"},"resizeMode":{"description":"Resize approach for input image. Default: pad","enum":["pad","crop"],"type":"string"},"resolution":{"description":"Output video resolution. Supported by Veo 3.0+ models. Default: 720p","enum":["720p","1080p","4k"],"type":"string"},"sampleCount":{"description":"Number of videos to generate. If not specified, 1 video is generated.","maximum":4,"minimum":1,"type":"integer"},"seed":{"description":"Random seed for deterministic output. Different seeds used per video if sampleCount \u003e 1.","format":"uint32","type":"integer"},"storageUri":{"description":"Optional Cloud Storage destination for the generated videos, as a `gs://` URI.\nIT MUST NAME A BUCKET OF YOUR OWN. Outside bring-your-own-key, this route runs under Comfy's own Google Cloud credentials rather than yours, so a destination inside a Comfy-owned bucket would be a write performed by Comfy's service account, into a shared layout, billed to Comfy's project. A request naming one is refused with a 400 and nothing is generated — with one exception on a synchronous Comfy Router call (`POST /v2/models/{provider}/{model}`) where platform storage is enabled: a value naming Router's own Veo or Gemini asset bucket is replaced with a destination Router mints under your own platform prefix for that call (see the Router Veo route), and only that exact Router-minted destination is let through. A queued Router submit (`POST /v2/models/{provider}/{model}/requests`) makes no such replacement, so it refuses that value with a 400 like any other Comfy-owned bucket. Any other destination is forwarded to Vertex unchanged and is yours to grant access to. A bring-your-own-key call runs in your own project and is forwarded as sent.","type":"string"},"task":{"description":"Operation type for the video generation request","enum":["textToVideo","imageToVideo","referenceToVideo","edit","extend","upscale"],"type":"string"}},"type":"object"}},"type":"object"},"VeoGenVidResponse":{"description":"Response from a Veo video generation request. Contains the operation name for polling.","properties":{"name":{"description":"Operation resource name used to poll for results via fetchPredictOperation","example":"projects/PROJECT_ID/locations/us-central1/publishers/google/models/MODEL_ID/operations/a1b07c8e-7b5a-4aba-bb34-3e1ccb8afcc8","type":"string"}},"required":["name"],"type":"object"},"ViduCreation":{"properties":{"cover_url":{"type":"string"},"id":{"type":"string"},"moderation_url":{"items":{"type":"string"},"type":"array"},"url":{"type":"string"},"watermarked_url":{"type":"string"}},"type":"object"},"ViduExtendReply":{"properties":{"created_at":{"format":"date-time","type":"string"},"credits":{"format":"int32","type":"integer"},"duration":{"format":"int32","type":"integer"},"images":{"items":{"type":"string"},"type":"array"},"model":{"type":"string"},"payload":{"type":"string"},"prompt":{"type":"string"},"resolution":{"type":"string"},"state":{"$ref":"#/components/schemas/ViduState"},"task_id":{"type":"string"},"video_creation_id":{"type":"string"},"video_url":{"type":"string"}},"required":["task_id","state","credits"],"type":"object"},"ViduExtendRequest":{"properties":{"callback_url":{"description":"Callback URL for task status updates","type":"string"},"duration":{"description":"Extended duration in seconds (1-7, default 5)","format":"int32","type":"integer"},"images":{"description":"Extended reference image to the end frame (only accepts 1 image)","items":{"type":"string"},"type":"array"},"model":{"description":"Model name (viduq2-pro or viduq2-turbo)","type":"string"},"payload":{"description":"Transparent transmission parameters (max 1048576 characters)","type":"string"},"prompt":{"description":"Text prompt for video generation (max 2000 characters)","type":"string"},"resolution":{"description":"Resolution (540p, 720p, 1080p)","type":"string"},"video_creation_id":{"description":"Vidu video_creation_id, required with video_url","type":"string"},"video_url":{"description":"Any video URL, required with video_creation_id","type":"string"}},"required":["model"],"type":"object"},"ViduGetCreationsReply":{"properties":{"creations":{"items":{"$ref":"#/components/schemas/ViduCreation"},"type":"array"},"err_code":{"type":"string"},"id":{"type":"string"},"state":{"$ref":"#/components/schemas/ViduState"}},"type":"object"},"ViduImageSetting":{"properties":{"duration":{"description":"Duration between key frames in seconds (2-7, default 5)","format":"int32","type":"integer"},"key_image":{"description":"Reference image for each key frame","type":"string"},"prompt":{"description":"Prompt for extending the previous frame","type":"string"}},"required":["key_image"],"type":"object"},"ViduMultiframeReply":{"properties":{"created_at":{"format":"date-time","type":"string"},"credits":{"format":"int32","type":"integer"},"image_settings":{"items":{"$ref":"#/components/schemas/ViduImageSetting"},"type":"array"},"model":{"type":"string"},"payload":{"type":"string"},"resolution":{"type":"string"},"start_image":{"type":"string"},"state":{"$ref":"#/components/schemas/ViduState"},"task_id":{"type":"string"}},"required":["task_id","state","credits"],"type":"object"},"ViduMultiframeRequest":{"properties":{"callback_url":{"description":"Callback URL for task status updates","type":"string"},"image_settings":{"description":"Configuration for intelligent multi-frame generation (2-9 frames)","items":{"$ref":"#/components/schemas/ViduImageSetting"},"type":"array"},"model":{"description":"Model name (viduq2-pro or viduq2-turbo)","type":"string"},"payload":{"description":"Transparent transmission parameters (max 1048576 characters)","type":"string"},"resolution":{"description":"Video resolution (540p, 720p, 1080p)","type":"string"},"start_image":{"description":"The first frame image (Base64 or URL)","type":"string"}},"required":["model","start_image","image_settings"],"type":"object"},"ViduState":{"enum":["created","processing","queueing","success","failed"],"type":"string"},"ViduTaskReply":{"properties":{"aspect_ratio":{"type":"string"},"bgm":{"description":"Whether background music was added","type":"boolean"},"created_at":{"format":"date-time","type":"string"},"credits":{"format":"int32","type":"integer"},"duration":{"format":"int32","type":"integer"},"images":{"items":{"type":"string"},"type":"array"},"model":{"type":"string"},"movement_amplitude":{"enum":["auto","small","medium","large"],"type":"string"},"off_peak":{"description":"Off peak mode status","type":"boolean"},"payload":{"description":"Transparent transmission parameters","type":"string"},"prompt":{"type":"string"},"resolution":{"type":"string"},"seed":{"format":"int32","type":"integer"},"state":{"$ref":"#/components/schemas/ViduState"},"style":{"enum":["general","anime"],"type":"string"},"task_id":{"type":"string"},"watermark":{"description":"Whether watermark was added","type":"boolean"}},"required":["task_id","state","credits"],"type":"object"},"ViduTaskRequest":{"properties":{"aspect_ratio":{"type":"string"},"audio":{"description":"Enable direct audio-video generation capability (default true for q3 model)","type":"boolean"},"audio_type":{"description":"Audio type when audio is true: all (sound effects + vocals), speech_only, sound_effect_only. Ineffective for q3 model","enum":["all","speech_only","sound_effect_only"],"type":"string"},"bgm":{"description":"Add background music to generated video (ineffective for q3 model)","type":"boolean"},"callback_url":{"description":"Callback URL for task status updates","type":"string"},"duration":{"description":"Video duration in seconds. viduq3-pro: 1-16, viduq2-pro-fast: 1-10, viduq2-pro/turbo: 1-8","format":"int32","type":"integer"},"enhance":{"type":"boolean"},"images":{"description":"Images for img2video (accepts 1 image as start frame)","items":{"type":"string"},"type":"array"},"is_rec":{"description":"Use recommended prompt (consumes additional 10 credits)","type":"boolean"},"meta_data":{"description":"Metadata identification, JSON format string for custom metadata","type":"string"},"model":{"description":"Model name: viduq3-pro, viduq2-pro-fast, viduq2-pro, viduq2-turbo, viduq1, viduq1-classic, vidu2.0","type":"string"},"movement_amplitude":{"description":"Movement amplitude of objects in frame (ineffective for q2, q3 models)","enum":["auto","small","medium","large"],"type":"string"},"off_peak":{"description":"Off peak mode (lower cost, tasks generated within 48 hours)","type":"boolean"},"payload":{"description":"Transparent transmission parameters (max 1048576 characters)","type":"string"},"priority":{"format":"int32","type":"integer"},"prompt":{"description":"Text prompt for video generation (max 2000 characters)","type":"string"},"resolution":{"description":"Resolution: 360p, 540p, 720p, 1080p, 2K (availability depends on model and duration)","type":"string"},"seed":{"description":"Random seed (defaults to random if not specified)","format":"int32","type":"integer"},"style":{"enum":["general","anime"],"type":"string"},"voice_id":{"description":"Voice ID for audio (ineffective for q3 model)","type":"string"},"watermark":{"description":"Add watermark to video (default false)","type":"boolean"},"wm_position":{"description":"Watermark position: 1 (top left), 2 (top right), 3 (bottom right, default), 4 (bottom left)","format":"int32","type":"integer"},"wm_url":{"description":"Watermark image URL (uses default watermark if not provided)","type":"string"}},"type":"object"},"ViggleAsset":{"description":"A Viggle Character or Motion.","properties":{"capabilities":{"description":"`video_render` once the asset can drive a Video Remix.","items":{"type":"string"},"type":"array"},"completed_at":{"nullable":true,"type":"string"},"created_at":{"nullable":true,"type":"string"},"credits_used":{"description":"Viggle credits the job is charged, set once it is ready.","format":"double","nullable":true,"type":"number"},"duration_seconds":{"description":"Length in seconds the charge is based on, set once the job is ready.","format":"double","nullable":true,"type":"number"},"error":{"$ref":"#/components/schemas/ViggleError"},"glb":{"$ref":"#/components/schemas/ViggleAssetGlb"},"id":{"description":"Character id (`char_` prefix) or Motion id (`mot_` prefix).","type":"string"},"name":{"type":"string"},"progress":{"description":"Progress from 0 to 100, when known.","nullable":true,"type":"integer"},"status":{"description":"Status: queued, processing, ready or failed.","type":"string"},"type":{"description":"Requested outputs: render, vsplat, glb or all.","type":"string"}},"type":"object"},"ViggleAssetGlb":{"description":"Status of a Motion's 3D animation. Null for a `render` Motion.","nullable":true,"properties":{"error":{"$ref":"#/components/schemas/ViggleError"},"skeletons":{"description":"Rigs ready to export, empty until ready.","items":{"type":"string"},"type":"array"},"status":{"description":"Status: queued, processing, ready or failed.","type":"string"}},"type":"object"},"ViggleCreateMotionFromTextRequest":{"description":"JSON body of a Viggle Motion generated from text, as a 3D animation.","example":{"duration_seconds":5,"text":"a person waves with the right hand"},"properties":{"duration_seconds":{"description":"Animation length in seconds, 3 to 60. Defaults to 5.","type":"number"},"guidance_scale":{"description":"How strongly the animation follows the text, 0 to 30. Defaults to 5.","type":"number"},"name":{"description":"Optional display label.","type":"string"},"smooth":{"description":"Smooths the generated animation. Defaults to true.","type":"boolean"},"text":{"description":"The movement to generate, 1 to 400 characters.","type":"string"}},"required":["text"],"type":"object"},"ViggleCreateMotionRequest":{"description":"Multipart body of a Viggle 3D animation captured from a video.","properties":{"apply_std_joints":{"description":"Applies standard-joint normalization.","type":"boolean"},"enable_smoothing":{"description":"Smooths the extracted joint motion.","type":"boolean"},"motion_video_url":{"description":"Public http(s) URL of the driving video, up to 100 MiB.","type":"string"},"name":{"description":"Optional display label.","type":"string"},"smooth_velocity_threshold":{"description":"Velocity threshold of the smoothing. Only with `enable_smoothing`.","type":"number"},"target_fps":{"description":"Frame rate of the 3D animation.","type":"number"},"type":{"description":"Outputs to create. Only `glb` is accepted.","type":"string"}},"required":["motion_video_url","type"],"type":"object"},"ViggleCreateRenderRequest":{"description":"Multipart body of a Video Remix.","properties":{"background_mode":{"description":"original (the default), solid or transparent. `transparent` adds an alpha matte video, `alpha_url`.","type":"string"},"bg_color":{"description":"Solid background colour as `R,G,B`. Only with `background_mode=solid`.","type":"string"},"image_url":{"description":"Public http(s) URL of the character image.","type":"string"},"model":{"description":"Optional render model: V3 or V4.","type":"string"},"motion_video_url":{"description":"Public http(s) URL of the driving video, up to 100 MiB.","type":"string"}},"required":["image_url","motion_video_url"],"type":"object"},"ViggleError":{"description":"Viggle's error object, set when the job failed.","nullable":true,"properties":{"code":{"type":"string"},"message":{"type":"string"},"request_id":{"nullable":true,"type":"string"},"retryable":{"type":"boolean"}},"type":"object"},"ViggleMotionExport":{"description":"Download URLs of a Motion's 3D animation. Each URL lasts one hour.","properties":{"created_at":{"nullable":true,"type":"string"},"download_type":{"description":"File format of the URLs: glb or fbx.","nullable":true,"type":"string"},"error":{"$ref":"#/components/schemas/ViggleError"},"id":{"type":"string"},"metahuman_body_url":{"description":"The 86-joint MetaHuman body rig, once ready.","nullable":true,"type":"string"},"metahuman_url":{"description":"The 441-joint MetaHuman rig, once ready.","nullable":true,"type":"string"},"mixamo_url":{"description":"The Mixamo rig, once ready.","nullable":true,"type":"string"},"status":{"description":"Status: queued, processing, ready or failed.","type":"string"},"updated_at":{"nullable":true,"type":"string"}},"type":"object"},"ViggleMotionFiles":{"description":"A Viggle 3D animation and, once ready, its files.","properties":{"credits_used":{"description":"Viggle credits the job is charged, set once it is ready.","format":"double","nullable":true,"type":"number"},"duration_seconds":{"format":"double","nullable":true,"type":"number"},"error":{"$ref":"#/components/schemas/ViggleError"},"fbx":{"$ref":"#/components/schemas/ViggleMotionRigFiles"},"glb":{"$ref":"#/components/schemas/ViggleMotionRigFiles"},"id":{"type":"string"},"status":{"description":"Status: queued, processing, ready or failed.","type":"string"}},"type":"object"},"ViggleMotionRigFiles":{"description":"Download URLs of one file format, one per rig.","nullable":true,"properties":{"metahuman_body_url":{"nullable":true,"type":"string"},"metahuman_url":{"nullable":true,"type":"string"},"mixamo_url":{"nullable":true,"type":"string"}},"type":"object"},"ViggleSceneFile":{"nullable":true,"properties":{"url":{"description":"Download URL, valid for 3 hours.","type":"string"}},"type":"object"},"ViggleSceneGenerateRequest":{"description":"JSON body of new views of a JST-2 scene.","example":{"projection":"perspective","referenceBatchIds":["3f0a6c1e-8d2b-4b7a-9e5c-1a2b3c4d5e6f"],"sessionId":"replace-with-a-new-random-id","targetPosition":{"pitch":0,"position":[0.3,0,0],"yaw":30}},"properties":{"fov":{"description":"Field of view in degrees, 20 to 140.","nullable":true,"type":"number"},"projection":{"description":"perspective (the default, 1 view) or pano (a 360° panorama, 6 views).","type":"string"},"referenceBatchIds":{"description":"1 to 35 batch ids of the session, from `result.outputBatch.batchId`.","items":{"type":"string"},"type":"array"},"seed":{"description":"Generation seed.","format":"int64","type":"integer"},"sessionId":{"description":"The session of the scene.","type":"string"},"targetPosition":{"$ref":"#/components/schemas/ViggleSceneTargetPosition"}},"required":["sessionId","referenceBatchIds","targetPosition"],"type":"object"},"ViggleSceneOutputBatch":{"description":"The image batch the task added to the session.","nullable":true,"properties":{"batchId":{"type":"string"},"createdAt":{"type":"number"},"kind":{"type":"string"},"manifest":{"$ref":"#/components/schemas/ViggleSceneFile"},"views":{"items":{"$ref":"#/components/schemas/ViggleSceneView"},"type":"array"}},"type":"object"},"ViggleScenePanoRequest":{"description":"JSON body of a JST-2 scene. Send `prompt` (with optional `referenceImages` and `quality`) or `panoramaUri`, not both.","example":{"prompt":"a sunlit atrium with tall plants and a stone floor","quality":"low","sessionId":"replace-with-a-new-random-id"},"properties":{"panoramaUri":{"description":"http(s) URL of a 360° panorama to build the scene from.","type":"string"},"prompt":{"description":"Scene description, up to 1,000 characters.","type":"string"},"quality":{"description":"Panorama quality: low (the default), medium or high. Only with `prompt`.","type":"string"},"referenceImages":{"description":"Up to 8 http(s) image URLs that guide the panorama. Only with `prompt`.","items":{"type":"string"},"type":"array"},"sessionId":{"description":"Session that holds the scene: 1 to 128 letters, digits, `_` or `-`. Use a new random value for each scene.","type":"string"}},"required":["sessionId"],"type":"object"},"ViggleSceneResult":{"description":"The scene output, set only when the task is ready.","nullable":true,"properties":{"newViewCount":{"type":"integer"},"operation":{"type":"string"},"outputBatch":{"$ref":"#/components/schemas/ViggleSceneOutputBatch"},"panorama":{"$ref":"#/components/schemas/ViggleSceneFile"},"preview":{"$ref":"#/components/schemas/ViggleSceneFile"},"referenceViewCount":{"type":"integer"},"sessionId":{"type":"string"},"spz":{"$ref":"#/components/schemas/ViggleSceneFile"}},"type":"object"},"ViggleSceneTargetPosition":{"description":"The camera as a position and two angles.","properties":{"pitch":{"description":"Degrees up or down, -90 to 90; positive looks up.","nullable":true,"type":"number"},"position":{"description":"Camera position `[x, y, z]`.","items":{"type":"number"},"type":"array"},"yaw":{"description":"Degrees about world +Y; positive turns left.","nullable":true,"type":"number"}},"required":["position"],"type":"object"},"ViggleSceneTask":{"description":"A JST-2 scene task.","properties":{"completedAt":{"format":"int64","nullable":true,"type":"integer"},"createdAt":{"format":"int64","nullable":true,"type":"integer"},"credits":{"description":"Viggle credits the task is charged; 0 once a task that did not finish ready is refunded.","type":"number"},"error":{"$ref":"#/components/schemas/ViggleError"},"id":{"description":"Scene task id (`scn_` prefix).","type":"string"},"operation":{"description":"Task kind: pano, generate or reconstruct.","type":"string"},"queuePosition":{"description":"Tasks ahead of this one while it is queued.","type":"integer"},"result":{"$ref":"#/components/schemas/ViggleSceneResult"},"sessionId":{"type":"string"},"status":{"description":"Status: queued, processing, ready, failed or cancelled.","type":"string"}},"type":"object"},"ViggleSceneView":{"properties":{"c2w":{"description":"4 × 4 camera-to-world matrix.","items":{"items":{"type":"number"},"type":"array"},"type":"array"},"index":{"type":"integer"},"intrinsic":{"description":"Camera intrinsics.","items":{"type":"number"},"type":"array"},"url":{"description":"Download URL of the view image, valid for 3 hours.","type":"string"}},"type":"object"},"ViggleVideo":{"description":"A Video Remix render.","properties":{"alpha_url":{"description":"The alpha matte video of a transparent render, once ready.","nullable":true,"type":"string"},"completed_at":{"nullable":true,"type":"string"},"created_at":{"nullable":true,"type":"string"},"credits_used":{"description":"Viggle credits the job is charged, set once it is ready.","format":"double","nullable":true,"type":"number"},"duration_seconds":{"description":"Length in seconds the charge is based on, set once the job is ready.","format":"double","nullable":true,"type":"number"},"error":{"$ref":"#/components/schemas/ViggleError"},"id":{"description":"Render id (`render_` prefix). Poll it on the videos route.","type":"string"},"progress":{"description":"Progress from 0 to 100, when known.","nullable":true,"type":"integer"},"stage":{"description":"Coarse progress stage while the render runs.","nullable":true,"type":"string"},"status":{"description":"Status: queued, processing, ready, failed or cancelled.","type":"string"},"video_url":{"description":"The finished video, once ready. The URL lasts one hour.","nullable":true,"type":"string"}},"type":"object"},"WanImage2ImageGenerationInputs":{"description":"The Wan image-to-image fields, shared by the v1 `POST /proxy/wan/api/v1/services/aigc/image2image/image-synthesis` request body and the Comfy Router input schema for `wan/wan2.5-i2i-preview`.\n`required` here is the ROUTER-SAFE floor; the v1 wrapper `WanImage2ImageGenerationRequest` re-adds `model` for direct v1 calls.","example":{"input":{"images":["https://example.invalid/red-maple-leaf.png"],"prompt":"Make the leaf golden."},"parameters":{"n":1,"size":"768*768"}},"properties":{"input":{"description":"Enter basic information, such as prompt words, images, etc.","properties":{"images":{"description":"Array of 1 to 3 image URLs for image-to-image generation","items":{"description":"Image URL. Supported formats JPEG, JPG, PNG, BMP, WEBP. Resolution width and height must be between 384 and 5000 pixels. File size no larger than 10MB.","type":"string"},"maxItems":3,"minItems":1,"type":"array"},"negative_prompt":{"description":"Reverse prompt words to describe content that you do not want to see in the image. It counts toward the same input budget as prompt.","maxLength":61440,"type":"string"},"prompt":{"description":"Positive prompt words to describe expected image elements and visual features. Supports Chinese and English. A prompt longer than the model reads is truncated rather than refused. The provider refuses a request whose prompt and negative_prompt together are longer than about 60,850 bytes of UTF-8 text (about 20,000 Chinese characters), answering InvalidParameter `Range of input length should be [1, 61440]`.","maxLength":61440,"type":"string"}},"required":["prompt","images"],"type":"object"},"model":{"description":"The ID of the model to call for image-to-image generation. NOT constrained on this component: Comfy Router fills it from the `{model}` path segment of `POST /v2/models/wan/{model}`. A direct v1 call to `POST /proxy/wan/api/v1/services/aigc/image2image/image-synthesis` MUST supply it, and the enum of accepted spellings lives on that operation's own component, `WanImage2ImageGenerationRequest`.","nullable":true,"type":"string"},"parameters":{"description":"Image processing parameters","properties":{"n":{"default":1,"description":"Number of generated images. Range 1-4. When the body omits it, Comfy sends 1 to the provider and bills 1 image","maximum":4,"minimum":1,"type":"integer"},"seed":{"description":"Random number seed to control randomness. Range [0, 2147483647]","maximum":2147483647,"minimum":0,"type":"integer"},"size":{"default":"1280*1280","description":"The output image resolution in the format width*height. Default is 1280*1280. The API accepts a pixel area between 589824 (768*768) and 1638400 (1280*1280) with an aspect ratio between 1:4 and 4:1","type":"string"},"watermark":{"default":false,"description":"Whether to add watermark logo in lower right corner","type":"boolean"}},"type":"object"}},"required":["input"],"type":"object"},"WanImage2ImageGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/WanImage2ImageGenerationInputs"},{"properties":{"model":{"description":"The ID of the model to call for image-to-image generation","enum":["wan2.5-i2i-preview"],"type":"string"}},"required":["model","input"],"type":"object"}],"description":"Parameters for the Wan image-to-image proxy request -- the v1 `POST /proxy/wan/api/v1/services/aigc/image2image/image-synthesis` body.\nIt composes `WanImage2ImageGenerationInputs` and re-adds `model`, which only the v1 surface can demand: this route carries no path segment supplying it. The component has required `model` since the operation was added on 2025-09-26 (comfy-api #668), so this RESTORES a published requirement rather than inventing one. See the note above `WanVideoGenerationInputs`."},"WanImage2ImageGenerationResponse":{"properties":{"code":{"description":"The error code for the failed request (not returned if request is successful)","type":"string"},"message":{"description":"Detailed information about the failed request (not returned if request is successful)","type":"string"},"output":{"properties":{"task_id":{"description":"Task ID","type":"string"},"task_status":{"description":"Task status","enum":["PENDING","RUNNING","SUCCEEDED","FAILED","CANCELED","UNKNOWN"],"type":"string"}},"required":["task_id","task_status"],"type":"object"},"request_id":{"description":"Unique request identifier","type":"string"}},"required":["request_id","output"],"type":"object"},"WanImageGenerationInputs":{"description":"The Wan text-to-image fields, shared by the v1 `POST /proxy/wan/api/v1/services/aigc/text2image/image-synthesis` request body and the Comfy Router input schema for `wan/wan2.5-t2i-preview`.\n`required` here is the ROUTER-SAFE floor; the v1 wrapper `WanImageGenerationRequest` re-adds `model` for direct v1 calls.","example":{"input":{"prompt":"A single red maple leaf on a plain white background."},"parameters":{"n":1,"size":"1280*1280"}},"properties":{"input":{"description":"Enter basic information, such as prompt words, etc.","properties":{"negative_prompt":{"description":"Reverse prompt words to describe content that you do not want to see in the image. Past 500 characters the model truncates it rather than refusing it. It counts toward the same input budget as prompt.","type":"string"},"prompt":{"description":"Positive prompt words to describe expected image elements and visual features. Supports Chinese and English. Past 2,000 characters the model truncates the prompt rather than refusing it. The provider refuses a request whose prompt and negative_prompt together are longer than about 60,850 bytes of UTF-8 text (about 20,000 Chinese characters), answering InvalidParameter `Range of input length should be [1, 61440]`.","maxLength":61440,"type":"string"}},"required":["prompt"],"type":"object"},"model":{"description":"The ID of the model to call for text-to-image generation. NOT constrained on this component: Comfy Router fills it from the `{model}` path segment of `POST /v2/models/wan/{model}`. A direct v1 call to `POST /proxy/wan/api/v1/services/aigc/text2image/image-synthesis` MUST supply it, and the enum of accepted spellings lives on that operation's own component, `WanImageGenerationRequest`.","nullable":true,"type":"string"},"parameters":{"description":"Image processing parameters","properties":{"n":{"default":4,"description":"Number of generated images. Range 1-4, default is 4","maximum":4,"minimum":1,"type":"integer"},"prompt_extend":{"default":true,"description":"Enable prompt intelligent rewriting. Default is true","type":"boolean"},"seed":{"description":"Random number seed to control randomness. Range [0, 2147483647]","maximum":2147483647,"minimum":0,"type":"integer"},"size":{"default":"1280*1280","description":"The output image resolution in the format width*height. Default is 1280*1280. The API accepts a pixel area between 1638400 (1280*1280) and 2073600 (1440*1440) with an aspect ratio between 1:4 and 4:1, so 768*2700 is valid","type":"string"},"watermark":{"default":false,"description":"Whether to add watermark logo in lower right corner","type":"boolean"}},"type":"object"}},"required":["input"],"type":"object"},"WanImageGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/WanImageGenerationInputs"},{"properties":{"model":{"description":"The ID of the model to call for text-to-image generation","enum":["wan2.5-t2i-preview"],"type":"string"}},"required":["model","input"],"type":"object"}],"description":"Parameters for the Wan text-to-image proxy request -- the v1 `POST /proxy/wan/api/v1/services/aigc/text2image/image-synthesis` body.\nIt composes `WanImageGenerationInputs` and re-adds `model`, which only the v1 surface can demand: this route carries no path segment supplying it. The component has required `model` since the family was added on 2025-09-22 (comfy-api #664), so this RESTORES a published requirement rather than inventing one. See the note above `WanVideoGenerationInputs`."},"WanImageGenerationResponse":{"properties":{"code":{"description":"The error code for the failed request (not returned if request is successful)","type":"string"},"message":{"description":"Detailed information about the failed request (not returned if request is successful)","type":"string"},"output":{"properties":{"task_id":{"description":"Task ID","type":"string"},"task_status":{"description":"Task status","enum":["PENDING","RUNNING","SUCCEEDED","FAILED","CANCELED","UNKNOWN"],"type":"string"}},"required":["task_id","task_status"],"type":"object"},"request_id":{"description":"Unique request identifier","type":"string"}},"required":["request_id","output"],"type":"object"},"WanTaskQueryResponse":{"properties":{"output":{"properties":{"actual_prompt":{"description":"Actual prompt after intelligent rewriting (for video tasks)","type":"string"},"check_audio":{"description":"Audio URL for I2V tasks with audio generation","type":"string"},"code":{"description":"The error code for the failed request (not returned if request is successful)","type":"string"},"end_time":{"description":"Task completion time","type":"string"},"message":{"description":"Detailed information about the failed request (not returned if request is successful)","type":"string"},"orig_prompt":{"description":"Original input prompt (for video tasks)","type":"string"},"results":{"description":"List of task results for image generation tasks","items":{"properties":{"actual_prompt":{"description":"Actual prompt after intelligent rewriting (if enabled)","type":"string"},"code":{"description":"Image error code (returned when some tasks fail)","type":"string"},"message":{"description":"Image error information (returned when some tasks fail)","type":"string"},"orig_prompt":{"description":"Original input prompt","type":"string"},"url":{"description":"Generated image URL address","type":"string"}},"type":"object"},"type":"array"},"scheduled_time":{"description":"Task execution time","type":"string"},"submit_time":{"description":"Task submission time","type":"string"},"task_id":{"description":"Task ID","type":"string"},"task_metrics":{"description":"Task result statistics for image generation tasks","properties":{"FAILED":{"description":"Number of failed tasks","type":"integer"},"SUCCEEDED":{"description":"Number of successful tasks","type":"integer"},"TOTAL":{"description":"Total number of tasks","type":"integer"}},"type":"object"},"task_status":{"description":"Task status","enum":["PENDING","RUNNING","SUCCEEDED","FAILED","CANCELED","UNKNOWN"],"type":"string"},"video_url":{"description":"Video URL for completed video generation tasks. Link validity period 24 hours","type":"string"}},"required":["task_id","task_status"],"type":"object"},"request_id":{"description":"Unique request identifier","type":"string"},"usage":{"description":"Output information statistics. Only successful results are counted","properties":{"SR":{"description":"Video resolution level (I2V and wan3.0-video tasks)","type":"integer"},"duration":{"description":"Duration of generated video in seconds (I2V and wan3.0-video tasks)","type":"number"},"fps":{"description":"Frame rate of the generated video (wan3.0-video tasks)","type":"integer"},"image_count":{"description":"Number of generated images (T2I and I2I tasks)","type":"integer"},"input_video_duration":{"description":"Duration of the input video in seconds, 0.0 when no video input (wan3.0-video tasks)","type":"number"},"output_video_duration":{"description":"Duration of the output video in seconds (wan3.0-video tasks)","type":"number"},"ratio":{"description":"Aspect ratio of the generated video, e.g. 16:9 (wan3.0-video tasks)","type":"string"},"size":{"description":"Image resolution (T2I and I2I tasks)","type":"string"},"video_count":{"description":"Number of generated videos (T2V tasks)","type":"integer"},"video_duration":{"description":"Duration of generated video in seconds (T2V tasks)","type":"number"},"video_ratio":{"description":"Video resolution ratio (T2V tasks)","type":"string"}},"type":"object"}},"required":["request_id","output"],"type":"object"},"WanVideoGenerationInputs":{"description":"The Wan / HappyHorse video-generation fields, shared by the v1 `POST /proxy/wan/api/v1/services/aigc/video-generation/video-synthesis` request body and the Comfy Router input schema. This is a shared validation floor, not the complete contract of each provider model. Image-to-video, reference-to-video and editing models need model-specific reference inputs; supported resolutions and duration ranges also vary by model. The proxy additionally requires parameters with a recognized size or resolution for billing. Schema acceptance alone does not imply provider acceptance.\n`required` here is the ROUTER-SAFE floor: `model` is absent from it because Router writes the path's model into the body after routervalidate.Guard has already validated the caller's bytes. The v1 wrapper `WanVideoGenerationRequest` re-adds it.","properties":{"input":{"$ref":"#/components/schemas/WanVideoGenerationRequestInput"},"model":{"description":"The ID of the model to call. NOT constrained on this component: Comfy Router fills it from the `{model}` path segment of `POST /v2/models/wan/{model}`, so a Router caller omits it. A direct v1 call to `POST /proxy/wan/api/v1/services/aigc/video-generation/video-synthesis` MUST supply it, and the enum of accepted spellings lives on that operation's own component, `WanVideoGenerationRequest`.","nullable":true,"type":"string"},"parameters":{"$ref":"#/components/schemas/WanVideoGenerationRequestParameters"}},"required":["input"],"type":"object"},"WanVideoGenerationRequest":{"allOf":[{"$ref":"#/components/schemas/WanVideoGenerationInputs"},{"properties":{"model":{"description":"The ID of the model to call","enum":["wan2.5-t2v-preview","wan2.5-i2v-preview","wan2.6-t2v","wan2.6-i2v","wan2.6-r2v","wan2.7-i2v","wan2.7-t2v","wan2.7-r2v","wan2.7-videoedit","wan3.0-video","wan3.0-video-prime","happyhorse-1.0-t2v","happyhorse-1.0-i2v","happyhorse-1.0-r2v","happyhorse-1.0-video-edit","happyhorse-1.1-t2v","happyhorse-1.1-i2v","happyhorse-1.1-r2v"],"type":"string"}},"required":["model","input"],"type":"object"}],"description":"Parameters for the Wan / HappyHorse video-generation proxy request -- the v1 `POST /proxy/wan/api/v1/services/aigc/video-generation/video-synthesis` body.\nIt composes `WanVideoGenerationInputs` rather than restating its fields, and re-adds the one field only the v1 surface can demand. `model` is that field: this route carries no path segment supplying it, so a direct caller must send it, whereas the Comfy Router route `POST /v2/models/wan/{model}` supplies it from the path and its input schema must NOT require it.\nThis component has required `model` since the family was added on 2025-09-22 (comfy-api #664), so the wrapper RESTORES a published requirement rather than inventing one and the generated `Model` keeps the shape v1 callers were compiled against. Read the note above `RecraftImageGenerationInputs` for the full rule and the guard that enforces it."},"WanVideoGenerationRequestInput":{"description":"Enter basic information, such as prompt words, etc.","properties":{"audio_url":{"description":"Audio file download URL. Supported formats: mp3 and wav. Cannot be used with reference_video_urls.","type":"string"},"img_url":{"description":"First frame image URL or Base64 encoded data. Required for the wan2.5-i2v-preview and\nwan2.6-i2v models. The happyhorse-1.x i2v spellings do NOT take their first frame here\n-- they take it as a media element of type first_frame (see media below), and an\nimg_url body that succeeds on wan2.6-i2v is refused by the provider on\nhappyhorse-1.0-i2v and happyhorse-1.1-i2v -- and the wan2.7/wan3.0 spellings take their\nreference assets in media as well. Image formats: JPEG, JPG, PNG, BMP, WEBP.\nResolution: 360-2000 pixels. File size: max 10MB.\n","type":"string"},"media":{"description":"Media asset list. Specifies reference materials (image, audio, video) for video\ngeneration. Each element contains a type and url field. This field is shared by every\nmodel served from this component, and which type values a given model accepts -- and\nwhether it carries its image or video input here at all rather than in img_url or\nreference_video_urls -- varies by model. Supported type values, per model:\n- wan2.7-i2v: first_frame, last_frame, driving_audio, first_clip. first_frame and\n  last_frame: JPEG/JPG/PNG/BMP/WEBP, 240-8000 pixels per side, aspect ratio between 1:8\n  and 8:1, at most 20MB, a public URL or a data:{MIME_type};base64,... URL.\n  driving_audio (WAV/MP3, 2-30 seconds, at most 15MB) and first_clip (MP4/MOV, 2-10\n  seconds, 240-4096 pixels per side, at most 100MB): a public HTTP/HTTPS URL; an inline\n  data: URL is not accepted.\n- wan2.7-r2v: first_frame (optional, max 1), reference_image, reference_video. At least\n  one reference_image or reference_video is required, and reference images plus\n  reference videos total at most 5. first_frame and reference_image: JPEG/JPG/PNG/BMP/WEBP\n  (no alpha channel), 240-8000 pixels per side, aspect ratio between 1:8 and 8:1, at most\n  20MB, a public URL or a data:{MIME_type};base64,... URL. reference_video: a public\n  HTTP/HTTPS URL; an inline data: URL is not accepted.\n- wan2.7-videoedit: video (exactly 1, the clip being edited: MP4/MOV, 2-10 seconds,\n  240-4096 pixels per side, at most 100MB, a public HTTP/HTTPS URL; an inline data: URL\n  is not accepted) plus an optional 0 to 4 reference_image (JPEG/JPG/PNG/BMP/WEBP,\n  240-8000 pixels per side, aspect ratio between 1:8 and 8:1, at most 20MB, a public URL\n  or a data:{MIME_type};base64,... URL).\n- wan3.0-video, wan3.0-video-prime: first_frame (max 1), last_frame (max 1),\n  reference_image (max 10), reference_video (max 5 clips, total duration \u003c= 15s),\n  reference_audio (max 5 clips, total duration \u003c= 15s), file (max 1, cannot be used\n  with link), link (max 1, cannot be used with file). The reference_*/file/link types\n  and first_frame/last_frame types are mutually exclusive within the same request. The\n  array order defines the reference order of assets in the prompt (Image 1, Video 1,\n  Audio 1, ...). first_frame, last_frame and reference_image: JPEG/JPG/PNG/BMP/WEBP,\n  240-8000 pixels per side, aspect ratio at most 8:1, at most 20MB, a public URL or a\n  data:{MIME_type};base64,... URL. reference_video, reference_audio, file and link: a\n  public HTTP/HTTPS URL; an inline data: URL is not accepted.\n- happyhorse-1.0-i2v, happyhorse-1.1-i2v: first_frame only, exactly 1. These spellings\n  take their first frame HERE and not in img_url. At least 300x300 pixels, aspect ratio\n  between 1:2.5 and 2.5:1, JPEG/JPG/PNG/WEBP, at most 20MB, a public URL or a\n  data:{MIME_type};base64,... URL.\n- happyhorse-1.0-r2v, happyhorse-1.1-r2v: reference_image only, 1 to 9 of them. This is\n  the model's only reference input. Shortest side at least 400 pixels, JPEG/JPG/PNG/WEBP,\n  at most 20MB, a public URL or a data:{MIME_type};base64,... URL. reference_video is\n  not an input type for this operation.\n- happyhorse-1.0-video-edit: video (exactly 1, the clip being edited: MP4/MOV, 3-60\n  seconds, longer side at most 4096 pixels, shorter side at least 360 pixels, aspect\n  ratio between 1:2.5 and 2.5:1, at most 100MB, a public HTTP/HTTPS URL; an inline data:\n  URL is not accepted) plus an optional 0 to 5 reference_image (JPEG/JPG/PNG/WEBP, at\n  least 300x300 pixels, aspect ratio between 1:2.5 and 2.5:1, at most 20MB, a public URL\n  or a data:{MIME_type};base64,... URL).\n- happyhorse-1.0-t2v, happyhorse-1.1-t2v, wan2.7-t2v, wan2.6-t2v, wan2.5-t2v-preview:\n  text-to-video operations. Their partner references document no media input, so leave\n  this field unset.\n- wan2.5-i2v-preview, wan2.6-i2v, wan2.6-r2v: this component enumerates no media\n  vocabulary for these spellings. wan2.5-i2v-preview and wan2.6-i2v take their first\n  frame in img_url; wan2.6-r2v takes its reference clips in reference_video_urls.\nThe per-model counts above are the partner's constraints, not this schema's: no\nminItems/maxItems is declared on media, because the admissible types and their caps\ndiffer per model. Schema acceptance does not imply provider acceptance -- and, in the\nother direction, the per-asset \"at most 20MB\" figures above -- the ceiling on the image\ninputs, the only inputs that may be sent inline -- are the partner's ceiling on the\nasset it ends up with, and they apply as written when the asset is a public URL,\nbecause those bytes never travel through Comfy. An inline data:{MIME_type};base64,...\nURL does travel through Comfy and meets a transport ceiling as well: a Comfy Router\nPOST body is capped at 100 MiB in total and answered 413 past it, and base64 inflates a\npayload by about 4/3, so a single inline asset above roughly 75 MB is refused before any\nof the partner rules here are reached. At that size a single asset at the partner's own\n20MB ceiling fits inline comfortably, so the partner rule is what binds for one asset --\nthe transport ceiling binds across several of them, since the 100 MiB Router cap bounds\nthe WHOLE request rather than each element. Send anything near these ceilings as a\npublic URL.\n","items":{"properties":{"type":{"description":"Media asset type","enum":["first_frame","last_frame","driving_audio","first_clip","reference_image","reference_video","reference_audio","video","file","link"],"type":"string"},"url":{"description":"URL of the media file: a public HTTP/HTTPS URL, or -- for exactly the IMAGE inputs the `media` description above lists for each model: first_frame and last_frame on wan2.7-i2v; first_frame and reference_image on wan2.7-r2v; reference_image on wan2.7-videoedit; first_frame, last_frame and reference_image on wan3.0-video and wan3.0-video-prime; first_frame on happyhorse-1.0-i2v and happyhorse-1.1-i2v; reference_image on happyhorse-1.0-r2v and happyhorse-1.1-r2v; and reference_image on happyhorse-1.0-video-edit -- an inline `data:{MIME_type};base64,...` URL. No video, audio, file or link input on any of these models takes an inline data: URL. An oss://dashscope-instant temporary URL from the partner's own upload service, or (on wan2.7-videoedit) an Asset Center asset_id, resolves only against the Alibaba Cloud account that uploaded it; Comfy makes the model call with its own key and exposes no upload route, so a caller's own oss:// URL or asset_id is not a supported input. This field does not validate the URL scheme, so such a value is forwarded to the partner as-is rather than rejected here. See the `media` description for the per-model size and pixel limits and for the 100 MiB Router request-body cap that bounds an inline payload in aggregate.","type":"string"}},"required":["type","url"],"type":"object"},"type":"array"},"negative_prompt":{"description":"Reverse prompt words are used to describe content that you do not want to see in the video screen. Past 500 characters a wan model truncates it rather than refusing it. It counts toward the same input budget as prompt.","maxLength":61440,"type":"string"},"prompt":{"description":"Text prompt words. Supports Chinese and English. Past its own documented length a wan2.x model\ntruncates the prompt rather than refusing it: 1,500 characters for wan2.5 and wan2.6 and 5,000 for\nwan2.7. wan3.0-video and wan3.0-video-prime take at most 20,000 characters. The provider refuses a request\nwhose prompt and negative_prompt together are longer than about 60,850 bytes of UTF-8 text (about\n20,000 Chinese characters), answering InvalidParameter `Range of input length should be [1, 61440]`.\nFor wan2.6-r2v with multiple reference videos, use 'character1', 'character2', etc. to refer to subjects\nin the order of reference videos. Example: \"Character1 sings on the roadside, Character2 dances beside it\"\nFor wan3.0-video reference mode, use 'Image 1', 'Video 1', 'Audio 1', etc. to refer to media assets\nin the corresponding order within the media array.\n","maxLength":61440,"type":"string"},"reference_video_urls":{"description":"Reference video URLs for wan2.6-r2v model only. Array of 1-3 video URLs.\nInput restrictions:\n- Format: mp4, mov\n- Quantity: 1-3 videos\n- Single video length: 2-30 seconds\n- Single file size: max 30MB\n- Cannot be used with audio_url\nReference duration: Single video max 5s, two videos max 2.5s each, three videos proportionally less.\nBilling: Based on actual reference duration used.\n","items":{"type":"string"},"maxItems":3,"minItems":1,"type":"array"},"template":{"description":"Video effect template name. Optional. Currently supported: squish, flying, carousel. When used, prompt parameter is ignored.","type":"string"}},"type":"object"},"WanVideoGenerationRequestParameters":{"description":"Video processing parameters","properties":{"audio":{"default":true,"description":"Whether to add audio to the video. Supported for wan3.0-video and wan3.0-video-prime only; the provider documents no such switch for the other wan models.","type":"boolean"},"audio_setting":{"default":"auto","description":"Video audio setting for wan2.7-videoedit model.\n- auto (default): Model intelligently judges based on prompt content\n- origin: Forcefully preserve the original audio from the input video\n","enum":["auto","origin"],"type":"string"},"duration":{"default":5,"description":"The duration of the video generated, in seconds:\n- wan2.5 models: 5 or 10 seconds\n- wan2.6-t2v, wan2.6-i2v: 5, 10, or 15 seconds\n- wan2.6-r2v: 5 or 10 seconds only (no 15s support)\n- wan2.7-i2v, wan2.7-t2v: integer in [2, 15]\n- wan2.7-r2v, wan2.7-videoedit: integer in [2, 10]\n- wan3.0-video: integer in [2, 30] without video input; with video input the total\n  input video duration + output video duration must not exceed 30 seconds; -1 enables\n  smart duration mode where the model picks a suitable duration\nThis proxy returns 400 for a duration outside [-1, 30].\n","maximum":30,"minimum":-1,"type":"integer"},"prompt_extend":{"default":true,"description":"Is it enabled prompt intelligent rewriting. Default is true","type":"boolean"},"ratio":{"description":"Aspect ratio of the generated video. For wan2.7 and wan3.0 models only.\nFor wan2.7 models, defaults based on the resolution tier if not provided.\nFor wan3.0-video, adaptive (the default) automatically recommends a suitable\naspect ratio based on the input media proportions and intent.\n","enum":["adaptive","16:9","9:16","1:1","4:3","3:4"],"type":"string"},"resolution":{"description":"Resolution level. Supported values vary by model:\n- wan2.5-i2v-preview: 480P, 720P, 1080P\n- wan2.6 models (t2v, i2v, r2v): 720P, 1080P only (no 480P support)\n- wan2.7 models (i2v, t2v, r2v, videoedit): 720P, 1080P (default 1080P)\n- wan3.0-video, wan3.0-video-prime: 480P, 720P, 1080P (upstream default 1080P)\n- happyhorse-1.0-* (t2v, i2v, r2v, video-edit): 720P, 1080P\n- happyhorse-1.1-* (t2v, i2v, r2v): 480P, 720P, 1080P\nThis proxy rejects video generation requests that provide neither resolution\nnor size, because the resolution tier selects the billing rate. It upper-cases\nresolution before checking it and forwards the upper-cased value, returns 400\nfor a value outside this enum, and returns 400 for 480P (whether sent as\nresolution or as a 480P size) on the wan2.6, wan2.7 and happyhorse-1.0 models\nlisted above as having no 480P.\n","enum":["480P","720P","1080P"],"type":"string"},"seed":{"description":"Random number seed, used to control the randomness of the model generated content","maximum":2147483647,"minimum":0,"type":"integer"},"shot_type":{"default":"single","description":"Intelligent multi-lens control. Only active when prompt_extend is enabled.\nFor wan2.6 and wan2.7-r2v models.\n- single: Single-shot video (default)\n- multi: Multi-shot video\n","enum":["multi","single"],"type":"string"},"size":{"description":"Video resolution in format width*height. Supported resolutions vary by model:\nFor wan2.5 T2V: 480P (480*832, 832*480, 624*624), 720P, 1080P sizes\nFor wan2.6 T2V/R2V (no 480P):\n  720P: 1280*720, 720*1280, 960*960, 1088*832, 832*1088\n  1080P: 1920*1080, 1080*1920, 1440*1440, 1632*1248, 1248*1632\nWhen both size and resolution are sent, size selects the billed tier, and\nresolution must still be a value this proxy accepts for the model. A 480P size\nreturns 400 on every model the resolution description lists as having no 480P.\n","type":"string"},"watermark":{"default":false,"description":"Whether to add a watermark logo, the watermark is located in the lower right corner","type":"boolean"}},"type":"object"},"WanVideoGenerationResponse":{"properties":{"code":{"description":"The error code for the failed request (not returned if request is successful)","type":"string"},"message":{"description":"Detailed information about the failed request (not returned if request is successful)","type":"string"},"output":{"properties":{"task_id":{"description":"Task ID","type":"string"},"task_status":{"description":"Task status","enum":["PENDING","RUNNING","SUCCEEDED","FAILED","CANCELED","UNKNOWN"],"type":"string"}},"required":["task_id","task_status"],"type":"object"},"request_id":{"description":"Unique request identifier","type":"string"}},"required":["output","request_id"],"type":"object"},"WavespeedFlashVSRRequest":{"description":"Request body for WavespeedAI FlashVSR video upscaling","example":{"duration":4,"target_resolution":"1080p","video":"https://samplelib.com/mp4/sample-30s.mp4"},"properties":{"duration":{"description":"Duration of the video in seconds\n","type":"number"},"target_resolution":{"default":"1080p","description":"Target resolution to upscale to.","enum":["720p","1080p","2k","4k"],"type":"string"},"video":{"description":"The video to upscale. Can be a URL to the video file or a base64-encoded video.\n","type":"string"}},"required":["video","duration"],"type":"object"},"WavespeedSeedVR2ImageRequest":{"description":"Request body for WavespeedAI image upscaling. One component serves both wavespeed/seedvr2 and wavespeed/ultimate-image-upscaler, which take the same request shape.","example":{"image":"https://images.pexels.com/photos/346529/pexels-photo-346529.jpeg","target_resolution":"4k"},"properties":{"enable_base64_output":{"default":false,"description":"If enabled, the output will be encoded into a BASE64 string instead of a URL.","type":"boolean"},"image":{"description":"The URL of the image to upscale.","type":"string"},"output_format":{"default":"jpeg","description":"The format of the output image.","enum":["jpeg","png","webp"],"type":"string"},"target_resolution":{"default":"4k","description":"The target resolution of the output image.","enum":["2k","4k","8k"],"type":"string"}},"required":["image"],"type":"object"},"WavespeedTaskResponse":{"description":"Response from WavespeedAI task submission","properties":{"code":{"description":"HTTP status code (e.g., 200 for success)","type":"integer"},"data":{"properties":{"created_at":{"description":"ISO timestamp of when the request was created","type":"string"},"error":{"description":"Error message (empty if no error occurred)","type":"string"},"has_nsfw_contents":{"description":"Array of boolean values indicating NSFW detection for each output","items":{"type":"boolean"},"type":"array"},"id":{"description":"Unique identifier for the prediction/task","type":"string"},"model":{"description":"Model ID used for the prediction","type":"string"},"outputs":{"description":"Array of URLs to the generated content (empty when status is not completed)","items":{"type":"string"},"type":"array"},"status":{"description":"Status of the task","enum":["created","processing","completed","failed"],"type":"string"},"timings":{"properties":{"inference":{"description":"Inference time in milliseconds","type":"integer"}},"type":"object"},"urls":{"properties":{"get":{"description":"URL to retrieve the prediction result","type":"string"}},"type":"object"}},"type":"object"},"message":{"description":"Status message (e.g., \"success\")","type":"string"}},"type":"object"},"WavespeedTaskResultResponse":{"description":"Response from WavespeedAI task result query","properties":{"code":{"description":"HTTP status code (e.g., 200 for success)","type":"integer"},"data":{"properties":{"created_at":{"description":"ISO timestamp of when the request was created","type":"string"},"error":{"description":"Error message (empty if no error occurred)","type":"string"},"id":{"description":"Unique identifier for the prediction/task","type":"string"},"model":{"description":"Model ID used for the prediction","type":"string"},"outputs":{"description":"Array of URLs to the generated content (empty when status is not completed)","items":{"type":"string"},"type":"array"},"status":{"description":"Status of the task","enum":["created","processing","completed","failed"],"type":"string"},"timings":{"properties":{"inference":{"description":"Inference time in milliseconds","type":"integer"}},"type":"object"},"urls":{"properties":{"get":{"description":"URL to retrieve the prediction result","type":"string"}},"type":"object"}},"type":"object"},"message":{"description":"Status message (e.g., \"success\")","type":"string"}},"type":"object"},"WebSearchPreviewTool":{"description":"This tool searches the web for relevant results to use in a response. Learn more about the [web search tool](https://platform.openai.com/docs/guides/tools-web-search).","properties":{"search_context_size":{"description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","enum":["low","medium","high"],"type":"string"},"type":{"default":"web_search_preview","description":"The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.","enum":["web_search_preview","web_search_preview_2025_03_11"],"type":"string","x-stainless-const":true}},"required":["type"],"title":"Web search preview","type":"object"},"WebSearchToolCall":{"description":"The results of a web search tool call. See the\n[web search guide](/docs/guides/tools-web-search) for more information.\n","properties":{"id":{"description":"The unique ID of the web search tool call.\n","type":"string"},"status":{"description":"The status of the web search tool call.\n","enum":["in_progress","searching","completed","failed"],"type":"string"},"type":{"description":"The type of the web search tool call. Always `web_search_call`.\n","enum":["web_search_call"],"type":"string","x-stainless-const":true}},"required":["id","type","status"],"title":"Web search tool call","type":"object"},"WorkflowRunStatus":{"enum":["WorkflowRunStatusStarted","WorkflowRunStatusFailed","WorkflowRunStatusCompleted"],"type":"string"},"XAIGeneratedImage":{"description":"A generated image from xAI","properties":{"b64_json":{"description":"A base64-encoded string representation of the generated image in jpeg encoding (if response_format is b64_json)","type":"string"},"mime_type":{"description":"The MIME type of the generated image (e.g. image/png, image/jpeg, image/webp).","type":"string"},"url":{"description":"A url to the generated image (if response_format is url)","type":"string"}},"type":"object"},"XAIGeneratedVideo":{"description":"A generated video from xAI","properties":{"duration":{"description":"Duration of the generated video in seconds","type":"integer"},"respect_moderation":{"description":"Whether the video generated by the model respects moderation rules","type":"boolean"},"url":{"description":"Download URL for the generated video. Router re-hosts the video onto Comfy storage and rewrites this field, so it is normally a Comfy-signed URL valid for up to 24 hours - signed for 24 hours when minted and replayed from a 23-hour memo, so a later poll can hand back one with as little as an hour left. When the re-host could not be performed the field keeps xAI's own short-lived URL instead. NULLABLE: a success whose `url` is empty is not a completed generation. Either way the link expires, so download the video rather than storing the URL.","nullable":true,"type":"string"}},"type":"object"},"XAIImageEditRequest":{"description":"Request body for xAI Grok Imagine image editing","properties":{"aspect_ratio":{"description":"Aspect ratio of the output image for image editing with multiple images. For single image editing, do not set this.","enum":["1:1","3:4","4:3","9:16","16:9","2:3","3:2","9:19.5","19.5:9","9:20","20:9","1:2","2:1","auto"],"type":"string"},"image":{"$ref":"#/components/schemas/XAIImageObject"},"images":{"description":"List of input images for multi-reference editing. Mutually exclusive with image. When multiple images are provided, refer to them as \u003cIMAGE_0\u003e, \u003cIMAGE_1\u003e, etc. in the prompt.","items":{"$ref":"#/components/schemas/XAIImageObject"},"type":"array"},"mask":{"$ref":"#/components/schemas/XAIImageObject"},"model":{"default":"grok-imagine-image","description":"Model to be used. Supported: grok-imagine-image (default), grok-imagine-image-pro, grok-imagine-image-quality, grok-imagine-image-2.0. Deprecated -beta ids are aliased to their GA model.","type":"string"},"n":{"description":"Number of image edits to be generated","type":"integer"},"prompt":{"description":"Prompt for image editing","type":"string"},"quality":{"description":"Quality of the output image. For grok-imagine-image-2.0 this selects the price tier: low, medium, or auto (xAI's default when omitted; auto serves low for generation and medium for edits). Other models ignore it.","enum":["low","medium","high","auto"],"type":"string"},"resolution":{"default":"1k","description":"Resolution of the generated image. Defaults to 1k.","enum":["1k","2k"],"type":"string"},"response_format":{"default":"url","description":"Response format to return the image in. Can be url or b64_json. Comfy coerces this to `url` on the outbound request because image results are served as re-hosted URLs either way. A value IN the enum is therefore accepted and ignored; send `url` or `b64_json` or omit the field, and the answer is the same. A value OUTSIDE the enum is REJECTED with a 400 at ingress rather than coerced, unless it is one of the UNSET spellings: an unset field — omitted, `null`, or `\"\"` — is treated as unset and coerced like any accepted value. Both rules are this `/proxy/` edits route's own. A `POST /v2/models/xai/{model}` call that edits is validated against that model's own Router input schema instead, which enforces the same enum exactly as published, and its outbound value is coerced to `url` the same way.","enum":["url","b64_json"],"type":"string"},"size":{"description":"Size of the image (not supported)","type":"string"},"style":{"description":"Style of the image (not supported)","type":"string"},"user":{"description":"A unique identifier representing your end-user, which can help xAI to monitor and detect abuse","type":"string"}},"required":["prompt"],"type":"object"},"XAIImageGenerationRequest":{"description":"Request body for xAI Grok Imagine image generation","properties":{"aspect_ratio":{"default":"auto","description":"Aspect ratio of the generated image. Defaults to auto for automatically selecting the best ratio for the prompt.","enum":["1:1","3:4","4:3","9:16","16:9","2:3","3:2","9:19.5","19.5:9","9:20","20:9","1:2","2:1","auto"],"type":"string"},"model":{"default":"grok-imagine-image","description":"Model to be used. Supported: grok-imagine-image (default), grok-imagine-image-pro, grok-imagine-image-quality, grok-imagine-image-2.0. Deprecated -beta ids are aliased to their GA model.","nullable":true,"type":"string"},"n":{"default":1,"description":"Number of images to be generated","maximum":10,"minimum":1,"type":"integer"},"prompt":{"description":"Prompt for image generation","type":"string"},"quality":{"description":"Quality of the output image. For grok-imagine-image-2.0 this selects the price tier: low, medium, or auto (xAI's default when omitted; auto serves low for generation and medium for edits). Other models ignore it.","enum":["low","medium","high","auto"],"type":"string"},"resolution":{"default":"1k","description":"Resolution of the generated image. Defaults to 1k.","enum":["1k","2k"],"type":"string"},"response_format":{"default":"url","description":"Response format to return the image in. Can be url or b64_json. Comfy coerces this to `url` on the outbound request — on the Comfy Router dispatch (`POST /v2/models/xai/{model}`) and on this `/proxy/` route too — because image results are served as re-hosted URLs either way. A value IN the enum is therefore accepted and ignored; send `url` or `b64_json` or omit the field, and the answer is the same. A value OUTSIDE the enum — excluding the UNSET spellings each surface recognises, described next — is REJECTED rather than coerced on BOTH surfaces, and only the shape of the refusal differs: this `/proxy/` route answers a `400` at ingress, and the `POST /v2/models/xai/{model}` Router dispatch answers the per-field `422` it owes the enum published here, before any partner call is made. The two surfaces differ on what counts as UNSET. On this `/proxy/` route an omitted field, an explicit `null` and `\"\"` all mean unset and are coerced like any accepted value. The Router dispatch enforces the enum exactly as published, so `null` and `\"\"` are non-members there like any other: OMIT the field to leave it unset on that surface.","enum":["url","b64_json"],"type":"string"},"size":{"description":"Size of the image (not supported)","type":"string"},"style":{"description":"Style of the image (not supported)","type":"string"},"user":{"description":"A unique identifier representing your end-user, which can help xAI to monitor and detect abuse","type":"string"}},"required":["prompt"],"type":"object"},"XAIImageGenerationResponse":{"description":"Response from xAI image generation or editing","properties":{"block_reason":{"description":"If the request was blocked by input moderation, contains the block reason","type":"string"},"data":{"description":"A list of generated image objects","items":{"$ref":"#/components/schemas/XAIGeneratedImage"},"type":"array"},"usage":{"$ref":"#/components/schemas/XAIImageUsage"}},"type":"object"},"XAIImageObject":{"description":"Input image object for xAI endpoints","properties":{"type":{"description":"Type of the image input","enum":["image_url"],"type":"string"},"url":{"description":"URL of the input image (public URL or base64-encoded data URI)","type":"string"}},"required":["url"],"type":"object"},"XAIImageUsage":{"description":"Usage information for the image generation request","properties":{"cost_in_usd_ticks":{"description":"Accurate cost of this request in USD ticks (10,000,000,000 ticks = 1 USD)","type":"integer"}},"type":"object"},"XAIReferenceImageObject":{"description":"A reference image used to guide video generation in R2V mode","properties":{"url":{"description":"URL of the reference image. Supports HTTPS URLs (public) or base64-encoded data URLs (e.g., data:image/jpeg;base64,...).","type":"string"}},"required":["url"],"type":"object"},"XAIVideoAsyncResponse":{"description":"Response from xAI video generation or editing (async operation)","properties":{"request_id":{"description":"Unique identifier to poll for the completed video","type":"string"}},"type":"object"},"XAIVideoEditRequest":{"description":"Request body for xAI Grok Imagine video editing","properties":{"model":{"description":"Model to be used. Supported: grok-imagine-video (default), grok-imagine-video-1.5-preview, grok-imagine-video-1.5, grok-imagine-video-1.5-lite. The deprecated grok-imagine-video-beta id is aliased to grok-imagine-video.","nullable":true,"type":"string"},"output":{"description":"Optional output destination for generated video","nullable":true,"type":"object"},"prompt":{"description":"Prompt for video editing","type":"string"},"user":{"description":"A unique identifier representing your end-user","nullable":true,"type":"string"},"video":{"$ref":"#/components/schemas/XAIVideoObject"}},"required":["prompt","video"],"type":"object"},"XAIVideoErrorResponse":{"description":"Error body xAI returns on a failed video poll. A generated video rejected by moderation answers HTTP 400 with code imagine:content-moderated, and may still report usage when the generation ran.\n","properties":{"code":{"description":"Machine-readable error code. imagine:content-moderated marks a moderation refusal; other values are not enumerated.\n","example":"imagine:content-moderated","type":"string"},"error":{"description":"Human-readable error message","type":"string"},"usage":{"$ref":"#/components/schemas/XAIVideoUsage"}},"type":"object"},"XAIVideoExtensionRequest":{"description":"Request body for xAI Grok Imagine video extension","properties":{"duration":{"default":6,"description":"Length of the extension in seconds. Range [2, 10]. Default 6.","maximum":10,"minimum":2,"nullable":true,"type":"integer"},"model":{"description":"Model to be used. Supported: grok-imagine-video (default), grok-imagine-video-1.5-preview, grok-imagine-video-1.5, grok-imagine-video-1.5-lite. The deprecated grok-imagine-video-beta id is aliased to grok-imagine-video.","nullable":true,"type":"string"},"prompt":{"description":"Text description of what should happen next in the video","type":"string"},"video":{"$ref":"#/components/schemas/XAIVideoObject"}},"required":["prompt","video"],"type":"object"},"XAIVideoGenerationRequest":{"description":"Request body for xAI Grok Imagine video generation.\nSupports three modes: text-to-video (prompt only), image-to-video (prompt + image),\nand reference-to-video (prompt + reference_images).\nThe fields image, reference_images, and video are mutually exclusive.\n","example":{"duration":4,"prompt":"a single red maple leaf falling onto still water, slow motion"},"not":{"required":["image","reference_images"]},"properties":{"aspect_ratio":{"default":"16:9","description":"Aspect ratio of the generated video","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"type":"string"},"duration":{"default":8,"description":"Video duration in seconds. Range [1, 15]. Default 8.","maximum":15,"minimum":1,"nullable":true,"type":"integer"},"image":{"$ref":"#/components/schemas/XAIImageObject"},"model":{"description":"Model to be used. Supported: grok-imagine-video (default), grok-imagine-video-1.5-preview, grok-imagine-video-1.5, grok-imagine-video-1.5-lite. The deprecated grok-imagine-video-beta id is aliased to grok-imagine-video.","nullable":true,"type":"string"},"output":{"description":"Optional output destination for generated video","nullable":true,"type":"object"},"prompt":{"description":"Prompt for video generation. Maximum 4,096 characters.","maxLength":4096,"type":"string"},"reference_images":{"description":"One or more reference images to guide the video generation (reference-to-video mode). Mutually exclusive with image. Router forwards application/json only and neither this object nor XAIImageObject accepts a file_id, so file-backed image inputs are not supported on this route.","items":{"$ref":"#/components/schemas/XAIReferenceImageObject"},"minItems":1,"type":"array"},"resolution":{"description":"Resolution of the output video","nullable":true,"type":"string"},"size":{"description":"Size of the output video","nullable":true,"type":"string"},"user":{"description":"A unique identifier representing your end-user","nullable":true,"type":"string"}},"required":["prompt"],"type":"object"},"XAIVideoObject":{"description":"Input video object for xAI endpoints","properties":{"url":{"description":"URL of the video (public URL or base64-encoded data URL). The video must have the .mp4 file extension and be encoded with .mp4 supported codecs such as H.265, H.264, AV1, etc.","type":"string"}},"required":["url"],"type":"object"},"XAIVideoResultResponse":{"description":"Response from getting video generation result","properties":{"block_reason":{"description":"If the request was blocked by input moderation, contains the block reason","nullable":true,"type":"string"},"model":{"description":"The model used to generate the video","type":"string"},"status":{"description":"Status of the deferred request: \"pending\" or \"done\"","enum":["pending","done"],"type":"string"},"usage":{"$ref":"#/components/schemas/XAIVideoUsage"},"video":{"$ref":"#/components/schemas/XAIGeneratedVideo"}},"type":"object"},"XAIVideoUsage":{"description":"Usage information for the video generation request","properties":{"cost_in_usd_ticks":{"description":"The cost of this request expressed in USD ticks. One USD cent equals 100,000,000 ticks, so one US dollar equals 10,000,000,000 ticks.\n","type":"integer"}},"type":"object"}},"securitySchemes":{"ApiKeyAuth":{"description":"API key authentication. Send the key in the X-API-Key header; keys are prefixed with 'comfyui-' and are generated from user account settings. The same 'comfyui-' key is also accepted in Authorization: Bearer (see BearerAuth), and when both headers carry a key, X-API-Key wins.\nThe comfyFirebase auth middleware checks this header before falling back to the Authorization bearer token, and it backs both the /customers and the /proxy authset entries.","in":"header","name":"X-API-Key","type":"apiKey"},"BearerAuth":{"bearerFormat":"JWT","description":"Bearer token authentication. Normally a Firebase or Cloud JWT. A 'comfyui-' prefixed API key is also accepted in this header: the prefix classifies the value as an API key and it is validated exactly as if it had been sent in X-API-Key.\nAccepted on the operations served by the comfyFirebase auth middleware (BE-9720, parity with ingest).","scheme":"bearer","type":"http"},"ComfyAdminSecretAuth":{"description":"Shared admin secret for trusted server-side callers. Accepted by the\nAPISecretMiddleware authset, which grants admin context without a user\nsession. Note the header is X-Comfy-Admin-Secret, not the\nX-ComfyAPI-Secret used by the separate ingest service.\n","in":"header","name":"X-Comfy-Admin-Secret","type":"apiKey"}}},"info":{"title":"Comfy API","version":"1.0"},"openapi":"3.0.2","paths":{"/admin/count-customer-api-keys":{"post":{"description":"Read-only count of the registry api_keys rows owned by the named customers.\nA registry key may have no copy in cloud, so a check of what removing an\naccount would delete has to ask here as well. A customer with no keys, or\none the registry does not know, adds nothing to the count. M2M/admin-only.\n","operationId":"CountCustomerApiKeys","parameters":[{"description":"Admin API secret used to authorize this request","in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"customer_ids":{"description":"Firebase UIDs of the customers whose API keys are counted.","items":{"maxLength":128,"minLength":1,"type":"string"},"maxItems":100,"minItems":1,"type":"array"}},"required":["customer_ids"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"count":{"description":"How many API keys the customers own; 0 when they have none.","type":"integer"}},"required":["count"],"type":"object"}}},"description":"The count"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid request (no customer ids, too many, or an empty id)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized or missing admin API secret"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Count the registry API keys the named customers own","tags":["Admin"],"x-excluded":true}},"/admin/customers/{customer_id}/archive-metronome-data":{"post":{"description":"Archives metronome data. See https://docs.metronome.com/api-reference/customers/archive-a-customer","operationId":"PostAdminArchiveMetronomeData","parameters":[{"description":"The ID of the customer whose Metronome data to archive","in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"description":"Admin API secret used to authorize this request","in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"description":"Success message","type":"string"}},"type":"object"}}},"description":"Metronome data archived successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request - missing required parameter"},"401":{"description":"Unauthorized or missing admin API secret"},"404":{"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Archive customer Metronome data","tags":["Admin"],"x-excluded":true}},"/admin/customers/{customer_id}/balance":{"get":{"description":"Returns the specified customer's current remaining balance and its currency. Every amount is CENTS of `currency`; the `*_micros` names are a deprecated misnomer, so divide by 100, never by 1,000,000. Read the `*_cents` fields beside them instead.","operationId":"GetAdminCustomerBalance","parameters":[{"in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"amount_cents":{"description":"The total remaining balance. Cents of `currency`, the same value as `amount_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"amount_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `amount_cents`. The total remaining balance.","format":"double","type":"number"},"cloud_credit_balance_cents":{"description":"The remaining balance from cloud credits (subscription). Cents of `currency`, the same value as `cloud_credit_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"cloud_credit_balance_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `cloud_credit_balance_cents`. The remaining balance from cloud credits (subscription).","format":"double","type":"number"},"currency":{"type":"string"},"effective_balance_cents":{"description":"The total balance minus pending charges; negative when charges exceed credit. Cents of `currency`, the same value as `effective_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"effective_balance_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `effective_balance_cents`. The total balance minus pending charges; negative when charges exceed credit.","format":"double","type":"number"},"pending_charges_cents":{"description":"Pending/unbilled charges from draft invoices. Cents of `currency`, the same value as `pending_charges_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"pending_charges_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `pending_charges_cents`. Pending/unbilled charges from draft invoices.","format":"double","type":"number"},"prepaid_balance_cents":{"description":"The remaining balance from prepaid commits (top-ups). Cents of `currency`, the same value as `prepaid_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"prepaid_balance_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `prepaid_balance_cents`. The remaining balance from prepaid commits (top-ups).","format":"double","type":"number"}},"required":["amount_micros","currency"],"type":"object"}}},"description":"Customer balance retrieved successfully"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Admin get customer's remaining balance","tags":["Admin"],"x-excluded":true}},"/admin/customers/{customer_id}/cloud-subscription-status":{"get":{"description":"Allows an admin to inspect a specific customer's cloud subscription status.","operationId":"GetAdminCustomerCloudSubscriptionStatus","parameters":[{"description":"Required when requesting history. The authenticated billing workspace; provider records owned by other workspaces are excluded.","in":"query","name":"workspace_id","schema":{"type":"string"}},{"description":"Read complete historical Cloud subscription facts for billing settings. Ordinary admission and education reads leave this false.","in":"query","name":"include_subscription_history","schema":{"default":false,"type":"boolean"}},{"description":"The ID of the customer whose subscription status to retrieve","in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"description":"Admin API secret used to authorize this request","in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"cloud_subscription_history":{"$ref":"#/components/schemas/CloudSubscriptionHistory"},"end_date":{"description":"The date when the subscription is set to end (ISO 8601 format)","format":"date-time","nullable":true,"type":"string"},"has_fund":{"description":"Whether the customer has funds/credits available","type":"boolean"},"is_active":{"description":"Whether the customer has an active cloud subscription","type":"boolean"},"is_edu":{"description":"Whether the customer is classified as an education user. Derived from the email domain once the user's email is verified; updates after signup are upward-only.","type":"boolean"},"renewal_date":{"description":"The next renewal date for the subscription (ISO 8601 format)","format":"date-time","nullable":true,"type":"string"},"subscription_duration":{"allOf":[{"$ref":"#/components/schemas/SubscriptionDuration"}],"nullable":true},"subscription_id":{"description":"The active subscription ID if one exists","nullable":true,"type":"string"},"subscription_tier":{"allOf":[{"$ref":"#/components/schemas/SubscriptionTier"}],"nullable":true}},"type":"object"}}},"description":"Cloud subscription status retrieved successfully"},"400":{"description":"Workspace scope is required when requesting history"},"401":{"description":"Unauthorized or missing admin API secret"},"404":{"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Admin check cloud subscription status","tags":["Admin"],"x-excluded":true}},"/admin/customers/{customer_id}/partner-node-concurrency-override":{"delete":{"description":"Clears the override (sets it to NULL) so the customer's limit reverts to the spend engine.\n","operationId":"ClearAdminCustomerConcurrencyOverride","parameters":[{"in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"}}},"description":"Override cleared successfully"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Admin clear customer partner-node concurrency override","tags":["Admin"],"x-excluded":true},"get":{"description":"Returns the customer's current partner-node concurrency override (the raw column value), the per-customer limit the gate enforces right now, and the limit the spend engine would apply if the override were cleared. These are legacy-billing values: a cloud-billed call is limited by its workspace instead, and of the override only 0 (a block) applies to it.\n","operationId":"GetAdminCustomerConcurrencyOverride","parameters":[{"in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"customer_id":{"type":"string"},"effective_limit":{"description":"Per-customer limit the gate enforces right now for legacy-billed calls.","type":"integer"},"effective_reason":{"type":"string"},"engine_limit":{"description":"Limit the spend engine would apply if the override were cleared.","type":"integer"},"engine_reason":{"type":"string"},"lifetime_paid_spend_cents":{"description":"Lifetime paid spend in cents; null when the spend query failed.","format":"int64","nullable":true,"type":"integer"},"override":{"description":"Raw override column value; null when unset.","nullable":true,"type":"integer"}},"required":["customer_id","effective_limit","effective_reason","engine_limit","engine_reason"],"type":"object"}}},"description":"Override and resolved limits retrieved successfully"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Admin get customer partner-node concurrency override","tags":["Admin"],"x-excluded":true},"put":{"description":"Pins the customer's partner-node concurrency override. Semantics: 0 = blocked, -1 = unlimited, positive = hard limit. Allowed values are -1, 0, and 1..200.\n","operationId":"SetAdminCustomerConcurrencyOverride","parameters":[{"in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"override":{"description":"-1 unlimited, 0 blocked, 1..200 hard limit. Must be present and non-null; a missing or null value is rejected with 400 (use DELETE to clear the override).\n","nullable":true,"type":"integer"}},"required":["override"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"}}},"description":"Override set successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid override value"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Admin set customer partner-node concurrency override","tags":["Admin"],"x-excluded":true}},"/admin/customers/{customer_id}/partner-node-gate-counters":{"delete":{"description":"DELETEs the customer's live gate counter keys so a counter stranded by a pod death between acquire and release stops shrinking their ceiling. The keys are deleted, never zeroed — the release scripts already treat an absent key as 0 and delete at \u003c= 0, so a zero-valued key would only be a key with no expiry. Each reset entry reports the value that was discarded, which is the audit record of what was actually thrown away. An id with no local Customer row is RESET rather than rejected — see customer_known — because the gates key their counters on the caller id unconditionally and a row-less id can strand one.\n","operationId":"ResetAdminCustomerGateCounters","parameters":[{"description":"The customer's Firebase UID. An id containing \":\" is rejected with a 400 before any key is deleted: the Redis key families separate their family marker from the id with \":\", so such an id would alias — and this endpoint would then DESTROY — another customer's counter keys.\n","in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"description":"Which counters to reset. \"all\" (the default when the parameter is absent) resets the call counter, the committed-spend counter and every known tier counter. \"concurrency\" resets only the call counter, \"committed_spend\" only the committed-spend counter, and \"tier:\u003cname\u003e\" one tier counter, e.g. \"tier:expensive\". Any other value — including an explicitly empty one — is a 400 rather than a silent no-op or a silent reset of everything.\n","in":"query","name":"scope","schema":{"default":"all","example":"all","type":"string"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"customer_known":{"description":"False when no Customer row exists for this id; counters are reset directly from Redis under the given id. A typo'd id reads as customer_known:false with an empty reset list.\n","type":"boolean"},"message":{"type":"string"},"reset":{"description":"One entry per key that HELD a value and was deleted. A key that was already absent is omitted, so an empty array means the customer was holding nothing in scope.\n","items":{"properties":{"key":{"type":"string"},"previous_value":{"format":"int64","type":"integer"}},"required":["key","previous_value"],"type":"object"},"type":"array"}},"required":["message","customer_known","reset"],"type":"object"}}},"description":"Gate counters reset successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid scope, or invalid customer id"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gate disabled (no Redis client wired)"}},"summary":"Admin reset customer partner-node gate counters","tags":["Admin"],"x-excluded":true},"get":{"description":"Returns the LIVE Redis counters the partner-node gates read: the in-flight call counter, the in-flight committed-spend counter (USD cents), and one entry per known concurrency tier. Each entry carries the Redis key, its current value and its remaining TTL in seconds. A key that does not exist reports value 0 and a null ttl_seconds; a key that exists without an expiry also reports a null ttl_seconds (see ttl_seconds). Read-only — nothing here changes a limit; the LIMIT override lives at /admin/customers/{customer_id}/partner-node-concurrency-override. An id with no local Customer row is READ rather than rejected — see customer_known — because the gates key their counters on the caller id unconditionally and a row-less id can strand one.\n","operationId":"GetAdminCustomerGateCounters","parameters":[{"description":"The customer's Firebase UID. An id containing \":\" is rejected with a 400: the Redis key families separate their family marker from the id with \":\", so such an id would alias another customer's counter keys.\n","in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"committed_spend_cents":{"$ref":"#/components/schemas/PartnerNodeGateCounter"},"concurrency":{"$ref":"#/components/schemas/PartnerNodeGateCounter"},"customer_id":{"type":"string"},"customer_known":{"description":"False when no Customer row exists for this id; counters are read directly from Redis under the given id. A typo'd id reads as customer_known:false with all-zero counters.\n","type":"boolean"},"tiers":{"items":{"$ref":"#/components/schemas/PartnerNodeGateTierCounter"},"type":"array"}},"required":["customer_id","customer_known","concurrency","committed_spend_cents","tiers"],"type":"object"}}},"description":"Gate counters retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid customer id (contains the \":\" key separator)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gate disabled (no Redis client wired)"}},"summary":"Admin inspect customer partner-node gate counters","tags":["Admin"],"x-excluded":true}},"/admin/customers/{customer_id}/refresh-has-fund":{"post":{"description":"Re-reads the customer's authoritative legacy balance through billing-api and reports whether a closed has-fund gate would be reopened. Dry run by default: nothing is written unless `dry_run=false` is passed. With `dry_run=false` the gate is reopened only when it is currently closed AND billing-api reports an authoritative effective balance above zero; the write is audited (`update_has_fund`). This route never closes the gate. Built to reconcile customers flipped by a Metronome zero-balance webhook burst — see docs/runbooks/zero-balance-webhook-reconciliation.md.","operationId":"RefreshAdminCustomerHasFund","parameters":[{"description":"The ID of the customer to re-check","in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"description":"When true (the default), report what would change without writing. Pass false to reopen the gate where `would_restore` is true.","in":"query","name":"dry_run","schema":{"default":true,"type":"boolean"}},{"description":"Admin API secret used to authorize this request","in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"customer_id":{"type":"string"},"effective_balance":{"description":"billing-api's effective balance (total minus pending charges), in cents of the customer's currency. Absent for a customer with no Metronome customer.","format":"double","type":"number"},"effective_balance_authoritative":{"description":"Whether billing-api's pending-charges read succeeded, so `effective_balance` can be trusted to reopen the gate.","type":"boolean"},"has_fund_before":{"description":"The customer's has-fund gate as read before this call.","type":"boolean"},"metronome_customer_id":{"description":"Empty when the customer has no Metronome customer yet; such a customer is never restored.","type":"string"},"restored":{"description":"True iff this call reopened the gate (only possible with `dry_run=false`).","type":"boolean"},"would_restore":{"description":"True iff the gate is closed, the balance is authoritative and the effective balance is above zero.","type":"boolean"}},"required":["customer_id","metronome_customer_id","has_fund_before","effective_balance_authoritative","would_restore","restored"],"type":"object"}}},"description":"Customer re-checked; `restored` says whether the gate was reopened by this call"},"401":{"description":"Unauthorized or missing admin API secret"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"billing-api is throttled by Metronome or out of read budget. Retry after the suggested delay; nothing was written.","headers":{"Retry-After":{"schema":{"type":"integer"}}}}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Admin re-check a customer's has-fund gate against billing-api","tags":["Admin"],"x-excluded":true}},"/admin/customers/{customer_id}/stripe-data":{"delete":{"description":"Deletes the Stripe customer data associated with the given customer ID.","operationId":"DeleteAdminCustomerStripeData","parameters":[{"description":"The ID of the customer whose Stripe data to delete","in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"description":"Admin API secret used to authorize this request","in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"description":"Success message","type":"string"}},"type":"object"}}},"description":"Stripe data deleted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request - missing required parameter"},"401":{"description":"Unauthorized or missing admin API secret"},"404":{"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Delete customer Stripe data","tags":["Admin"],"x-excluded":true}},"/admin/generate-token":{"post":{"description":"Generates a short-lived JWT admin token for browser-based admin operations.\nThe user must already be authenticated with Firebase and have admin privileges.\nThe generated token expires after 1 hour.\n","operationId":"GenerateAdminToken","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"expires_at":{"description":"When the token expires","format":"date-time","type":"string"},"token":{"description":"The JWT admin token","type":"string"}},"required":["token","expires_at"],"type":"object"}}},"description":"JWT token generated successfully"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized or user is not an admin"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Generate a short-lived JWT admin token","tags":["Admin"]}},"/admin/nodes":{"post":{"operationId":"AdminCreateNode","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Node"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Node"}}},"description":"Node created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"401":{"description":"Unauthorized"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Duplicate error."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Create a new custom node using admin priviledge","tags":["Registry"],"x-excluded":true}},"/admin/nodes/{nodeId}":{"put":{"description":"Only admins can update a node with admin privileges.","operationId":"AdminUpdateNode","parameters":[{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Node"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Node"}}},"description":"Node updated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Node not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Admin Update Node","tags":["Registry"],"x-excluded":true}},"/admin/nodes/{nodeId}/versions/{versionNumber}":{"put":{"description":"Only admins can approve a node version.","operationId":"AdminUpdateNodeVersion","parameters":[{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}},{"in":"path","name":"versionNumber","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"status":{"$ref":"#/components/schemas/NodeVersionStatus"},"status_reason":{"description":"The reason for the status change.","type":"string"},"supported_accelerators":{"description":"List of accelerators (e.g. CUDA, DirectML, ROCm) that this node supports","items":{"type":"string"},"type":"array"},"supported_comfyui_frontend_version":{"description":"Supported versions of ComfyUI frontend","type":"string"},"supported_comfyui_version":{"description":"Supported versions of ComfyUI","type":"string"},"supported_os":{"description":"List of operating systems that this node supports","items":{"type":"string"},"type":"array"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeVersion"}}},"description":"Version updated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Version not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Admin Update Node Version Status","tags":["Registry"],"x-excluded":true}},"/admin/nodeversions":{"get":{"description":"Admin-only endpoint to list all node versions with support for including deleted versions. Only admins can access this endpoint.","operationId":"AdminListAllNodeVersions","parameters":[{"in":"query","name":"nodeId","schema":{"type":"string"}},{"explode":true,"in":"query","name":"statuses","schema":{"items":{"$ref":"#/components/schemas/NodeVersionStatus"},"type":"array"},"style":"form"},{"in":"query","name":"include_status_reason","schema":{"default":false,"type":"boolean"}},{"description":"The page number to retrieve.","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"The number of items to include per page.","in":"query","name":"pageSize","schema":{"default":10,"type":"integer"}},{"description":"search for status_reason, case insensitive","in":"query","name":"status_reason","schema":{"type":"string"}},{"description":"Include soft-deleted node versions in the results","in":"query","name":"include_deleted","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"page":{"description":"Current page number","type":"integer"},"pageSize":{"description":"Maximum number of node versions per page. Maximum is 100.","type":"integer"},"total":{"description":"Total number of node versions available","type":"integer"},"totalPages":{"description":"Total number of pages available","type":"integer"},"versions":{"items":{"$ref":"#/components/schemas/NodeVersion"},"type":"array"}},"type":"object"}}},"description":"List of all node versions"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid input, object invalid"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Admin list all node versions with optional filters","tags":["Registry"],"x-excluded":true}},"/admin/partner-node-model-overrides":{"delete":{"description":"Removes the override so the model reverts to cost-based classification. Idempotent (200 even if no override existed).\n\nIdentical to `DELETE /admin/partner-node-model-overrides/{model}` except that the model is carried in a query parameter, so a SLASHED model ID such as `flux-tools/vto-v1` is addressable here.\n","operationId":"ClearAdminModelOverride","parameters":[{"description":"Model identifier to clear. May contain slashes.","in":"query","name":"model","required":true,"schema":{"maxLength":256,"minLength":1,"type":"string"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"}}},"description":"Override cleared successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Admin clear a model tier override (model in the query)","tags":["Admin"],"x-excluded":true},"get":{"description":"Returns the effective tier classification for every model known to the rate card or the override table (override-aware; most rows have no override).\n\nPass `?model=\u003cid\u003e` to narrow the SAME response to exactly that model — the collection form of `GET /admin/partner-node-model-overrides/{model}`, and the only one that can address a SLASHED model ID such as `flux-tools/vto-v1` (a slash is legal in a query value, raw or percent-encoded, but splits a `{model}` path segment in two). The response shape is unchanged either way: `models` holds one entry when `model` is supplied and every classification when it is omitted. Unknown models resolve to the default classification (not capped), so a narrowed read always returns exactly one entry.\n","operationId":"ListAdminModelOverrides","parameters":[{"description":"Narrow the response to this one model's classification. May contain slashes. Omit to list every classified model.\n","in":"query","name":"model","schema":{"maxLength":256,"minLength":1,"type":"string"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"models":{"items":{"$ref":"#/components/schemas/ModelClassification"},"type":"array"}},"required":["models"],"type":"object"}}},"description":"Classifications retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid model"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Admin list partner-node model tier classifications","tags":["Admin"],"x-excluded":true},"put":{"description":"Upserts an override pinning the model to a tier. tier must be 'expensive' or 'exempt'. The row is durable once this returns 200; the handling pod then attempts a best-effort cache refresh, and every pod (this one included, if that refresh failed) picks the row up within MODEL_OVERRIDE_REFRESH regardless.\n\nIdentical to `PUT /admin/partner-node-model-overrides/{model}` except that the model is carried in the request body, so a SLASHED model ID such as `flux-tools/vto-v1` — which cannot be spelled as one path segment — is addressable here.\n","operationId":"UpsertAdminModelOverride","parameters":[{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"model":{"description":"Model identifier. May contain slashes.","maxLength":256,"minLength":1,"type":"string"},"tier":{"description":"'expensive' or 'exempt'.","enum":["expensive","exempt"],"type":"string"}},"required":["model","tier"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"}}},"description":"Override set successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid tier or model"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Admin set a model tier override (model in the body)","tags":["Admin"],"x-excluded":true}},"/admin/partner-node-model-overrides/{model}":{"delete":{"description":"Removes the override so the model reverts to cost-based classification. Idempotent (200 even if no override existed). Note: {model} is a single URL path segment, so a model ID containing a slash cannot be addressed via this route; use `DELETE /admin/partner-node-model-overrides?model=\u003cid\u003e` for those.\n","operationId":"DeleteAdminModelOverride","parameters":[{"in":"path","name":"model","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"}}},"description":"Override cleared successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Admin clear a model tier override","tags":["Admin"],"x-excluded":true},"get":{"description":"Returns the model's effective tier — the override if one is set, else the cost-based classification. Always 200; an unknown model resolves to the default (not capped). Note: {model} is a single URL path segment, so a model ID containing a slash (BFL's `flux-tools/vto-v1` and its siblings) cannot be addressed via this route; use `GET /admin/partner-node-model-overrides?model=\u003cid\u003e` for those.\n","operationId":"GetAdminModelOverride","parameters":[{"in":"path","name":"model","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelClassification"}}},"description":"Classification retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Admin get a model's effective tier","tags":["Admin"],"x-excluded":true},"put":{"description":"Upserts an override pinning the model to a tier. tier must be 'expensive' or 'exempt'. The row is durable once this returns 200; the handling pod then attempts a best-effort cache refresh, and every pod (this one included, if that refresh failed) picks the row up within MODEL_OVERRIDE_REFRESH regardless. Note: {model} is a single URL path segment, so a model ID containing a slash cannot be addressed via this route; use `PUT /admin/partner-node-model-overrides` with the model in the body for those.\n","operationId":"SetAdminModelOverride","parameters":[{"in":"path","name":"model","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"tier":{"description":"'expensive' or 'exempt'.","enum":["expensive","exempt"],"type":"string"}},"required":["tier"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"}}},"description":"Override set successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid tier or model"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Admin set a model tier override","tags":["Admin"],"x-excluded":true}},"/admin/router/partner-model-inventory":{"get":{"description":"Read-only report of every model in the deployed Comfy Router catalog — the same list the synchronous Router serves — with each model's serving endpoints, whether each endpoint's route is registered in this pod's partner proxy map, its alternate-provider legs, whether each pricing key has a live rate on the loaded rate card, and its embargo state. Built from in-memory state only; performs no writes.\n\nWith include_realtime=true, canonical realtime session ids are appended after that catalog. A canonical id is a key of this pod's live router_realtime_models allowlist that realtimeOwnerPrefixes declares and that is a session id the broker can match: owner and model segments, no empty, \".\" or \"..\" segment, and only letters, digits, \"-\", \"_\" and \".\". Those rows are route_class realtime. They are not added to GET /v2/models. Callers that do not understand route_class must omit include_realtime: grading a realtime row as a synchronous catalog id fails proxy, schema and quote checks that do not apply to a websocket session. An unreadable allowlist answers 503 rather than a catalog that simply omits realtime ids. No active config is an empty allowlist, not an error.\n\nGated by COMFY_ROUTER_ADMIN_INVENTORY_ENABLED (default off): while off, authenticated and authorized callers receive 404. Answers 503 rather than guessing when a live source (the rate card, the partner proxy map, or an enabled embargo set) has not loaded yet, or the rate card loaded empty. With include_realtime=true, an unreadable realtime allowlist is the same 503.\n","operationId":"GetAdminPartnerModelInventory","parameters":[{"description":"Append canonical realtime session models (route_class realtime) after the synchronous catalog. Omit it, or pass false, for the synchronous catalog alone. Callers that cannot read route_class must omit it.\n","in":"query","name":"include_realtime","schema":{"default":false,"type":"boolean"}},{"in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerModelInventory"}}},"description":"Inventory retrieved successfully"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Inventory endpoint disabled (COMFY_ROUTER_ADMIN_INVENTORY_ENABLED is off)"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A live source (rate card, partner proxy map, embargo set, or, when include_realtime is true, the realtime allowlist) has not loaded yet, or the rate card loaded empty"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Admin read the deployed partner model inventory","tags":["Admin"],"x-excluded":true}},"/admin/sync-api-key-deletion":{"post":{"description":"Reverse-direction delete-sync (cloud → comfy-api registry, BE-1542). When a\nworkspace API key is deleted in cloud (the new source of truth), cloud calls\nthis endpoint so the comfy-api registry's api_keys row is removed too,\nkeeping the two stores convergent. Idempotent: deleting an unknown hash is a\nno_op. M2M/admin-only; carries the key hash, never plaintext.\n","operationId":"SyncApiKeyDeletion","parameters":[{"description":"Admin API secret used to authorize this request","in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"customer_id":{"description":"Firebase UID of the key's owner, for mismatch detection. The\ndeletion proceeds by hash regardless (mirrors cloud's inbound\nRevokeByHash semantics).\n","type":"string"},"event":{"description":"Sync event type; only \"delete\" is supported.","enum":["delete"],"example":"delete","type":"string"},"key_hash":{"description":"SHA-256 hex hash of the API key to revoke.","maxLength":64,"minLength":64,"pattern":"^[A-Fa-f0-9]{64}$","type":"string"}},"required":["event","key_hash","customer_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"result":{"description":"revoked when a matching key was deleted; no_op when no key\nmatched the hash (already deleted or never existed).\n","type":"string"}},"required":["result"],"type":"object"}}},"description":"Delete-sync processed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid request (missing fields or unsupported event)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized or missing admin API secret"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Revoke a registry API key by hash (reverse delete-sync)","tags":["Admin"],"x-excluded":true}},"/admin/sync-customer-api-keys-deletion":{"post":{"description":"Per-customer reverse delete-sync (cloud → comfy-api registry, BE-19261).\nWhen an SSO directory removes a person, cloud revokes the keys it holds and\ndeletes each from the registry by hash; a registry key cloud never mirrored\nhas no hash there. This deletes every registry api_keys row owned by the\nnamed customers, so none survives the removal. Idempotent: a customer with\nno keys deletes nothing. M2M/admin-only.\n","operationId":"SyncCustomerApiKeysDeletion","parameters":[{"description":"Admin API secret used to authorize this request","in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"customer_ids":{"description":"Firebase UIDs of the customers whose API keys are deleted.","items":{"maxLength":128,"minLength":1,"type":"string"},"maxItems":100,"minItems":1,"type":"array"}},"required":["customer_ids"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"deleted":{"description":"How many API keys were deleted; 0 when the customers had none.","type":"integer"}},"required":["deleted"],"type":"object"}}},"description":"Delete-sync processed"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid request (no customer ids, too many, or an empty id)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized or missing admin API secret"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Revoke every registry API key a customer owns (reverse delete-sync)","tags":["Admin"],"x-excluded":true}},"/admin/verify-api-key":{"post":{"description":"Validates a ComfyUI API key and returns the associated customer information.\nThis endpoint is used by cloud.comfy.org to authenticate users via API keys\ninstead of Firebase tokens.\n","operationId":"VerifyApiKey","parameters":[{"description":"Admin API secret used to authorize this request","in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"api_key":{"description":"The ComfyUI API key to verify (e.g., comfy_xxx...)","type":"string"},"include_customer_keys":{"description":"When true, the response also includes customer_api_keys: the\nfull set of the customer's API keys (hash + prefix + name +\ndescription) so cloud's migrate-on-miss can seed ALL of the\ncustomer's keys into workspace_api_keys, not just the one being\nverified. M2M/admin-only; carries hashes, never plaintext.\n","type":"boolean"}},"required":["api_key"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"customer_api_keys":{"description":"All of the customer's API keys — returned ONLY when the\nrequest sets include_customer_keys=true. Lets cloud's\nmigrate-on-miss seed every key into workspace_api_keys (by\nhash) so the cloud key list matches the customer's full set,\nnot just the one verified. M2M/admin-only; hashes, no plaintext.\n","items":{"$ref":"#/components/schemas/MigrationAPIKey"},"type":"array"},"email":{"description":"The customer's email address","type":"string"},"firebase_uid":{"description":"The Firebase UID of the user","type":"string"},"is_admin":{"description":"Whether the customer is an admin","type":"boolean"},"key_description":{"description":"The api_keys row's own description. Returned so that cloud's\nmigrate-on-miss path can preserve it on the cached\nworkspace_api_keys row instead of writing a placeholder.\n","type":"string"},"key_id":{"description":"The api_keys row's id.","format":"uuid","type":"string"},"key_name":{"description":"The api_keys row's own name (display label). Returned so that\ncloud's migrate-on-miss path can preserve it on the cached\nworkspace_api_keys row instead of writing a placeholder.\n","type":"string"},"key_prefix":{"description":"The key's display prefix (`comfyui-` plus eight hex chars), the\nsame value the key management UI shows. Safe to display; it is\nnot the key.\n","type":"string"},"name":{"description":"The customer's name","type":"string"},"valid":{"description":"Whether the API key is valid","type":"boolean"}},"required":["valid","firebase_uid"],"type":"object"}}},"description":"API key is valid"},"401":{"description":"Unauthorized or missing admin API secret"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"API key auth not allowed for this account (e.g., free tier)"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"API key not found or invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Verify a ComfyUI API key and return customer details","tags":["Admin"],"x-excluded":true}},"/app-proxy/{proxy_id}/assets":{"post":{"description":"Streams a multipart upload to the app's deployment (`POST /api/v2/assets` of the Comfy API v2 contract) under the sponsor key. Bounded by the app's upload cap and never buffered whole. Uploads are free. Assets are content-addressed by the deployment, so identical bytes come back as the existing asset: bind the returned `file_path` in the workflow. Limited per user per hour (429 `upload_rate_limited` with `Retry-After`).","operationId":"UploadAppProxyAsset","parameters":[{"$ref":"#/components/parameters/AppProxyId"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"content_type":{"type":"string"},"expected_hash":{"type":"string"},"expires_in":{"type":"integer"},"file":{"format":"binary","type":"string"},"file_path":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"}},"required":["file","content_type","file_path"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppProxyObject"}}},"description":"Bytes already stored. The existing asset is returned when it has the same name and bytes; otherwise a new asset is made over the stored bytes."},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppProxyObject"}}},"description":"New blob stored; asset minted."},"400":{"$ref":"#/components/responses/AppProxyError"},"401":{"$ref":"#/components/responses/AppProxyError"},"404":{"$ref":"#/components/responses/AppProxyError"},"409":{"$ref":"#/components/responses/AppProxyError"},"413":{"$ref":"#/components/responses/AppProxyError"},"422":{"$ref":"#/components/responses/AppProxyError"},"429":{"$ref":"#/components/responses/AppProxyError"},"502":{"$ref":"#/components/responses/AppProxyError"},"503":{"$ref":"#/components/responses/AppProxyError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Upload an input asset to an app's deployment.","tags":["App Proxy"],"x-excluded":true}},"/app-proxy/{proxy_id}/jobs":{"post":{"description":"Admits the run, then submits the workflow to the app's deployment under the sponsor key. Admission takes one of the caller's free runs for the rolling period if any remain; otherwise, for a priced app, it requires the caller's balance to cover the run's price (402 `insufficient_credits`) and the run is charged that price when it succeeds (a failed or cancelled run is not charged); otherwise it is refused 429 `free_runs_exhausted` with `Retry-After`. A per-second app prices each metered job from its workflow (seconds x the rate for its tier, rounded up to whole credits); a metered job whose price cannot be read from the workflow is refused 400 `unpriceable_workflow` before anything is reserved. A free run is consumed once the deployment accepts it, even if it later fails. Only `workflow` is forwarded. `Idempotency-Key` is scoped to the caller and this app: a repeat returns the original job with 200 and takes nothing again. An app may declare node classes whose jobs are UNMETERED (a multi-stage app's preparation step): a workflow made only of those classes spends no free run and is never charged, and is capped per user per hour instead (429 `unmetered_rate_limited`).","operationId":"SubmitAppProxyJob","parameters":[{"$ref":"#/components/parameters/AppProxyId"},{"description":"Client-generated key (a UUID is recommended), max 255 characters.","in":"header","name":"Idempotency-Key","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppProxyJobRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppProxyObject"}}},"description":"Idempotent replay - the job this key already created."},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppProxyObject"}}},"description":"Job accepted by the deployment."},"400":{"$ref":"#/components/responses/AppProxyError"},"401":{"$ref":"#/components/responses/AppProxyError"},"402":{"$ref":"#/components/responses/AppProxyError"},"404":{"$ref":"#/components/responses/AppProxyError"},"409":{"$ref":"#/components/responses/AppProxyError"},"413":{"$ref":"#/components/responses/AppProxyError"},"422":{"$ref":"#/components/responses/AppProxyError"},"429":{"$ref":"#/components/responses/AppProxyError"},"500":{"$ref":"#/components/responses/AppProxyError"},"502":{"$ref":"#/components/responses/AppProxyError"},"503":{"$ref":"#/components/responses/AppProxyError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Run an app.","tags":["App Proxy"],"x-excluded":true}},"/app-proxy/{proxy_id}/jobs/{job_id}":{"get":{"description":"The deployment's job object for a run the caller submitted, with its follow-up links rewritten to this proxy. `outputs` stays empty, and the body carries no URL, until the job has succeeded: only a succeeded run is charged. Any other job answers 404.","operationId":"GetAppProxyJob","parameters":[{"$ref":"#/components/parameters/AppProxyId"},{"$ref":"#/components/parameters/AppProxyJobId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppProxyObject"}}},"description":"The job."},"401":{"$ref":"#/components/responses/AppProxyError"},"404":{"$ref":"#/components/responses/AppProxyError"},"502":{"$ref":"#/components/responses/AppProxyError"},"503":{"$ref":"#/components/responses/AppProxyError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Poll one of the caller's app runs.","tags":["App Proxy"],"x-excluded":true}},"/app-proxy/{proxy_id}/jobs/{job_id}/cancel":{"post":{"description":"Requests cancellation of a run the caller submitted and returns the current job. A cancelled paid run is not charged; a cancelled free run still counts against the free-run allowance. Any other job answers 404.","operationId":"CancelAppProxyJob","parameters":[{"$ref":"#/components/parameters/AppProxyId"},{"$ref":"#/components/parameters/AppProxyJobId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppProxyObject"}}},"description":"The job after the cancel request."},"401":{"$ref":"#/components/responses/AppProxyError"},"404":{"$ref":"#/components/responses/AppProxyError"},"502":{"$ref":"#/components/responses/AppProxyError"},"503":{"$ref":"#/components/responses/AppProxyError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Cancel one of the caller's app runs.","tags":["App Proxy"],"x-excluded":true}},"/app-proxy/{proxy_id}/jobs/{job_id}/outputs/{output_id}/content":{"get":{"description":"Streams the bytes of an output of a run the caller submitted, always on this origin: comfy-api reads the output's signed storage URL itself rather than redirecting, so a browser fetch() can read the response under comfy-api's CORS policy (the storage bucket sends none). `output_id` is the output's `id` on the job object. Answers 404, like any other job or output, until the job has succeeded.","operationId":"GetAppProxyJobOutputContent","parameters":[{"$ref":"#/components/parameters/AppProxyId"},{"$ref":"#/components/parameters/AppProxyJobId"},{"description":"The output's asset id, from the job object's `outputs[].id`.","in":"path","name":"output_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}}},"description":"The output bytes, as an attachment (`Content-Disposition: attachment`, `X-Content-Type-Options: nosniff`, `Cache-Control: private, no-store`) with the deployment's content type."},"401":{"$ref":"#/components/responses/AppProxyError"},"404":{"$ref":"#/components/responses/AppProxyError"},"502":{"$ref":"#/components/responses/AppProxyError"},"503":{"$ref":"#/components/responses/AppProxyError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Download one output of the caller's app run.","tags":["App Proxy"],"x-excluded":true}},"/app-proxy/{proxy_id}/quote":{"get":{"description":"What the caller's next run of this app would cost: how many of their free runs remain in the rolling free-run period, when the next one frees up, the credit price of a paid run (flat, or per second of output by tier), and whether the next run would be free, paid or refused. Starts no compute and consumes nothing. An unknown or disabled app answers 404, indistinguishable from each other.","operationId":"GetAppProxyQuote","parameters":[{"$ref":"#/components/parameters/AppProxyId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppProxyQuote"}}},"description":"The caller's quote."},"401":{"$ref":"#/components/responses/AppProxyError"},"404":{"$ref":"#/components/responses/AppProxyError"},"500":{"$ref":"#/components/responses/AppProxyError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Quote the caller's next run of an app.","tags":["App Proxy"],"x-excluded":true}},"/branch":{"get":{"description":"Returns all branches for a given repo.","operationId":"GetBranch","parameters":[{"description":"The repo to filter by.","in":"query","name":"repo_name","required":true,"schema":{"default":"comfyanonymous/ComfyUI","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"branches":{"items":{"type":"string"},"type":"array"}},"type":"object"}}},"description":"An array of branches"},"404":{"description":"Repo not found"},"500":{"description":"Internal server error"}},"summary":"Retrieve all distinct branches for a given repo","tags":["ComfyUI CI"],"x-excluded":true}},"/bulk/nodes/versions":{"post":{"description":"Retrieves up to 1000 node versions in one request. Requests carrying more than 1000 identifiers are rejected in full with a 400 — there is no partial result — so clients with more than 1000 installed packs must split the list into batches of at most 1000 and merge the responses. Each node_id and version value is limited to 200 characters.\n","operationId":"GetBulkNodeVersions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkNodeVersionsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkNodeVersionsResponse"}}},"description":"Successfully retrieved node versions"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request — a missing request body, an empty node_versions array, more than 1000 identifiers, or a node_id or version value over 200 characters.\n"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve multiple node versions in a single request","tags":["Registry"]}},"/comfy-nodes":{"get":{"operationId":"ListAllComfyNodes","parameters":[{"description":"The number of items to include per page. A value above the maximum is clamped down to it; 0 and negative values are accepted and select the default. (That is why no minimum is declared — sub-1 is meaningful here, not invalid.) The page size actually served is echoed back as page_size, so a clamp is always detectable.","in":"query","name":"pageSize","schema":{"default":100,"maximum":100,"type":"integer"}},{"description":"Page number (1-based indexing)","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"Filter by node ID","in":"query","name":"node_id","schema":{"type":"string"}},{"description":"Filter by node version","in":"query","name":"node_version","schema":{"type":"string"}},{"description":"Filter by ComfyUI node name","in":"query","name":"comfy_node_name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"comfy_nodes":{"items":{"$ref":"#/components/schemas/ComfyNode"},"type":"array"},"page_size":{"description":"The page size actually served. The server clamps pageSize to the documented maximum, so this can be smaller than the requested value; paginate with this number rather than the one you asked for, or you will skip rows.","type":"integer"},"total":{"description":"Total number of comfy nodes","type":"integer"}},"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"list all comfy-nodes","tags":["Registry"]}},"/comfy-nodes/backfill":{"post":{"operationId":"ComfyNodesBackfill","parameters":[{"in":"query","name":"max_node","schema":{"default":10,"type":"integer"}}],"responses":{"204":{"description":"Backfill triggered"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"trigger comfy nodes backfill","tags":["Registry"],"x-excluded":true}},"/comfy-nodes/{comfyNodeName}/node":{"get":{"description":"Returns the node that contains a ComfyUI node with the specified name","operationId":"GetNodeByComfyNodeName","parameters":[{"description":"The name of the ComfyUI node","in":"path","name":"comfyNodeName","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Node"}}},"description":"Node details"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"No node found containing the specified ComfyUI node name"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve a node by ComfyUI node name","tags":["Registry"]}},"/customers":{"get":{"description":"Search for customers by email, name, Stripe ID, or Metronome ID.","operationId":"SearchCustomers","parameters":[{"description":"Email address to search for","in":"query","name":"email","schema":{"type":"string"}},{"description":"Customer name to search for","in":"query","name":"name","schema":{"type":"string"}},{"description":"Stripe customer ID to search for","in":"query","name":"stripe_id","schema":{"type":"string"}},{"description":"Metronome customer ID to search for\\","in":"query","name":"metronome_id","schema":{"type":"string"}},{"description":"Page number to retrieve","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"Number of customers to return per page. Values above the declared maximum are outside the contract, but this service does not reject them: it serves the maximum instead, and the page size actually served is echoed back as limit (and drives totalPages), so a clamp is always detectable by the caller. Treat the maximum as the real page stride — a client that asks for more and assumes it received more will miss rows. 0 and negative values are also accepted and select the default, which is why no minimum is declared: sub-1 is meaningful here, not invalid.","in":"query","name":"limit","schema":{"default":10,"maximum":100,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"customers":{"items":{"$ref":"#/components/schemas/Customer"},"type":"array"},"limit":{"description":"Number of customers per page","type":"integer"},"page":{"description":"Current page number","type":"integer"},"total":{"description":"Total number of matching customers","type":"integer"},"totalPages":{"description":"Total number of pages available","type":"integer"}},"type":"object"}}},"description":"Customers matching the search criteria"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid request parameters"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - insufficient permissions"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"properties":{"message":{"example":"API key verification service unavailable","type":"string"}},"required":["message"],"type":"object"}}},"description":"API-key verification could not complete; the caller is not authenticated."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Search for customers","tags":["API Nodes","Admin"],"x-excluded":true},"post":{"description":"Creates a new customer. User identity is taken from the bearer token; the optional request body carries a Cloudflare Turnstile token used for server-side bot verification at signup (BE-1490). The body is optional — clients that do not run the Turnstile widget (e.g. the local OSS build) may omit it.","operationId":"CreateCustomer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCustomerRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}},"description":"Customer already exists"},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}},"description":"Customer created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid request"},"401":{"description":"Unauthorized"},"403":{"$ref":"#/components/responses/NoPersonalWorkspace"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"properties":{"message":{"example":"API key verification service unavailable","type":"string"}},"required":["message"],"type":"object"}}},"description":"API-key verification could not complete; the caller is not authenticated."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a new customer","tags":["API Nodes"],"x-excluded":true}},"/customers/admin/coupons":{"get":{"description":"Retrieves a list of all coupons from Stripe. Only admins can list coupons.","operationId":"ListCoupons","parameters":[{"description":"Number of coupons to return","in":"query","name":"limit","schema":{"default":10,"maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"coupons":{"items":{"$ref":"#/components/schemas/CouponResponse"},"type":"array"},"has_more":{"description":"Whether there are more results available","type":"boolean"}},"required":["coupons"],"type":"object"}}},"description":"List of coupons retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - Admin access required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"List all coupons","tags":["Admin","API Nodes"],"x-excluded":true},"post":{"description":"Creates a new coupon in Stripe. Only admins can create coupons.","operationId":"CreateCoupon","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCouponRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponResponse"}}},"description":"Coupon created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - Admin access required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a new Stripe coupon","tags":["Admin","API Nodes"],"x-excluded":true}},"/customers/admin/coupons/{coupon_id}":{"delete":{"description":"Deletes a coupon in Stripe. Only admins can delete coupons.","operationId":"DeleteCoupon","parameters":[{"description":"The Stripe coupon ID","in":"path","name":"coupon_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"coupon_id":{"description":"The deleted coupon ID","type":"string"},"message":{"description":"Success message","type":"string"}},"required":["message","coupon_id"],"type":"object"}}},"description":"Coupon deleted successfully"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - Admin access required"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Coupon not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Delete a coupon","tags":["Admin","API Nodes"],"x-excluded":true},"get":{"description":"Retrieves details of a specific coupon from Stripe. Only admins can view coupons.","operationId":"GetCoupon","parameters":[{"description":"The Stripe coupon ID","in":"path","name":"coupon_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponResponse"}}},"description":"Coupon retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - Admin access required"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Coupon not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a specific coupon","tags":["Admin","API Nodes"],"x-excluded":true},"patch":{"description":"Updates a coupon in Stripe. Only admins can update coupons.","operationId":"UpdateCoupon","parameters":[{"description":"The Stripe coupon ID","in":"path","name":"coupon_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCouponRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponResponse"}}},"description":"Coupon updated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - Admin access required"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Coupon not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Update a coupon","tags":["Admin","API Nodes"],"x-excluded":true}},"/customers/admin/promo-codes":{"get":{"description":"Retrieves a list of all promotional codes from Stripe. Only admins can list promo codes.","operationId":"ListPromoCodes","parameters":[{"description":"Filter by active status","in":"query","name":"active","schema":{"type":"boolean"}},{"description":"Number of promo codes to return","in":"query","name":"limit","schema":{"default":10,"maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"has_more":{"description":"Whether there are more results available","type":"boolean"},"promo_codes":{"items":{"$ref":"#/components/schemas/PromoCodeResponse"},"type":"array"}},"required":["promo_codes"],"type":"object"}}},"description":"List of promo codes retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - Admin access required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"List all promotional codes","tags":["Admin","API Nodes"],"x-excluded":true},"post":{"description":"Creates a new unique promotional code in Stripe for the specified coupon. Only admins can generate promo codes.","operationId":"CreatePromoCode","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePromoCodeRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeResponse"}}},"description":"Promo code created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - Admin access required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate a new Stripe promotional code","tags":["Admin","API Nodes"],"x-excluded":true}},"/customers/admin/promo-codes/{promo_code_id}":{"delete":{"description":"Deactivates a promotional code in Stripe. Only admins can deactivate promo codes.","operationId":"DeletePromoCode","parameters":[{"description":"The Stripe promotion code ID","in":"path","name":"promo_code_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"description":"Success message","type":"string"},"promo_code_id":{"description":"The deactivated promo code ID","type":"string"}},"required":["message","promo_code_id"],"type":"object"}}},"description":"Promo code deactivated successfully"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - Admin access required"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Promo code not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Deactivate a promotional code","tags":["Admin","API Nodes"],"x-excluded":true},"get":{"description":"Retrieves details of a specific promotional code from Stripe. Only admins can view promo codes.","operationId":"GetPromoCode","parameters":[{"description":"The Stripe promotion code ID","in":"path","name":"promo_code_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeResponse"}}},"description":"Promo code retrieved successfully"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - Admin access required"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Promo code not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a specific promotional code","tags":["Admin","API Nodes"],"x-excluded":true},"patch":{"description":"Updates a promotional code in Stripe. Only admins can update promo codes.","operationId":"UpdatePromoCode","parameters":[{"description":"The Stripe promotion code ID","in":"path","name":"promo_code_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePromoCodeRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeResponse"}}},"description":"Promo code updated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - Admin access required"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Promo code not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Update a promotional code","tags":["Admin","API Nodes"],"x-excluded":true}},"/customers/api-keys":{"get":{"operationId":"ListCustomerAPIKeys","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"api_keys":{"items":{"$ref":"#/components/schemas/APIKey"},"type":"array"}},"type":"object"}}},"description":"List of API keys"},"401":{"description":"Unauthorized"},"404":{"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"List all API keys for a customer","x-excluded":true},"post":{"operationId":"CreateCustomerAPIKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAPIKeyRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"api_key":{"$ref":"#/components/schemas/APIKeyWithPlaintext"}},"type":"object"}}},"description":"API key created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ErrorResponse"},{"$ref":"#/components/schemas/SSORefusal"}]}}},"description":"Forbidden - the credential is an API key or is delegated (exchanged from an API key or issued to an OAuth client); API keys can only be created from a first-party browser session (ErrorResponse). Also answered, as an SSORefusal with `code` `sso_required`, when an SSO organization holds the account."},"404":{"description":"Customer or API key not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a new API key for a customer","x-excluded":true}},"/customers/api-keys/{api_key_id}":{"delete":{"operationId":"DeleteCustomerAPIKey","parameters":[{"in":"path","name":"api_key_id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"API key deleted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid api_key_id (must be a UUID)"},"401":{"description":"Unauthorized"},"404":{"description":"Customer or API key not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Delete an API key for a customer","x-excluded":true}},"/customers/balance":{"get":{"description":"Returns the customer's current remaining balance and its currency, with separate breakdowns for prepaid commits and cloud credits. Every amount is CENTS of `currency`; the `*_micros` names are a deprecated misnomer, so divide by 100, never by 1,000,000. Read the `*_cents` fields beside them instead.","operationId":"GetCustomerBalance","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"amount_cents":{"description":"The total remaining balance. Cents of `currency`, the same value as `amount_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"amount_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `amount_cents`. The total remaining balance.","format":"double","type":"number"},"cloud_credit_balance_cents":{"description":"The remaining balance from cloud credits (subscription). Cents of `currency`, the same value as `cloud_credit_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"cloud_credit_balance_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `cloud_credit_balance_cents`. The remaining balance from cloud credits (subscription).","format":"double","type":"number"},"currency":{"description":"The currency code (e.g., \"usd\")","type":"string"},"effective_balance_cents":{"description":"The total balance minus pending charges; negative when charges exceed credit. Cents of `currency`, the same value as `effective_balance_micros`, which is misnamed. Only included when the show_negative_balances feature flag is enabled. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"effective_balance_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `effective_balance_cents`. The total balance minus pending charges; negative when charges exceed credit.","format":"double","type":"number"},"pending_charges_cents":{"description":"Pending/unbilled charges from draft invoices. Cents of `currency`, the same value as `pending_charges_micros`, which is misnamed. Only included when the show_negative_balances feature flag is enabled. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"pending_charges_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `pending_charges_cents`. Pending/unbilled charges from draft invoices.","format":"double","type":"number"},"prepaid_balance_cents":{"description":"The remaining balance from prepaid commits (top-ups). Cents of `currency`, the same value as `prepaid_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"prepaid_balance_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `prepaid_balance_cents`. The remaining balance from prepaid commits (top-ups).","format":"double","type":"number"}},"required":["amount_micros","currency"],"type":"object"}}},"description":"Customer balance retrieved successfully"},"401":{"description":"Unauthorized or invalid token"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get customer's remaining balance","tags":["API Nodes"],"x-excluded":true}},"/customers/billing":{"post":{"description":"Creates a session for the customer to access their billing portal where they can manage subscriptions, payment methods, and view invoices.","operationId":"AccessBillingPortal","requestBody":{"content":{"application/json":{"schema":{"properties":{"cancel_subscription":{"description":"Optional. When true, opens the portal directly on the cancellation confirmation for the customer's cloud subscription, falling back to the plain portal when there is no subscription that can be cancelled. Cannot be combined with target_tier.","type":"boolean"},"return_url":{"description":"Optional URL to redirect the customer after they're done with the billing portal. Must be https (http only on localhost) on a host this deployment allows; otherwise the request is refused with `invalid_return_url`.","type":"string"},"target_tier":{"description":"Optional target subscription tier. When provided, creates a deep link directly to the subscription update confirmation screen with this tier pre-selected.","enum":["standard","creator","pro","standard-yearly","creator-yearly","pro-yearly"],"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"billing_portal_url":{"description":"The URL to redirect the customer to the billing portal","type":"string"}},"type":"object"}}},"description":"Billing portal session created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request or a provider-state refusal. Plan-change refusals use a stable `error` code: `subscription_update_scheduled`, `subscription_update_pending`, or `subscription_plan_unchanged`. Combining `target_tier` with `cancel_subscription` returns `conflicting_portal_flow`. A `return_url` that is not https on an allowed host returns `invalid_return_url`.\n"},"401":{"description":"Unauthorized or invalid token"},"403":{"$ref":"#/components/responses/NoPersonalWorkspace"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Access customer billing portal","tags":["API Nodes","Released"],"x-excluded":true}},"/customers/cloud-subscription-checkout":{"post":{"description":"Creates a cloud subscription checkout session for $20/month with automatic billing","operationId":"CreateCloudSubscriptionCheckout","requestBody":{"content":{"application/json":{"schema":{"properties":{"ga_client_id":{"description":"Google Analytics client ID from _ga cookie","type":"string"},"ga_session_id":{"description":"Google Analytics session ID","type":"string"},"ga_session_number":{"description":"Google Analytics session number","type":"string"},"gbraid":{"description":"Google Ads iOS attribution parameter","type":"string"},"gclid":{"description":"Google Ads click ID","type":"string"},"im_ref":{"description":"Impact.com click ID for affiliate conversion tracking","type":"string"},"rewardful_referral":{"description":"Rewardful referral UUID (window.Rewardful.referral), passed to Stripe as client_reference_id for affiliate conversion tracking","type":"string"},"utm_campaign":{"description":"UTM campaign parameter","type":"string"},"utm_content":{"description":"UTM content parameter","type":"string"},"utm_medium":{"description":"UTM medium parameter","type":"string"},"utm_source":{"description":"UTM source parameter","type":"string"},"utm_term":{"description":"UTM term parameter","type":"string"},"wbraid":{"description":"Google Ads web-to-app attribution parameter","type":"string"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"checkout_url":{"description":"The URL to redirect the customer to complete subscription","type":"string"}},"type":"object"}}},"description":"Subscription checkout session created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input"},"401":{"description":"Unauthorized or invalid token"},"403":{"$ref":"#/components/responses/NoPersonalWorkspace"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create cloud subscription checkout session","tags":["API Nodes","Released"],"x-excluded":true}},"/customers/cloud-subscription-checkout/{tier}":{"post":{"description":"Creates a cloud subscription checkout session for a specific subscription tier (standard, creator, or pro) with automatic billing","operationId":"CreateCloudSubscriptionCheckoutTier","parameters":[{"description":"The subscription tier (standard, creator, or pro) with optional yearly billing (standard-yearly, creator-yearly, pro-yearly)","in":"path","name":"tier","required":true,"schema":{"enum":["standard","creator","pro","standard-yearly","creator-yearly","pro-yearly"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"ga_client_id":{"description":"Google Analytics client ID from _ga cookie","type":"string"},"ga_session_id":{"description":"Google Analytics session ID","type":"string"},"ga_session_number":{"description":"Google Analytics session number","type":"string"},"gbraid":{"description":"Google Ads iOS attribution parameter","type":"string"},"gclid":{"description":"Google Ads click ID","type":"string"},"im_ref":{"description":"Impact.com click ID for affiliate conversion tracking","type":"string"},"rewardful_referral":{"description":"Rewardful referral UUID (window.Rewardful.referral), passed to Stripe as client_reference_id for affiliate conversion tracking","type":"string"},"utm_campaign":{"description":"UTM campaign parameter","type":"string"},"utm_content":{"description":"UTM content parameter","type":"string"},"utm_medium":{"description":"UTM medium parameter","type":"string"},"utm_source":{"description":"UTM source parameter","type":"string"},"utm_term":{"description":"UTM term parameter","type":"string"},"wbraid":{"description":"Google Ads web-to-app attribution parameter","type":"string"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"checkout_url":{"description":"The URL to redirect the customer to complete subscription","type":"string"}},"type":"object"}}},"description":"Subscription checkout session created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input or tier"},"401":{"description":"Unauthorized or invalid token"},"403":{"$ref":"#/components/responses/NoPersonalWorkspace"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create cloud subscription checkout session for a specific tier","tags":["API Nodes","Released"],"x-excluded":true}},"/customers/cloud-subscription-status":{"get":{"description":"Check if the customer has an active cloud subscription","operationId":"GetCloudSubscriptionStatus","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"end_date":{"description":"The date when the subscription is set to end (ISO 8601 format)","format":"date-time","nullable":true,"type":"string"},"free_tier_grant_state":{"allOf":[{"$ref":"#/components/schemas/FreeTierGrantState"}],"nullable":true},"has_fund":{"description":"Whether the customer has funds/credits available","type":"boolean"},"is_active":{"description":"Whether the customer has an active cloud subscription","type":"boolean"},"is_edu":{"description":"Whether the authenticated user is classified as an education user. Derived from the email domain once the user's email is verified; updates after signup are upward-only. User-scoped, unlike the workspace-scoped subscription fields.","type":"boolean"},"renewal_date":{"description":"The next renewal date for the subscription (ISO 8601 format)","format":"date-time","nullable":true,"type":"string"},"subscription_duration":{"allOf":[{"$ref":"#/components/schemas/SubscriptionDuration"}],"nullable":true},"subscription_id":{"description":"The active subscription ID if one exists","nullable":true,"type":"string"},"subscription_tier":{"allOf":[{"$ref":"#/components/schemas/SubscriptionTier"}],"nullable":true}},"type":"object"}}},"description":"Cloud subscription status retrieved successfully"},"401":{"description":"Unauthorized or invalid token"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Check cloud subscription status","tags":["API Nodes","Released"],"x-excluded":true}},"/customers/credit":{"post":{"operationId":"InitiateCreditPurchase","requestBody":{"content":{"application/json":{"schema":{"properties":{"amount_micros":{"description":"the amount of the checkout transaction in micro value","format":"int64","type":"integer"},"currency":{"description":"the currency used in the checkout transaction","type":"string"}},"required":["amount_micros","currency"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"checkout_url":{"description":"the url to redirect the customer","type":"string"}},"type":"object"}}},"description":"Customer Checkout created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid token or user already exists"},"401":{"description":"Unauthorized or invalid token"},"403":{"content":{"application/json":{"schema":{"properties":{"code":{"type":"string"},"error":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"}}},"description":"SSO or personal workspace required, current checkout owner authority was revoked (`TOPUP_CHECKOUT_FORBIDDEN`), or credit purchases are paused (`TOPUP_PURCHASES_PAUSED`)."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Checkout busy, an earlier payment remains in progress, or the requested checkout is no longer payable. The error code identifies the refusal; no fallback purchase was issued."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The workspace made too many top-ups in a short time (`TOPUP_RATE_LIMITED`); no fallback purchase was issued. A later purchase is admitted again."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Checkout temporarily unavailable. Retry after the suggested delay; no legacy fallback purchase was issued.","headers":{"Retry-After":{"schema":{"type":"integer"}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Initiates a Credit Purchase.","tags":["API Nodes","Released"],"x-excluded":true}},"/customers/events":{"get":{"operationId":"GetCustomerEvents","parameters":[{"description":"Page number of the nodes list","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"Number of events to return per page. Values above the declared maximum are outside the contract, but this service does not reject them: it serves the maximum instead, and the page size actually served is echoed back as limit (and drives totalPages), so a clamp is always detectable by the caller. Treat the maximum as the real page stride — a client that asks for more and assumes it received more will miss rows. 0 and negative values are also accepted and select the default, which is why no minimum is declared: sub-1 is meaningful here, not invalid.","in":"query","name":"limit","schema":{"default":10,"maximum":100,"type":"integer"}},{"description":"Event type to filter","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Start date for filtering events (RFC3339 format, e.g., 2025-01-01T00:00:00Z)","in":"query","name":"start_date","schema":{"format":"date-time","type":"string"}},{"description":"End date for filtering events (RFC3339 format, e.g., 2025-01-31T23:59:59Z)","in":"query","name":"end_date","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"events":{"items":{"$ref":"#/components/schemas/AuditLog"},"type":"array"},"limit":{"description":"Maximum number of nodes per page","type":"integer"},"page":{"description":"Current page number","type":"integer"},"total":{"description":"Total number of events available","type":"integer"},"totalPages":{"description":"Total number of pages available","type":"integer"}},"type":"object"}}},"description":"A paginated list of nodes"},"400":{"description":"Invalid input, object invalid"},"404":{"description":"Not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get events related to customer","tags":["API Nodes"],"x-excluded":true}},"/customers/me":{"get":{"description":"Returns details about the currently authenticated customer based on their JWT token.","operationId":"GetAuthenticatedCustomer","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}},"description":"Customer details retrieved successfully"},"401":{"description":"Unauthorized or invalid token"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get authenticated customer details","tags":["API Nodes"],"x-excluded":true}},"/customers/me/partner-node-concurrency":{"get":{"description":"Returns how many partner-node calls the authenticated customer may have in flight at once — the limit the proxy's concurrency gate enforces, resolved the same way the gate resolves it. -1 means unlimited (the gate is off), 0 means blocked, and any other value is a hard ceiling.\n\nA cloud-billed caller is limited per workspace: the limit is the one its current workspace's members share. Of a per-user override only 0 applies to it, as a block reported as limit 0 with reason `manual_override`. Any other caller is limited per customer, across every workspace it acts in. A limit set on the workspace, including 0, is reported with reason `default`.\n\nFor a caller limited per customer this is the read the admin override endpoint performs, minus what a customer has no business seeing. The raw override column, lifetime paid spend, and the limit that clearing the override would revert to stay admin-only. `reason` names the rule that bound the limit without disclosing the spend behind it.\n","operationId":"GetAuthenticatedCustomerPartnerNodeConcurrency","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"limit":{"description":"Concurrent partner-node calls allowed. -1 = unlimited, 0 = blocked, positive = hard ceiling.\n","type":"integer"},"reason":{"description":"Which rule bound the limit.\n","enum":["manual_override","spend_ladder","never_paid","default"],"type":"string"}},"required":["limit","reason"],"type":"object"}}},"description":"Concurrency limit resolved successfully"},"401":{"description":"Unauthorized or invalid token"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get the authenticated customer's partner-node concurrency limit","tags":["API Nodes"],"x-excluded":true}},"/customers/storage":{"post":{"description":"Store a resource for a customer. Resource will have a 24 hour expiry. The signed URL will be generated for the specified file path.","operationId":"CreateCustomerStorageResource","requestBody":{"content":{"application/json":{"schema":{"properties":{"content_type":{"description":"The content type of the file (e.g., 'image/png')","type":"string"},"file_hash":{"description":"The hash of the file. If provided, an existing file with the same hash may be returned.","type":"string"},"file_name":{"description":"The desired name of the file (e.g., 'profile.jpg'). Must be a flat file name - it is stored as \u003ccustomer_id\u003e/\u003cfile_name\u003e, so a name containing a path separator ('/' or '\\'), a bare '.' or '..', a URL-significant character ('?', '#' or '%'), a control character, or one long enough to push the full object name past 1024 bytes is rejected with a 400.","type":"string"}},"required":["file_name"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerStorageResourceResponse"}}},"description":"Signed URL generated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Store a resource for a customer","tags":["API Nodes"],"x-excluded":true}},"/customers/usage":{"post":{"description":"Returns the customer's as a dashboard URL.","operationId":"GetCustomerUsage","requestBody":{"content":{"application/json":{"schema":{"properties":{"color_overrides":{"description":"Optional list of colors to override for branding","items":{"properties":{"name":{"description":"The color property to override","enum":["Gray_dark","Gray_medium","Gray_light","Gray_extralight","White","Primary_medium","Primary_light","UsageLine_0","UsageLine_1","UsageLine_2","UsageLine_3","UsageLine_4","UsageLine_5","UsageLine_6","UsageLine_7","UsageLine_8","UsageLine_9","Primary_green","Primary_red","Progress_bar","Progress_bar_background"],"type":"string"},"value":{"description":"Hex color code (e.g., \"#FF5733\")","pattern":"^#[0-9A-Fa-f]{6}$","type":"string"}},"required":["name","value"],"type":"object"},"type":"array"},"dashboard_type":{"default":"usage","description":"The type of dashboard to retrieve","enum":["invoices","usage","credits","commits_and_credits"],"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"url":{"description":"The dashboard URL for the customer's usage","type":"string"}},"type":"object"}}},"description":"Successful response"},"401":{"description":"Unauthorized or invalid token"},"404":{"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get customer's usage","tags":["API Nodes"],"x-excluded":true}},"/customers/usage/timeseries":{"get":{"description":"Returns the authenticated customer's gross usage spend, grouped by model, endpoint, or product, as one stacked data point per billing period, plus a per-group breakdown and a summary, for rendering a custom usage dashboard. Sourced from invoice line items (real USD). Replaces the embeddable iframe.","operationId":"GetCustomerUsageTimeSeries","parameters":[{"description":"Dimension to group spend by. Falls back to product name when the chosen key is absent on a line item.","in":"query","name":"group_by","schema":{"default":"model","enum":["model","endpoint","product"],"type":"string"}},{"description":"Bucket size for the time series. \"month\" uses monthly invoice line items; \"day\" and \"hour\" use invoice breakdowns (provide starting_on/ending_before).","in":"query","name":"granularity","schema":{"default":"month","enum":["hour","day","month"],"type":"string"}},{"description":"RFC 3339 start of the range (inclusive). Defaults to months before ending_before.","in":"query","name":"starting_on","schema":{"format":"date-time","type":"string"}},{"description":"RFC 3339 end of the range (exclusive). Defaults to now.","in":"query","name":"ending_before","schema":{"format":"date-time","type":"string"}},{"description":"Lookback window in months, used when starting_on is omitted.","in":"query","name":"months","schema":{"default":6,"maximum":24,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerUsageTimeSeries"}}},"description":"Customer usage time series retrieved successfully"},"401":{"description":"Unauthorized or invalid token"},"404":{"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get customer's usage time series","tags":["API Nodes"],"x-excluded":true}},"/customers/{customer_id}":{"get":{"description":"Returns details about a customer by their ID.","operationId":"GetCustomerById","parameters":[{"in":"path","name":"customer_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"customer":{"$ref":"#/components/schemas/CustomerAdmin"}},"type":"object"}}},"description":"Customer details retrieved successfully"},"401":{"description":"Unauthorized or invalid token"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a customer by ID","tags":["API Nodes","Admin"],"x-excluded":true}},"/customers/{customer_id}/balance":{"get":{"description":"Returns the specified customer's current remaining balance and its currency, with separate breakdowns for prepaid commits and cloud credits. Every amount is CENTS of `currency`; the `*_micros` names are a deprecated misnomer, so divide by 100, never by 1,000,000. Read the `*_cents` fields beside them instead.","operationId":"GetCustomerBalanceById","parameters":[{"description":"The ID of the customer whose balance to retrieve","in":"path","name":"customer_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"amount_cents":{"description":"The total remaining balance. Cents of `currency`, the same value as `amount_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"amount_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `amount_cents`. The total remaining balance.","format":"double","type":"number"},"cloud_credit_balance_cents":{"description":"The remaining balance from cloud credits (subscription). Cents of `currency`, the same value as `cloud_credit_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"cloud_credit_balance_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `cloud_credit_balance_cents`. The remaining balance from cloud credits (subscription).","format":"double","type":"number"},"currency":{"description":"The currency code (e.g., \"usd\")","type":"string"},"effective_balance_cents":{"description":"The total balance minus pending charges; negative when charges exceed credit. Cents of `currency`, the same value as `effective_balance_micros`, which is misnamed. Only included when the show_negative_balances feature flag is enabled. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"effective_balance_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `effective_balance_cents`. The total balance minus pending charges; negative when charges exceed credit.","format":"double","type":"number"},"pending_charges_cents":{"description":"Pending/unbilled charges from draft invoices. Cents of `currency`, the same value as `pending_charges_micros`, which is misnamed. Only included when the show_negative_balances feature flag is enabled. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"pending_charges_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `pending_charges_cents`. Pending/unbilled charges from draft invoices.","format":"double","type":"number"},"prepaid_balance_cents":{"description":"The remaining balance from prepaid commits (top-ups). Cents of `currency`, the same value as `prepaid_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer.","format":"double","type":"number"},"prepaid_balance_micros":{"deprecated":true,"description":"DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `prepaid_balance_cents`. The remaining balance from prepaid commits (top-ups).","format":"double","type":"number"}},"required":["amount_micros","currency"],"type":"object"}}},"description":"Customer balance retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized or invalid token"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get customer's remaining balance by ID","tags":["API Nodes","Admin"],"x-excluded":true}},"/customers/{customer_id}/events":{"get":{"operationId":"GetCustomerEventsById","parameters":[{"in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"description":"Page number of the nodes list","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"Number of events to return per page. Values above the declared maximum are outside the contract, but this service does not reject them: it serves the maximum instead, and the page size actually served is echoed back as limit (and drives totalPages), so a clamp is always detectable by the caller. Treat the maximum as the real page stride — a client that asks for more and assumes it received more will miss rows. 0 and negative values are also accepted and select the default, which is why no minimum is declared: sub-1 is meaningful here, not invalid.","in":"query","name":"limit","schema":{"default":10,"maximum":100,"type":"integer"}},{"description":"Event type to filter","in":"query","name":"filter","schema":{"type":"string"}},{"description":"Start date for filtering events (RFC3339 format, e.g., 2025-01-01T00:00:00Z)","in":"query","name":"start_date","schema":{"format":"date-time","type":"string"}},{"description":"End date for filtering events (RFC3339 format, e.g., 2025-01-31T23:59:59Z)","in":"query","name":"end_date","schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"events":{"items":{"$ref":"#/components/schemas/AuditLog"},"type":"array"},"limit":{"description":"Maximum number of nodes per page","type":"integer"},"page":{"description":"Current page number","type":"integer"},"total":{"description":"Total number of events available","type":"integer"},"totalPages":{"description":"Total number of pages available","type":"integer"}},"type":"object"}}},"description":"A paginated list of nodes"},"400":{"description":"Invalid input, object invalid"},"404":{"description":"Not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get events related to customer","tags":["API Nodes"],"x-excluded":true}},"/customers/{customer_id}/usage":{"post":{"description":"Manually track usage for a customer in Metronome. This endpoint is for admin use to record usage events.","operationId":"TrackCustomerUsage","parameters":[{"description":"The ID of the customer to track usage for","in":"path","name":"customer_id","required":true,"schema":{"type":"string"}},{"description":"Admin API secret used to authorize this request","in":"header","name":"X-Comfy-Admin-Secret","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"params":{"additionalProperties":true,"description":"Custom parameters for the usage event","type":"object"},"timestamp":{"description":"Timestamp of the usage event (RFC3339 format)","format":"date-time","type":"string"},"transaction_id":{"description":"Unique transaction ID for this usage event","format":"uuid","type":"string"}},"required":["transaction_id","params"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"description":"Success message","type":"string"}},"type":"object"}}},"description":"Usage tracked successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized or invalid token"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Customer not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"ComfyAdminSecretAuth":[]}],"summary":"Track usage for a customer (Admin only)","tags":["API Nodes","Admin"],"x-excluded":true}},"/features":{"get":{"description":"Returns the server's feature capabilities","operationId":"GetFeatures","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturesResponse"}}},"description":"Success"}},"summary":"Get server feature flags","tags":["Registry"]}},"/gitcommit":{"get":{"description":"Returns all runs, jobs, job results, and storage files associated with a given commit.","operationId":"GetGitcommit","parameters":[{"description":"The ID of the commit to fetch data for.","in":"query","name":"commitId","schema":{"type":"string"}},{"description":"The operating system to filter the CI data by.","in":"query","name":"operatingSystem","schema":{"type":"string"}},{"description":"The name of the workflow to filter the CI data by.","in":"query","name":"workflowName","schema":{"type":"string"}},{"description":"The branch of the gitcommit to filter the CI data by.","in":"query","name":"branch","schema":{"type":"string"}},{"description":"The page number to retrieve. A value below 1 is accepted and selects the first page. (That is why no minimum is declared — sub-1 is meaningful here, not invalid.)","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"The number of items to include per page. This route is unauthenticated, so the server caps the applied page size at the maximum rather than rejecting a larger value, and 0 and negative values are accepted and select the default. (That is why no minimum is declared — sub-1 is meaningful here, not invalid.) totalNumberOfPages is computed from the page size actually served, so a clamp is always detectable.","in":"query","name":"pageSize","schema":{"default":10,"maximum":100,"type":"integer"}},{"description":"The repo to filter by.","in":"query","name":"repoName","schema":{"default":"comfyanonymous/ComfyUI","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"jobResults":{"items":{"$ref":"#/components/schemas/ActionJobResult"},"type":"array"},"totalNumberOfPages":{"type":"integer"}},"type":"object"}}},"description":"An object containing runs, jobs, job results, and storage files"},"400":{"description":"Invalid commitId"},"404":{"description":"Commit not found"},"500":{"description":"Internal server error"}},"summary":"Retrieve CI data for a given commit","tags":["ComfyUI CI"],"x-excluded":true}},"/gitcommitsummary":{"get":{"description":"Returns a summary of git commits, including status, start time, and end time.","operationId":"GetGitcommitsummary","parameters":[{"description":"The repository name to filter the git commits by.","in":"query","name":"repoName","schema":{"default":"comfyanonymous/ComfyUI","type":"string"}},{"description":"The branch name to filter the git commits by.","in":"query","name":"branchName","schema":{"type":"string"}},{"description":"The page number to retrieve. A value below 1 is accepted and selects the first page. (That is why no minimum is declared — sub-1 is meaningful here, not invalid.)","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"The number of items to include per page. This route is unauthenticated, so the server caps the applied page size at the maximum rather than rejecting a larger value, and 0 and negative values are accepted and select the default. (That is why no minimum is declared — sub-1 is meaningful here, not invalid.) totalNumberOfPages is computed from the page size actually served, so a clamp is always detectable.","in":"query","name":"pageSize","schema":{"default":10,"maximum":100,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"commitSummaries":{"items":{"$ref":"#/components/schemas/GitCommitSummary"},"type":"array"},"totalNumberOfPages":{"type":"integer"}},"type":"object"}}},"description":"Successfully retrieved git commit summaries"},"500":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"}}},"description":"Internal server error"}},"summary":"Retrieve a summary of git commits","tags":["ComfyUI CI"],"x-excluded":true}},"/nodes":{"get":{"description":"Returns a paginated list of nodes across all publishers.","operationId":"ListAllNodes","parameters":[{"description":"Page number of the nodes list","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"Number of nodes to return per page. Values above the declared maximum are outside the contract, but this service does not reject them: it serves the maximum instead, and the page size actually served is echoed back as limit (and drives totalPages), so a clamp is always detectable by the caller. Treat the maximum as the real page stride — a client that asks for more and assumes it received more will miss rows. 0 and negative values are also accepted and select the default, which is why no minimum is declared: sub-1 is meaningful here, not invalid.","in":"query","name":"limit","schema":{"default":10,"maximum":100,"type":"integer"}},{"description":"Filter nodes by supported operating systems","examples":{"linux":{"value":"POSIX :: Linux"},"macos":{"value":"MacOS"},"macosx":{"value":"MacOS :: MacOS X"},"osIndependent":{"value":"OS Independent"},"ubuntu":{"value":"POSIX :: Linux :: Ubuntu"},"windows":{"value":"Microsoft :: Windows"},"windows10":{"value":"Microsoft :: Windows :: Windows 10"}},"in":"query","name":"supported_os","schema":{"type":"string"}},{"description":"Filter nodes by supported accelerator","in":"query","name":"supported_accelerator","schema":{"type":"string"}},{"description":"Whether to include banned nodes in the results. Defaults to excluding them; pass true to include.","in":"query","name":"include_banned","schema":{"type":"boolean"}},{"description":"Retrieve nodes created or updated after this timestamp (ISO 8601 format)","in":"query","name":"timestamp","schema":{"format":"date-time","type":"string"}},{"description":"Whether to fetch fresh result from database or use cached one if false","in":"query","name":"latest","schema":{"type":"boolean"}},{"description":"Node column to order by, ascending; append `;desc` to the value (e.g. `name;desc`) for descending. Generated clients and params-object helpers escape the `;` for you; only a hand-built raw query string must write it as `%3B` (`sort=name%3Bdesc`), because a raw `;` makes Go's query parser discard the whole `sort=...` pair before the handler sees it. Allowed columns: `id`, `normalized_id`, `publisher_id`, `name`, `category`, `author`, `status`, `create_time`, `update_time`, `total_install`, `total_star`, `total_review`, `github_stars`, `search_ranking`. Column and direction are case-insensitive. At most 2 sort terms are applied (a primary order and a tie-breaker); an unknown column, a malformed term, a repeated column or a term past the second is ignored rather than rejected, and the listing is returned without that ordering.","in":"query","name":"sort","schema":{"items":{"type":"string"},"type":"array"}},{"description":"node_id to use as filter","in":"query","name":"node_id","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Comfy UI version","in":"query","name":"comfyui_version","schema":{"type":"string"}},{"description":"The platform requesting the nodes","in":"query","name":"form_factor","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"limit":{"description":"Maximum number of nodes per page","type":"integer"},"nodes":{"items":{"$ref":"#/components/schemas/Node"},"type":"array"},"page":{"description":"Current page number","type":"integer"},"total":{"description":"Total number of nodes available","type":"integer"},"totalPages":{"description":"Total number of pages available","type":"integer"}},"type":"object"}}},"description":"A paginated list of nodes"},"400":{"description":"Invalid input, object invalid"},"404":{"description":"Not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieves a list of nodes","tags":["Registry"]}},"/nodes/reindex":{"post":{"operationId":"ReindexNodes","parameters":[{"description":"Maximum number of nodes to send to algolia at a time","in":"query","name":"max_batch","schema":{"type":"integer"}}],"responses":{"200":{"description":"Reindex completed successfully."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Reindex all nodes for searching.","tags":["Registry"],"x-excluded":true}},"/nodes/search":{"get":{"description":"Returns a paginated list of nodes across all publishers.","operationId":"SearchNodes","parameters":[{"description":"Page number of the nodes list","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"Number of nodes to return per page. Values above the declared maximum are outside the contract, but this service does not reject them: it serves the maximum instead, and the page size actually served is echoed back as limit (and drives totalPages), so a clamp is always detectable by the caller. Treat the maximum as the real page stride — a client that asks for more and assumes it received more will miss rows. 0 and negative values are also accepted and select the default, which is why no minimum is declared: sub-1 is meaningful here, not invalid.","in":"query","name":"limit","schema":{"default":10,"maximum":100,"type":"integer"}},{"description":"Keyword to search the nodes","in":"query","name":"search","schema":{"type":"string"}},{"description":"Keyword to search the nodes by repository URL","in":"query","name":"repository_url_search","schema":{"type":"string"}},{"description":"Keyword to search the nodes by comfy node name","in":"query","name":"comfy_node_search","schema":{"type":"string"}},{"description":"Filter nodes by supported operating systems","examples":{"linux":{"value":"POSIX :: Linux"},"macos":{"value":"MacOS"},"macosx":{"value":"MacOS :: MacOS X"},"osIndependent":{"value":"OS Independent"},"ubuntu":{"value":"POSIX :: Linux :: Ubuntu"},"windows":{"value":"Microsoft :: Windows"},"windows10":{"value":"Microsoft :: Windows :: Windows 10"}},"in":"query","name":"supported_os","schema":{"type":"string"}},{"description":"Filter nodes by supported accelerator","in":"query","name":"supported_accelerator","schema":{"type":"string"}},{"description":"Whether to include banned nodes in the results. Defaults to excluding them; pass true to include.","in":"query","name":"include_banned","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"limit":{"description":"Maximum number of nodes per page","type":"integer"},"nodes":{"items":{"$ref":"#/components/schemas/Node"},"type":"array"},"page":{"description":"Current page number","type":"integer"},"total":{"description":"Total number of nodes available","type":"integer"},"totalPages":{"description":"Total number of pages available","type":"integer"}},"type":"object"}}},"description":"A paginated list of nodes"},"400":{"description":"Invalid input, object invalid"},"404":{"description":"Not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieves a list of nodes","tags":["Registry"]}},"/nodes/update-github-stars":{"post":{"operationId":"UpdateGithubStars","parameters":[{"description":"Maximum number of nodes to update in one batch","in":"query","name":"max_batch","schema":{"default":100,"type":"integer"}}],"responses":{"200":{"description":"Update GithubStars request triggered successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request."},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Update GitHub stars for nodes","tags":["Registry"],"x-excluded":true}},"/nodes/{nodeId}":{"get":{"description":"Returns the details of a specific node.","operationId":"GetNode","parameters":[{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}},{"description":"Whether to include the translation or not","in":"query","name":"include_translations","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Node"}}},"description":"Node details"},"302":{"description":"Redirect to node with normalized name match","headers":{"Location":{"description":"URL of the node with the correct ID","schema":{"type":"string"}}}},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Node not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve a specific node by ID","tags":["Registry"]}},"/nodes/{nodeId}/install":{"get":{"description":"Retrieves the node data for installation, either the latest or a specific version.","operationId":"InstallNode","parameters":[{"description":"The unique identifier of the node.","in":"path","name":"nodeId","required":true,"schema":{"type":"string"}},{"description":"Specific version of the node to retrieve. If omitted, the latest version is returned.","in":"query","name":"version","schema":{"pattern":"^\\d+\\.\\d+\\.\\d+$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeVersion"}}},"description":"Node data returned successfully."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid input, such as a bad version format."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Node not found."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Returns a node version to be installed.","tags":["Registry"]}},"/nodes/{nodeId}/reviews":{"post":{"operationId":"PostNodeReview","parameters":[{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}},{"description":"number of star given to the node version","in":"query","name":"star","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Node"}}},"description":"Detailed information about a specific node"},"400":{"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Node version not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Add review to a specific version of a node","tags":["Registry"]}},"/nodes/{nodeId}/translations":{"post":{"operationId":"CreateNodeTranslations","parameters":[{"description":"The unique identifier of the node.","in":"path","name":"nodeId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"data":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object"}},"type":"object"}}},"required":true},"responses":{"201":{"description":"Detailed information about a specific node"},"400":{"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Node version not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ComfyAdminSecretAuth":[]}],"summary":"Create Node Translations","tags":["Registry"]}},"/nodes/{nodeId}/versions":{"get":{"operationId":"ListNodeVersions","parameters":[{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}},{"in":"query","name":"statuses","schema":{"items":{"$ref":"#/components/schemas/NodeVersionStatus"},"type":"array"}},{"in":"query","name":"include_status_reason","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/NodeVersion"},"type":"array"}}},"description":"List of all node versions"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Node banned"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Node not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"List all versions of a node","tags":["Registry"]}},"/nodes/{nodeId}/versions/{versionId}":{"get":{"operationId":"GetNodeVersion","parameters":[{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}},{"description":"The version of the node. (Not a UUID).","in":"path","name":"versionId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeVersion"}}},"description":"Detailed information about a specific node version"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Node version not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve a specific version of a node","tags":["Registry"]}},"/nodes/{nodeId}/versions/{version}/comfy-nodes":{"get":{"operationId":"ListComfyNodes","parameters":[{"description":"The page number to retrieve.","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"The number of items to include per page. A value above the maximum is clamped down to it; 0 and negative values are accepted and select the default. (That is why no minimum is declared — sub-1 is meaningful here, not invalid.) totalNumberOfPages is computed from the page size actually served, so a clamp is always detectable.","in":"query","name":"limit","schema":{"default":10,"maximum":8192,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"comfy_nodes":{"items":{"$ref":"#/components/schemas/ComfyNode"},"type":"array"},"totalNumberOfPages":{"type":"integer"}},"type":"object"}}},"description":"Comy Nodes obtained successfully"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Version not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"list comfy-nodes for node version","tags":["Registry"]},"parameters":[{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}},{"in":"path","name":"version","required":true,"schema":{"type":"string"}}],"post":{"operationId":"CreateComfyNodes","requestBody":{"content":{"application/json":{"schema":{"properties":{"cloud_build_info":{"$ref":"#/components/schemas/ComfyNodeCloudBuildInfo"},"nodes":{"additionalProperties":{"$ref":"#/components/schemas/ComfyNode"}},"reason":{"type":"string"},"status":{"type":"string"},"success":{"type":"boolean"}},"type":"object"}}},"required":true},"responses":{"204":{"description":"Comy Nodes created successfully"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Version not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Existing Comfy Nodes exists"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"create comfy-nodes for certain node","tags":["Registry"]}},"/nodes/{nodeId}/versions/{version}/comfy-nodes/{comfyNodeName}":{"get":{"operationId":"GetComfyNode","parameters":[{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}},{"in":"path","name":"version","required":true,"schema":{"type":"string"}},{"in":"path","name":"comfyNodeName","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComfyNode"}}},"description":"Comy Nodes created successfully"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Version not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"get specify comfy-node based on its id","tags":["Registry"]},"put":{"operationId":"UpdateComfyNode","parameters":[{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}},{"in":"path","name":"version","required":true,"schema":{"type":"string"}},{"in":"path","name":"comfyNodeName","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComfyNodeUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComfyNode"}}},"description":"Comfy Node updated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"ComfyNode not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Update a specific comfy-node","tags":["Registry"]}},"/proxy/anthropic/v1/messages":{"post":{"description":"Forwards a Messages API request to Anthropic's `/v1/messages` endpoint\nand returns the model's reply. Supports both JSON responses and\nServer-Sent Events streaming (selected via `stream: true` in the body).\n","operationId":"AnthropicCreateMessage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnthropicCreateMessageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnthropicCreateMessageResponse"}},"text/event-stream":{"schema":{"description":"Server-Sent Events stream of Anthropic message events","type":"string"}}},"description":"Successful response from Anthropic Messages API. JSON shape when `stream` is omitted or false; otherwise a `text/event-stream` of message events."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a message via Anthropic Claude","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/beeble/v1/switchx/generations":{"post":{"description":"Start a SwitchX compositing job.","operationId":"BeebleCreateSwitchXJob","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeebleCreateSwitchXRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeebleSwitchXStatusResponse"}}},"description":"The resulting job data. This will be returned in a pending state until the job is completed. See /v1/switchx/generations/{job_id} for retrieving the results."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Start SwitchX Generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/beeble/v1/switchx/generations/{job_id}":{"get":{"description":"Poll the status of a SwitchX job.","operationId":"BeebleGetSwitchXStatus","parameters":[{"description":"Job identifier (swx_...)","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeebleSwitchXStatusResponse"}}},"description":"The most up-to-date state of the job. Check the status field to determine completion. Output URLs are signed and expire after 72 hours; each call returns freshly signed URLs."},"401":{"description":"Unauthorized"},"404":{"description":"Job not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get SwitchX Job Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/beeble/v1/uploads":{"post":{"description":"Create a presigned upload URL for a media file. The returned beeble_uri can be used as source_uri, reference_image_uri, or alpha_uri in SwitchX generation calls.","operationId":"BeebleCreateUpload","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeebleUploadRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BeebleUploadResponse"}}},"description":"Presigned upload URL and beeble:// URI."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create Beeble Upload URL","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/flux-2-max/generate":{"post":{"description":"Forwards image generation requests to BFL's Flux 2 Max API and returns the results. Supports image-to-image generation with up to 8 input images.","operationId":"BflFlux2MaxGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFlux2ProGenerateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxProGenerateResponse"}}},"description":"Successful response from BFL Flux 2 Max proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or BFL). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL Flux 2 Max for image generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/flux-2-pro/generate":{"post":{"description":"Forwards image generation requests to BFL's Flux 2 Pro API and returns the results. Supports image-to-image generation with up to 5 input images.","operationId":"BflFlux2ProGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFlux2ProGenerateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxProGenerateResponse"}}},"description":"Successful response from BFL Flux 2 Pro proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or BFL). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL Flux 2 Pro for image generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/flux-kontext-max/generate":{"post":{"description":"Forwards image editing requests to BFL's Flux Kontext Max API and returns the results.","operationId":"BflFluxKontextMaxGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxKontextMaxGenerateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxKontextMaxGenerateResponse"}}},"description":"Successful response from BFL Flux Kontext Max proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or BFL). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL Flux Kontext Max for image editing","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/flux-kontext-pro/generate":{"post":{"description":"Forwards image editing requests to BFL's Flux Kontext Pro API and returns the results.","operationId":"BflFluxKontextProGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxKontextProGenerateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxKontextProGenerateResponse"}}},"description":"Successful response from BFL Flux Kontext Pro proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or BFL). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL Flux Kontext Pro for image editing","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/flux-pro-1.0-expand/generate":{"post":{"description":"Submits an image expansion task that adds the specified number of pixels to any combination of sides (top, bottom, left, right) while maintaining context.","operationId":"BFLExpandV1FluxPro10ExpandPost","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxProExpandInputs"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BFLAsyncResponse"},{"$ref":"#/components/schemas/BFLAsyncWebhookResponse"}],"title":"Response Expand V1 Flux Pro 1 0 Expand Post"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLHTTPValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Expand an image by adding pixels on any side.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/flux-pro-1.0-fill/generate":{"post":{"description":"Submits an image generation task with the FLUX.1 Fill [pro] model using an input image and mask. Mask can be applied to alpha channel or submitted as a separate image.","operationId":"BFLFillV1FluxPro10FillPost","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxProFillInputs"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BFLAsyncResponse"},{"$ref":"#/components/schemas/BFLAsyncWebhookResponse"}],"title":"Response Fill V1 Flux Pro 1 0 Fill Post"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLHTTPValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate an image with FLUX.1 Fill [pro] using an input image and mask.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/flux-pro-1.1-ultra/generate":{"post":{"description":"Forwards image generation requests to BFL's Flux Pro 1.1 Ultra API and returns the results.","operationId":"BflFluxProGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxProGenerateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxProGenerateResponse"}}},"description":"Successful response from BFL Flux Pro proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or BFL). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL Flux Pro 1.1 Ultra for image generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/flux-pro-1.1/generate":{"post":{"description":"Forwards image generation requests to BFL's Flux Pro 1.1 API and returns the results.","operationId":"BflFluxPro11Generate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxPro1_1GenerateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxPro1_1GenerateResponse"}}},"description":"Successful response from BFL Flux Pro proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or BFL). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL Flux Pro 1.1 for image generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/v1/flux-3-image":{"post":{"description":"Forwards image generation and editing requests to BFL's FLUX 3 image API. A request with no reference images is a text-to-image generation; one to ten images make it an edit or a multi-reference generation. Returns a task identifier and polling URL; the finished image is retrieved from the get_result proxy endpoint.","operationId":"BflFlux3ImageGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFlux3ImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxProGenerateResponse"}}},"description":"FLUX 3 image task accepted"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"403":{"description":"BFL API key not recognized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLHTTPValidationError"}}},"description":"Validation Error"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Concurrent generation limit reached. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"BFL service temporarily at capacity"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL FLUX 3 for image generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/v1/flux-3-video":{"post":{"description":"Forwards video generation requests to BFL's FLUX 3 video API. The mode is explicit: t2v (text-to-video), i2v (image-continuation via keyframes), v2v (video-continuation via start_video), or draft_enhance (full-quality render of a prior draft's draft_cache).","operationId":"BflFlux3VideoGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFlux3VideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFlux3VideoResponse"}}},"description":"FLUX 3 video task accepted"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"403":{"description":"BFL API key not recognized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLHTTPValidationError"}}},"description":"Validation Error"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Concurrent generation limit reached. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"BFL service temporarily at capacity"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL FLUX 3 for video generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/v1/flux-tools/erase-v1":{"post":{"description":"Forwards erase requests to BFL's Flux Tools Erase v1 API and returns the results. Uses an input image and a mask identifying the object or region to remove.","operationId":"BflEraseV1Generate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLEraseV1Request"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxProGenerateResponse"}}},"description":"Successful response from BFL Flux Tools Erase v1 proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or BFL). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL Flux Tools Erase v1 for object removal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/v1/flux-tools/video-edit-v1":{"post":{"description":"Forwards prompt-driven video edit requests to BFL's Flux Tools Video Edit v1 API. Returns a task identifier and polling URL; the edited MP4 is retrieved from the get_result proxy endpoint.","operationId":"BflVideoEditV1Generate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLVideoEditV1Request"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxProGenerateResponse"}}},"description":"Video edit task accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"403":{"description":"BFL API key not recognized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLHTTPValidationError"}}},"description":"Validation Error"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or BFL). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL Flux Tools Video Edit v1","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/v1/flux-tools/video-upscale-v1":{"post":{"description":"Forwards video super-resolution requests to BFL's Flux Tools Video Upscale v1 API. Returns a task identifier and polling URL; the upscaled MP4 is retrieved from the get_result proxy endpoint.","operationId":"BflVideoUpscaleV1Generate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLVideoUpscaleV1Request"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxProGenerateResponse"}}},"description":"Video upscale task accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"403":{"description":"BFL API key not recognized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLHTTPValidationError"}}},"description":"Validation Error"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or BFL). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL Flux Tools Video Upscale v1","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/v1/flux-tools/vto-v1":{"post":{"description":"Forwards virtual try-on requests to BFL's Flux Tools VTO v1 API and returns the results. Person and garment images are mapped to the underlying input image slots.","operationId":"BflVtoV1Generate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLVtoV1Request"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFluxProGenerateResponse"}}},"description":"Successful response from BFL Flux Tools VTO v1 proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or BFL). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to BFL Flux Tools VTO v1 for virtual try-on","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bfl/v1/get_result":{"get":{"description":"Polls BFL for the current status and result of an asynchronous FLUX 3 task.","operationId":"BflFlux3GetResult","parameters":[{"description":"BFL task identifier returned by the submit endpoint.","in":"query","name":"id","required":true,"schema":{"type":"string"}},{"description":"The polling_url returned by the submit endpoint. BFL serves tasks from regional clusters, so polling must target the host in this URL; without it the request is sent to the global BFL host, which may not know the task. Must be an https BFL /v1/get_result URL.\n","in":"query","name":"polling_url","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BFLFlux3ResultResponse"}}},"description":"Current FLUX 3 task status or completed result"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"403":{"description":"BFL API key not recognized"},"404":{"description":"Task not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with BFL)"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"BFL service temporarily at capacity"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (BFL took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy a BFL FLUX 3 task status request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/breezeblue/v1/text-to-speech/{voice_id}":{"post":{"description":"Converts text into speech with a BreezeBlue catalog voice and returns the audio\nsynchronously. `model_id` is required: the upstream would otherwise pick a model\nfrom the text's language.\n","operationId":"BreezeBlueTextToSpeech","parameters":[{"description":"ID of the catalog voice to use.","in":"path","name":"voice_id","required":true,"schema":{"type":"string"}},{"description":"Output format of the generated audio.","in":"query","name":"output_format","schema":{"default":"mp3","enum":["mp3","wav"],"type":"string","x-enum-varnames":["BreezeBlueOutputFormatMp3","BreezeBlueOutputFormatWav"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueTTSRequest"}}},"required":true},"responses":{"200":{"content":{"audio/mpeg":{"schema":{"format":"binary","type":"string"}},"audio/wav":{"schema":{"format":"binary","type":"string"}}},"description":"The generated audio file"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"BreezeBlue Text to Speech","tags":["API Nodes","BreezeBlue"],"x-excluded":true}},"/proxy/breezeblue/v1/voice-previews/clone":{"post":{"description":"Creates a temporary voice clone preview from one reference audio sample. BreezeBlue writes\nthe preview script in the language it detects in the sample.\n","operationId":"BreezeBlueVoiceClone","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BreezeBlueVoiceCloneRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueVoiceCloneResponse"}}},"description":"The clone preview"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"BreezeBlue Voice Clone","tags":["API Nodes","BreezeBlue"],"x-excluded":true}},"/proxy/breezeblue/v1/voice-previews/design":{"post":{"description":"Generates up to three temporary voice previews from a text description of the voice.\nEach preview carries a `generated_voice_id` to download or save.\n","operationId":"BreezeBlueVoiceDesign","parameters":[{"description":"Audio format of the previews, `mp3` or `wav`. Defaults to `mp3`.","in":"query","name":"output_format","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueVoiceDesignRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueVoiceDesignResponse"}}},"description":"The generated previews and the script they read"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"BreezeBlue Voice Design","tags":["API Nodes","BreezeBlue"],"x-excluded":true}},"/proxy/breezeblue/v1/voice-previews/localize":{"post":{"description":"Starts a job that localizes a catalog voice or one of the caller's saved voices into another\nspeaking language. Poll the job until it is `ready`.\n","operationId":"BreezeBlueVoiceLocalize","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueLocalizeRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueVoicePreviewJob"}}},"description":"The accepted job"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"BreezeBlue Voice Localize","tags":["API Nodes","BreezeBlue"],"x-excluded":true}},"/proxy/breezeblue/v1/voice-previews/localize/{generation_job_id}":{"get":{"description":"Returns the status of a localize job the caller started.","operationId":"BreezeBlueVoiceLocalizeStatus","parameters":[{"description":"ID of the localize job.","in":"path","name":"generation_job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueVoicePreviewJobStatus"}}},"description":"The job status"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"BreezeBlue Voice Localize Status","tags":["API Nodes","BreezeBlue"],"x-excluded":true}},"/proxy/breezeblue/v1/voice-previews/remix":{"post":{"description":"Starts a job that creates one same-language variant of a catalog voice or one of the\ncaller's saved voices. Poll the job until it is `ready`.\n","operationId":"BreezeBlueVoiceRemix","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueRemixRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueVoicePreviewJob"}}},"description":"The accepted job"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"BreezeBlue Voice Remix","tags":["API Nodes","BreezeBlue"],"x-excluded":true}},"/proxy/breezeblue/v1/voice-previews/remix/prepare":{"post":{"description":"Prepares the instruction and audition script for a remix of a catalog voice or one of the\ncaller's saved voices. Reuse the returned token to compare candidates with the same script.\n","operationId":"BreezeBlueVoiceRemixPrepare","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueRemixPrepareRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueRemixPrepareResponse"}}},"description":"The prepared remix"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"BreezeBlue Voice Remix Prepare","tags":["API Nodes","BreezeBlue"],"x-excluded":true}},"/proxy/breezeblue/v1/voice-previews/remix/presets":{"get":{"description":"Lists the curated voice remix presets and their sample recordings.","operationId":"BreezeBlueVoiceRemixPresets","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueRemixPresetsResponse"}}},"description":"The remix presets"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"BreezeBlue Voice Remix Presets","tags":["API Nodes","BreezeBlue"],"x-excluded":true}},"/proxy/breezeblue/v1/voice-previews/remix/{generation_job_id}":{"get":{"description":"Returns the status of a remix job the caller started.","operationId":"BreezeBlueVoiceRemixStatus","parameters":[{"description":"ID of the remix job.","in":"path","name":"generation_job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueVoicePreviewJobStatus"}}},"description":"The job status"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"BreezeBlue Voice Remix Status","tags":["API Nodes","BreezeBlue"],"x-excluded":true}},"/proxy/breezeblue/v1/voice-previews/{generated_voice_id}/save":{"post":{"description":"Saves a voice preview the caller created as a voice. The returned `voice_id` works with\nBreezeBlue Text to Speech, Voice Remix and Voice Localize for the same caller.\n","operationId":"BreezeBlueVoicePreviewSave","parameters":[{"description":"ID of the voice preview.","in":"path","name":"generated_voice_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueSaveVoiceRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreezeBlueSavedVoice"}}},"description":"The saved voice"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"BreezeBlue Voice Preview Save","tags":["API Nodes","BreezeBlue"],"x-excluded":true}},"/proxy/breezeblue/v1/voice-previews/{generated_voice_id}/stream":{"get":{"description":"Downloads the audio of a completed voice preview the caller created.","operationId":"BreezeBlueVoicePreviewDownload","parameters":[{"description":"ID of the voice preview.","in":"path","name":"generated_voice_id","required":true,"schema":{"type":"string"}},{"description":"Audio format, `mp3` or `wav`. Defaults to `mp3`.","in":"query","name":"output_format","schema":{"type":"string"}}],"responses":{"200":{"content":{"audio/mpeg":{"schema":{"format":"binary","type":"string"}},"audio/wav":{"schema":{"format":"binary","type":"string"}}},"description":"The preview audio"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"BreezeBlue Voice Preview Download","tags":["API Nodes","BreezeBlue"],"x-excluded":true}},"/proxy/bria/v2/image/edit":{"post":{"description":"Edit an existing image using Bria's FIBO Edit API. You can provide:\n1. A source image and a text-based instruction (prompt)\n2. A source image and a structured_instruction\n3. A source image, a mask, and a text-based instruction\n4. A source image, a mask, and a structured_instruction\n\nThis endpoint always uses async mode (sync: false) and returns a status_url to poll for results.\n","operationId":"BriaFiboEdit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaFiboEditRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Edit an image using Bria FIBO","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/add_object_by_text":{"post":{"description":"Insert an object into an image using Bria's Add Object by Text API. A text instruction describes the object and its position.\n\nReturns HTTP 202 with request_id and status_url.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaAddObjectByText","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAddObjectByTextRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Add an object to an image by text description using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/erase":{"post":{"description":"Remove objects or regions from an image using Bria's Eraser API. The area to erase is defined by a mask.\n\nReturns HTTP 202 with request_id and status_url. A request with sync\ntrue is refused with HTTP 400.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaErase","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaEraseRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Erase objects from an image using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/erase_by_text":{"post":{"description":"Remove an object from an image using Bria's Erase by Text API. A text description names the object to remove.\n\nReturns HTTP 202 with request_id and status_url.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaEraseByText","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaEraseByTextRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Erase an object from an image by text description using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/erase_foreground":{"post":{"description":"Remove the foreground subject from an image using Bria's Erase Foreground API. The API generates a new background in place of the removed subject.\n\nReturns HTTP 202 with request_id and status_url. A request with sync\ntrue is refused with HTTP 400.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaEraseForeground","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaEraseForegroundRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Erase the foreground of an image using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/expand":{"post":{"description":"Expand an image onto a larger canvas using Bria's Image Expansion API. The expanded area is generated to blend with the original image, optionally guided by a text prompt. The output size is controlled either by aspect_ratio or by canvas_size with original_image_size and original_image_location.\n\nReturns HTTP 202 with request_id and status_url. A request with sync\ntrue is refused with HTTP 400.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaImageExpansion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaImageExpansionRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Expand an image beyond its original borders using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/gen_fill":{"post":{"description":"Generate objects or scenery inside a masked region of an image, guided by a text prompt, using Bria's Generative Fill API.\n\nReturns HTTP 202 with request_id and status_url. A request with sync\ntrue is refused with HTTP 400.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaGenFill","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaGenFillRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate content in a masked area of an image using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/increase_resolution":{"post":{"description":"Upscale an image by a 2x or 4x multiplier using Bria's Increase Resolution API. Maximum output resolution is 8192x8192.\n\nReturns HTTP 202 with request_id and status_url. A request with sync\ntrue is refused with HTTP 400.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaIncreaseResolution","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaIncreaseResolutionRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Increase the resolution of an image using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/product/holding":{"post":{"description":"Generate an image of the person in person_image holding or carrying the\nproduct in product_images, using Bria's Product Holding API.\n\nReturns HTTP 202 with request_id and status_url.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaProductHolding","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaProductHoldingRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Put a product in a person's hands using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/product/virtual-tryon":{"post":{"description":"Generate an image of the person in person_image wearing the garments in\ngarment_images, using Bria's Virtual Try-On API.\n\nReturns HTTP 202 with request_id and status_url.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaVirtualTryOn","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaVirtualTryOnRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Put garments on a person using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/relight":{"post":{"description":"Modify the lighting atmosphere and direction of an image using Bria's Relight API.\n\nReturns HTTP 202 with request_id and status_url.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaRelight","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaRelightRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Change the lighting of an image using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/remove_background":{"post":{"description":"Remove the background of an image using Bria's RMBG 2.0 or RMBG 3.0 model.\n\nReturns HTTP 202 with request_id and status_url. A request with sync\ntrue is refused with HTTP 400.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaImageRemoveBackground","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaImageRemoveBackgroundRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Remove background from an image using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/remove_background/guided":{"post":{"description":"Remove the background of an image using Bria's Guided Remove Background API.\nAn optional prompt changes what the cutout keeps. A missing or blank prompt\nreturns the standard Remove Background cutout.\n\nReturns HTTP 202 with request_id and status_url.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaGuidedRemoveBackground","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaGuidedRemoveBackgroundRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Remove the background of an image, guided by a text prompt, using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/replace_background":{"post":{"description":"Replace the background of an image using Bria's Background Replace API. A text prompt or reference images guide the new background. At least one of prompt or ref_images is required; Bria asks that you not send both, and a body carrying both is forwarded for Bria to resolve rather than refused here.\n\nReturns HTTP 202 with request_id and status_url. A request with sync\ntrue is refused with HTTP 400.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaReplaceBackground","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaReplaceBackgroundRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Replace the background of an image using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/replace_object_by_text":{"post":{"description":"Replace an object in an image using Bria's Replace Object by Text API. A text instruction names the object and its replacement.\n\nReturns HTTP 202 with request_id and status_url.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaReplaceObjectByText","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaReplaceObjectByTextRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Replace an object in an image by text description using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/reseason":{"post":{"description":"Change the season and atmosphere of an image using Bria's Reseason API.\n\nReturns HTTP 202 with request_id and status_url.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaReseason","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaReseasonRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Change the season of an image using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/edit/restore":{"post":{"description":"Repair and enhance an old or damaged photograph using Bria's Restore API.\n\nReturns HTTP 202 with request_id and status_url.\n\nAccepted image formats: JPEG, JPG, PNG, WEBP.\n","operationId":"BriaRestore","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaRestoreRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Restore an old photo using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/image/generate":{"post":{"description":"Generate a new image using Bria's FIBO Generate API. You can provide:\n1. A text prompt\n2. A reference image\n3. A reference image and a text prompt\n4. A structured_prompt\n5. A structured_prompt and a text prompt\n\nThis endpoint always uses async mode (sync: false) and returns a status_url to poll for results.\n","operationId":"BriaFiboGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaFiboGenerateRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate an image using Bria FIBO","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/status/{request_id}":{"get":{"description":"Retrieves the current status of an asynchronous Bria request.\n\nPoll this endpoint until the status is COMPLETED or ERROR.\n\nStatus values:\n- `IN_PROGRESS` – Request is being processed. Continue polling.\n- `COMPLETED` – Success. Response includes `result.image_url` for images, `result.video_url` for videos, `result.structured_instruction` for `/v2/structured_instruction/generate`, or `result.structured_prompt` alongside the image for FIBO generation. Additional optional fields (seed, prompt, refined_prompt, warning) may be included.\n- `ERROR` – Processing failed. Check error object for details.\n- `UNKNOWN` – Unexpected internal error.\n","operationId":"BriaGetStatus","parameters":[{"description":"Unique identifier of the request (returned from edit, generate, or remove_background endpoints)","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaStatusResponse"}}},"description":"Status retrieved successfully"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaStatusNotFoundResponse"}}},"description":"Request ID not found or expired"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Bria request status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/structured_instruction/generate":{"post":{"description":"Translates a user's text-based edit instruction and source image/mask into a detailed,\nmachine-readable structured edit instruction in JSON format.\n\nThis endpoint uses Gemini 2.5 Flash VLM to understand the edit context and returns only\nthe JSON string without generating an image.\n\nThe resulting structured_instruction can be used as input for the /proxy/bria/v2/image/edit endpoint.\n\nThis endpoint always uses async mode (sync: false) and returns a status_url to poll for results.\n","operationId":"BriaStructuredInstructionGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaStructuredInstructionRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate a structured instruction from text","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/video/edit/erase":{"post":{"description":"Initiates an asynchronous erase job for a video using Bria's Video Eraser API. A mask video defines the area to erase.\n\nMaximum video duration is 5 seconds. When auto_trim is true, the API trims longer videos to the first 5 seconds. When auto_trim is false, the API rejects longer videos.\n\nReturns HTTP 202 with request_id and status_url.\n","operationId":"BriaVideoErase","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaVideoEraseRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Content moderation failure"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Erase an area from a video using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/video/edit/green_screen":{"post":{"description":"Initiates an asynchronous green-screen (chroma key) job for a video using Bria's API.\nThe original background is replaced with a solid broadcast-green, chroma-green, or blue\nscreen suitable for compositing.\n\nReturns HTTP 202 with request_id and status_url. Poll the status endpoint for results.\n\nSupported input containers: .mp4, .mov, .webm, .avi, .gif\nSupported input codecs: H.264, H.265 (HEVC), VP9, AV1, PhotoJPEG\nMax input duration: 60 seconds. Input resolution up to 16000x16000.\n","operationId":"BriaVideoGreenScreen","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaVideoGreenScreenRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Apply a green screen to a video using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/video/edit/remove_background":{"post":{"description":"Initiates an asynchronous background removal job for a video using Bria's API.\n\nReturns HTTP 202 with request_id and status_url. Poll the status endpoint for results.\n\nSupported input containers: .mp4, .mov, .webm, .avi, .gif\nSupported input codecs: H.264, H.265 (HEVC), VP9, AV1, PhotoJPEG\nMax input duration: 60 seconds. Input resolution up to 16000x16000.\n","operationId":"BriaVideoRemoveBackground","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaVideoRemoveBackgroundRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Remove background from a video using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/bria/v2/video/edit/replace_background":{"post":{"description":"Initiates an asynchronous background-replacement job for a video using Bria's API.\nThe original background is composited out and replaced with the supplied background\nimage or video.\n\nReturns HTTP 202 with request_id and status_url. Poll the status endpoint for results.\n\nSupported input containers: .mp4, .mov, .webm, .avi, .gif\nSupported input codecs: H.264, H.265 (HEVC), VP9, AV1, PhotoJPEG\nMax input duration: 60 seconds. Input resolution up to 16000x16000.\nThe background asset must match the foreground aspect ratio.\n","operationId":"BriaVideoReplaceBackground","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaVideoReplaceBackgroundRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaAsyncResponse"}}},"description":"Request accepted, processing asynchronously"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriaErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Replace the background of a video using Bria","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplus-seedance2/api/v3/contents/generations/tasks/{task_id}":{"get":{"description":"Task ownership (BE-24345): a task is readable only by the principal\nthat submitted it, on the route for the account it was submitted\nunder. Once the ownership gate is enforcing, a task submitted by\nanother principal — or unknown to Comfy on this route — answers 404\n(`task not found`), and one whose ownership could not be determined\nanswers 503 (`task ownership could not be verified; retry`), which is\nretryable where the 404 is not. The gate currently ships in `observe`\nmode, which counts those verdicts and still forwards the poll, so\nuntil it is flipped to `enforce` such a poll may still answer 200.\n","operationId":"ByteplusSeedance2VideoGenerationQuery","parameters":[{"description":"The ID of the Seedance 2.0 video generation task to query","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusVideoGenerationQueryResponse"}}},"description":"Video generation task information retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplus/api/v3/contents/generations/tasks":{"post":{"operationId":"ByteplusVideoGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusVideoGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusVideoGenerationResponse"}}},"description":"Video generation task created successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplus/api/v3/contents/generations/tasks/{task_id}":{"get":{"description":"Task ownership (BE-24345): a task is readable only by the principal\nthat submitted it, on the route for the account it was submitted\nunder. Once the ownership gate is enforcing, a task submitted by\nanother principal — or unknown to Comfy on this route — answers 404\n(`task not found`), and one whose ownership could not be determined\nanswers 503 (`task ownership could not be verified; retry`), which is\nretryable where the 404 is not. The gate currently ships in `observe`\nmode, which counts those verdicts and still forwards the poll, so\nuntil it is flipped to `enforce` such a poll may still answer 200.\n","operationId":"ByteplusVideoGenerationQuery","parameters":[{"description":"The ID of the video generation task to query","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusVideoGenerationQueryResponse"}}},"description":"Video generation task information retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplus/api/v3/files":{"post":{"description":"Proxies POST https://ark.ap-southeast.bytepluses.com/api/v3/files. Uploads a binary file to ModelArk for later use (e.g. video understanding). See https://docs.byteplus.com/en/docs/ModelArk/1870405 for upstream details.\n","operationId":"ByteplusFileUpload","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BytePlusFileUploadRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusFile"}}},"description":"File uploaded successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Upload a file to BytePlus ModelArk","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplus/api/v3/files/{id}":{"get":{"description":"Proxies GET https://ark.ap-southeast.bytepluses.com/api/v3/files/{id}. See https://docs.byteplus.com/en/docs/ModelArk/1870406 for upstream details.\n","operationId":"ByteplusFileGet","parameters":[{"description":"The ID of the file to retrieve.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusFile"}}},"description":"File information retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Retrieve BytePlus ModelArk file information","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplus/api/v3/images/generations":{"post":{"operationId":"ByteplusImageGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusImageGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusImageGenerationResponse"}}},"description":"Image generation completed successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplus/api/v3/responses":{"post":{"description":"Proxies POST https://ark.ap-southeast.bytepluses.com/api/v3/responses. Creates a model response that supports text, image, video and file inputs, tool calls, structured output and deep-reasoning. See https://docs.byteplus.com/en/docs/ModelArk/1585128 for the upstream tutorial and request reference; the response object is documented at https://docs.byteplus.com/en/docs/ModelArk/1783703.\n","operationId":"ByteplusResponseCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusResponseCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusResponseObject"}}},"description":"Model response body (BytePlusResponseObject)."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a BytePlus ModelArk model response","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplus/api/v3/tts/create":{"post":{"description":"Proxies POST https://voice.ap-southeast-1.bytepluses.com/api/v3/tts/create. Synchronously generates audio (voice, music and sound effects) with the Seed Audio 1.0 models from a text prompt, optionally guided by reference audio or a reference image. Generated audio is capped at 120 seconds per request. See https://docs.byteplus.com/en/docs/byteplusvoice/seedaudio-01 for upstream details.\n","operationId":"ByteplusTTSCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusTTSCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusTTSCreateResponse"}}},"description":"Audio generation completed successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a BytePlus Seed Audio generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplusmediakit/api/v1/tasks/{task_id}":{"get":{"description":"Returns the state of an AI MediaKit task. When status is completed the download URL of the enhanced video is in result.video_url, valid for 24 hours.\n","operationId":"ByteplusMediaKitTaskQuery","parameters":[{"description":"The ID of the task to query","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusMediaKitTaskResponse"}}},"description":"Task information retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Query a BytePlus AI MediaKit task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplusmediakit/api/v1/tools/enhance-video":{"post":{"description":"Submits an asynchronous AI MediaKit video enhancement task for a video reachable at a public URL. Upscales and restores the video with the standard or professional tool version, optionally guided by a scene preset. Returns the task id used to poll for the enhanced output.\n","operationId":"ByteplusMediaKitEnhanceVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusMediaKitEnhanceVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusMediaKitEnhanceVideoResponse"}}},"description":"Enhancement task created successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a BytePlus AI MediaKit video enhancement task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplusomnihuman/v2/tasks":{"post":{"description":"Submits an asynchronous OmniHuman 2.0 task that turns one image of a person and one speech audio track into a lip-synced video. The output video is as long as the audio, and the call is billed per second of output video. Returns the task id used to poll for the video.\n","operationId":"ByteplusOmniHumanV2Submit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusOmniHumanV2Request"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusOmniHumanV2SubmitResponse"}}},"description":"Task submitted. When code is not 10000 the task was not created."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a BytePlus OmniHuman 2.0 video task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/byteplusomnihuman/v2/tasks/{task_id}":{"get":{"description":"Returns the state of an OmniHuman 2.0 task submitted by the caller. When data.status is done, data.video_url holds the video, valid for one hour. A failed task answers 200 with a `code` other than 10000 and BytePlus's `message`, except a rate limit, which keeps its 429. A task id the caller did not submit answers 404.\n","operationId":"ByteplusOmniHumanV2Result","parameters":[{"description":"The task id returned by the submit call","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BytePlusOmniHumanV2ResultResponse"}}},"description":"Task state retrieved"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Query a BytePlus OmniHuman 2.0 video task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/comfy-cloud/workflow/generate":{"post":{"operationId":"ComfyCloudGenerate","requestBody":{"content":{"application/json":{"schema":{"properties":{"inputs":{"additionalProperties":true,"description":"Workflow-specific scalar bindings plus named signed media assets. The schema\npermits workflow-specific property names; the selected workflow's server-side\nallowlist rejects unsupported properties. `maxProperties` bounds how large one\nbinding set may be so an open property name space is not an unbounded body.\n","maxProperties":64,"properties":{"aspect_ratio":{"maxLength":32,"type":"string"},"assets":{"additionalProperties":{"properties":{"type":{"enum":["IMAGE","VIDEO","AUDIO"],"type":"string"},"url":{"format":"uri","maxLength":2048,"pattern":"^https://","type":"string"}},"required":["type","url"],"type":"object"},"description":"Named signed media inputs staged into Comfy Cloud before execution.\nAsset URLs are fetched SERVER-SIDE, so the contract constrains them to\n`https://` and the server additionally enforces a host allowlist: an\nunconstrained caller-supplied URL here is a request-forgery path into the\ncluster (link-local metadata, in-cluster services). `maxProperties` bounds\nhow many staging fetches one request can trigger.\n","maxProperties":16,"type":"object"},"audio_url":{"format":"uri","maxLength":2048,"pattern":"^https://","type":"string"},"driving_subject":{"maxLength":1024,"type":"string"},"driving_video_url":{"format":"uri","maxLength":2048,"pattern":"^https://","type":"string"},"duration_seconds":{"description":"Requested output duration. This is the CONTRACT ceiling on how much GPU\ntime one request may ask for, not the operative limit: the selected\ncurated workflow's own allowlist narrows it further.\n","maximum":300,"minimum":0,"type":"number"},"enhance_prompt":{"type":"boolean"},"first_frame_url":{"format":"uri","maxLength":2048,"pattern":"^https://","type":"string"},"image_url":{"format":"uri","maxLength":2048,"pattern":"^https://","type":"string"},"last_frame_url":{"format":"uri","maxLength":2048,"pattern":"^https://","type":"string"},"negative_prompt":{"maxLength":8192,"type":"string"},"prompt":{"maxLength":8192,"type":"string"},"reference_character_url":{"format":"uri","maxLength":2048,"pattern":"^https://","type":"string"},"reference_subject":{"maxLength":1024,"type":"string"},"scene_prompt":{"maxLength":8192,"type":"string"},"seed":{"minimum":0,"type":"integer"}},"type":"object"},"workflow":{"description":"Curated workflow identifier in the two-segment `{model}/{task}` form, e.g.\n`flux-2/text-to-image`. Selects the server-side workflow allowlist entry;\nbounded so an unbounded identifier never reaches the allowlist lookup or a\nlog line.\n\nThe pattern is the one `RouterModelId` already uses, because these ids are\nthe same shape and a caller should not have to learn two. It is not\nenforced at request time: comfy-api installs no OpenAPI request validator\nand the registry is a plain map lookup, so an id outside the set is a 404\nfrom the lookup rather than a 400 from the schema. That makes this pattern\ndocumentation the node is written against, which is exactly why\nTestComfyCloudWorkflowIDsMatchTheSpecPattern pins every registry key\nagainst it: a slash-less id would have satisfied the old pattern and no\nreal id did.\n","example":"flux-2/text-to-image","maxLength":128,"pattern":"^[a-z0-9]+([._-][a-z0-9]+)*/[a-z0-9]+([._-][a-z0-9]+)*$","type":"string"}},"required":["workflow","inputs"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"cancel_url":{"type":"string"},"polling_url":{"type":"string"},"status":{"pattern":"^queued$","type":"string"},"task_id":{"type":"string"}},"required":["task_id","status","polling_url","cancel_url"],"type":"object"}}},"description":"Workflow queued"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid workflow request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Workspace partner-provider policy does not allow this provider, or the caller's workspace identity could not be resolved."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Preview execution service unavailable"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Run a curated workflow on Comfy Cloud","tags":["API Nodes"],"x-excluded":true}},"/proxy/comfy-cloud/workflow/tasks/{task_id}":{"get":{"operationId":"ComfyCloudGetTask","parameters":[{"description":"Opaque, caller-bound task capability","in":"path","name":"task_id","required":true,"schema":{"maxLength":512,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"string"},"output_url":{"format":"uri","type":"string"},"output_urls":{"additionalProperties":{"format":"uri","type":"string"},"type":"object"},"progress":{"maximum":100,"minimum":0,"type":"number"},"status":{"$ref":"#/components/schemas/ComfyCloudTaskStatus"},"task_id":{"type":"string"}},"required":["task_id","status"],"type":"object"}}},"description":"Current workflow task state"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid task capability"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Task capability does not belong to the caller or has expired"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Preview execution service unavailable"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a Comfy Cloud workflow task","tags":["API Nodes"],"x-excluded":true}},"/proxy/comfy-cloud/workflow/tasks/{task_id}/cancel":{"post":{"operationId":"ComfyCloudCancelTask","parameters":[{"description":"Opaque, caller-bound task capability","in":"path","name":"task_id","required":true,"schema":{"maxLength":512,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"$ref":"#/components/schemas/ComfyCloudCancellationStatus"},"task_id":{"type":"string"}},"required":["task_id","status"],"type":"object"}}},"description":"Cancellation accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid task capability"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Task capability does not belong to the caller or has expired"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Preview execution service unavailable"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Cancel a Comfy Cloud workflow task","tags":["API Nodes"],"x-excluded":true}},"/proxy/creatify/api/aurora":{"post":{"description":"Submits a Creatify Aurora 2.0 avatar task: a talking or singing video from one photo and an audio clip. Only `aurora_v2` is accepted. The call answers with the task to poll on `GET /proxy/creatify/api/aurora/{id}`.","operationId":"CreatifyAuroraCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatifyAuroraRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatifyAuroraTask"}}},"description":"Task accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Creatify Aurora Create Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/creatify/api/aurora/{id}":{"get":{"description":"Polls a Creatify Aurora task. A `done` task carries its video in `video_output`.","operationId":"CreatifyAuroraGet","parameters":[{"description":"The task id returned at submission.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatifyAuroraTask"}}},"description":"Task retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Creatify Aurora Get Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/creatify/api/boreal":{"post":{"description":"Submits a Creatify Boreal-H3 video task: text to video, start and end frame, or reference to video, picked by which fields are set. Only `boreal-h3` is accepted. The call answers with the task to poll on `GET /proxy/creatify/api/boreal/{id}`.","operationId":"CreatifyBorealCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatifyBorealRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatifyBorealTask"}}},"description":"Task accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Creatify Boreal Create Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/creatify/api/boreal/{id}":{"get":{"description":"Polls a Creatify Boreal task. A `done` task carries its video in `video_output`.","operationId":"CreatifyBorealGet","parameters":[{"description":"The task id returned at submission.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatifyBorealTask"}}},"description":"Task retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Creatify Boreal Get Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/dummy":{"post":{"description":"Dummy proxy endpoint that returns a simple string","operationId":"DummyProxy","requestBody":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Reindex completed successfully."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Dummy proxy","tags":["API Nodes"],"x-excluded":true,"x-partner-governance":"excluded"}},"/proxy/elevenlabs/v1/audio-isolation":{"post":{"description":"Removes background noise from audio. Isolates vocals/speech from background sounds.\n","operationId":"ElevenLabsAudioIsolation","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ElevenLabsAudioIsolationRequest"}}},"required":true},"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}},"audio/mpeg":{"schema":{"format":"binary","type":"string"}}},"description":"The isolated audio file"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Audio Isolation","tags":["API Nodes","ElevenLabs"],"x-excluded":true}},"/proxy/elevenlabs/v1/shared-voices":{"get":{"description":"Retrieves a list of shared voices from the ElevenLabs voice library.\n","operationId":"ElevenLabsGetSharedVoices","parameters":[{"description":"How many shared voices to return at maximum. Can not exceed 100, defaults to 30.","in":"query","name":"page_size","schema":{"default":30,"type":"integer"}},{"description":"Voice category used for filtering. One of: professional, famous, high_quality.","in":"query","name":"category","schema":{"type":"string"}},{"description":"Gender used for filtering","in":"query","name":"gender","schema":{"type":"string"}},{"description":"Age used for filtering","in":"query","name":"age","schema":{"type":"string"}},{"description":"Accent used for filtering","in":"query","name":"accent","schema":{"type":"string"}},{"description":"Language used for filtering","in":"query","name":"language","schema":{"type":"string"}},{"description":"Locale used for filtering","in":"query","name":"locale","schema":{"type":"string"}},{"description":"Search term used for filtering","in":"query","name":"search","schema":{"type":"string"}},{"description":"Use-case used for filtering","in":"query","name":"use_cases","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Descriptives used for filtering","in":"query","name":"descriptives","schema":{"items":{"type":"string"},"type":"array"}},{"description":"Filter featured voices","in":"query","name":"featured","schema":{"default":false,"type":"boolean"}},{"description":"Filter voices with a minimum notice period of the given number of days.","in":"query","name":"min_notice_period_days","schema":{"type":"integer"}},{"description":"Include/exclude voices with custom rates","in":"query","name":"include_custom_rates","schema":{"type":"boolean"}},{"description":"Include/exclude voices that are live moderated","in":"query","name":"include_live_moderated","schema":{"type":"boolean"}},{"description":"Filter voices that are enabled for the reader app","in":"query","name":"reader_app_enabled","schema":{"default":false,"type":"boolean"}},{"description":"Filter voices by public owner ID","in":"query","name":"owner_id","schema":{"type":"string"}},{"description":"Sort criteria","in":"query","name":"sort","schema":{"type":"string"}},{"description":"Page number","in":"query","name":"page","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsSharedVoicesPaginatedResponse"}}},"description":"Shared voices retrieved successfully"},"401":{"description":"Unauthorized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"List Shared Voices","tags":["API Nodes","ElevenLabs"],"x-excluded":true}},"/proxy/elevenlabs/v1/sound-generation":{"post":{"description":"Turn text into sound effects for your videos, voice-overs or video games\nusing the most advanced sound effects models in the world.\n","operationId":"ElevenLabsSoundGeneration","parameters":[{"description":"Output format of the generated audio. Formatted as codec_sample_rate_bitrate.\nExamples: mp3_22050_32, mp3_44100_128, pcm_16000, ulaw_8000\n","in":"query","name":"output_format","schema":{"default":"mp3_44100_128","enum":["mp3_22050_32","mp3_24000_48","mp3_44100_32","mp3_44100_64","mp3_44100_96","mp3_44100_128","mp3_44100_192","pcm_8000","pcm_16000","pcm_22050","pcm_24000","pcm_32000","pcm_44100","pcm_48000","ulaw_8000","alaw_8000","opus_48000_32","opus_48000_64","opus_48000_96","opus_48000_128","opus_48000_192"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsSoundGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}},"audio/mpeg":{"schema":{"format":"binary","type":"string"}}},"description":"The generated sound effect audio file"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create Sound Effect","tags":["API Nodes","ElevenLabs"],"x-excluded":true}},"/proxy/elevenlabs/v1/speech-to-speech/{voice_id}":{"post":{"description":"Transform audio from one voice to another. Maintain full control over emotion, timing and delivery.\n","operationId":"ElevenLabsSpeechToSpeech","parameters":[{"description":"ID of the voice to be used. Use the Get voices endpoint to list all available voices.","in":"path","name":"voice_id","required":true,"schema":{"type":"string"}},{"description":"When enable_logging is set to false zero retention mode will be used for the request.\nThis will mean history features are unavailable for this request, including request stitching.\nZero retention mode may only be used by enterprise customers.\n","in":"query","name":"enable_logging","schema":{"default":true,"type":"boolean"}},{"description":"Latency optimization levels (0-4):\n0 - default mode (no latency optimizations)\n1 - normal latency optimizations (~50% improvement)\n2 - strong latency optimizations (~75% improvement)\n3 - max latency optimizations\n4 - max latency with text normalizer off (best latency but may mispronounce)\n","in":"query","name":"optimize_streaming_latency","schema":{"nullable":true,"type":"integer"}},{"description":"Output format of the generated audio. Formatted as codec_sample_rate_bitrate.\nExamples: mp3_22050_32, mp3_44100_128, pcm_16000, ulaw_8000\n","in":"query","name":"output_format","schema":{"default":"mp3_44100_128","enum":["mp3_22050_32","mp3_24000_48","mp3_44100_32","mp3_44100_64","mp3_44100_96","mp3_44100_128","mp3_44100_192","pcm_8000","pcm_16000","pcm_22050","pcm_24000","pcm_32000","pcm_44100","pcm_48000","ulaw_8000","alaw_8000","opus_48000_32","opus_48000_64","opus_48000_96","opus_48000_128","opus_48000_192"],"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ElevenLabsSpeechToSpeechRequest"}}},"required":true},"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}},"audio/mpeg":{"schema":{"format":"binary","type":"string"}},"audio/ogg":{"schema":{"format":"binary","type":"string"}},"audio/wav":{"schema":{"format":"binary","type":"string"}}},"description":"The generated audio file"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Voice Changer (Speech-to-Speech)","tags":["API Nodes","ElevenLabs"],"x-excluded":true}},"/proxy/elevenlabs/v1/speech-to-text":{"post":{"description":"Transcribe an audio or video file. The transcript is always returned synchronously in the\nresponse: webhook delivery is not supported on this route, and webhook=true is refused with\n400. When use_multi_channel is true and the provided audio has multiple channels, a\n'transcripts' object with separate transcripts for each channel is returned. Otherwise,\nreturns a single transcript.\n","operationId":"ElevenLabsSpeechToText","parameters":[{"description":"When enable_logging is set to false zero retention mode will be used for the request.\nThis will mean log and transcript storage features are unavailable for this request.\nZero retention mode may only be used by enterprise customers.\n","in":"query","name":"enable_logging","schema":{"default":true,"type":"boolean"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ElevenLabsSTTRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsSTTResponse"}}},"description":"Synchronous transcription result"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create transcript (Speech-to-Text)","tags":["API Nodes","ElevenLabs"],"x-excluded":true}},"/proxy/elevenlabs/v1/text-to-dialogue":{"post":{"description":"Converts a list of text and voice ID pairs into speech (dialogue) and returns audio.\nUseful for generating conversations between multiple characters.\n","operationId":"ElevenLabsTextToDialogue","parameters":[{"description":"Output format of the generated audio. Formatted as codec_sample_rate_bitrate.\nExamples: mp3_22050_32, mp3_44100_128, pcm_16000, ulaw_8000\n","in":"query","name":"output_format","schema":{"default":"mp3_44100_128","enum":["mp3_22050_32","mp3_24000_48","mp3_44100_32","mp3_44100_64","mp3_44100_96","mp3_44100_128","mp3_44100_192","pcm_8000","pcm_16000","pcm_22050","pcm_24000","pcm_32000","pcm_44100","pcm_48000","ulaw_8000","alaw_8000","opus_48000_32","opus_48000_64","opus_48000_96","opus_48000_128","opus_48000_192"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsTextToDialogueRequest"}}},"required":true},"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}},"audio/mpeg":{"schema":{"format":"binary","type":"string"}},"audio/ogg":{"schema":{"format":"binary","type":"string"}},"audio/wav":{"schema":{"format":"binary","type":"string"}}},"description":"The generated audio file"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create dialogue (Multi-voice TTS)","tags":["API Nodes","ElevenLabs"],"x-excluded":true}},"/proxy/elevenlabs/v1/text-to-speech/{voice_id}":{"post":{"description":"Converts text into speech using a specified voice and returns audio.\n\nThe output format can be specified via the output_format query parameter.\nSupported formats include MP3, PCM, μ-law, and Opus with various sample rates and bitrates.\n","operationId":"ElevenLabsTextToSpeech","parameters":[{"description":"ID of the voice to use. Use the Get voices endpoint to list all available voices.","in":"path","name":"voice_id","required":true,"schema":{"type":"string"}},{"description":"When set to false, enables zero retention mode (enterprise only). History features will be unavailable.","in":"query","name":"enable_logging","schema":{"default":true,"type":"boolean"}},{"description":"Deprecated. Latency optimization levels (0-4):\n0 - default mode (no latency optimizations)\n1 - normal latency optimizations (~50% improvement)\n2 - strong latency optimizations (~75% improvement)\n3 - max latency optimizations\n4 - max latency with text normalizer off (best latency but may mispronounce)\n","in":"query","name":"optimize_streaming_latency","schema":{"maximum":4,"minimum":0,"type":"integer"}},{"description":"Output format of the generated audio. Formatted as codec_sample_rate_bitrate.\nExamples: mp3_22050_32, mp3_44100_128, pcm_16000, pcm_22050, ulaw_8000\n","in":"query","name":"output_format","schema":{"default":"mp3_44100_128","enum":["mp3_22050_32","mp3_44100_32","mp3_44100_64","mp3_44100_96","mp3_44100_128","mp3_44100_192","pcm_8000","pcm_16000","pcm_22050","pcm_24000","pcm_32000","pcm_44100","pcm_48000","ulaw_8000","alaw_8000","opus_48000_32","opus_48000_64","opus_48000_96","opus_48000_128","opus_48000_192","wav_8000","wav_16000","wav_22050","wav_24000","wav_32000","wav_44100","wav_48000"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsTTSRequest"}}},"required":true},"responses":{"200":{"content":{"audio/mpeg":{"schema":{"format":"binary","type":"string"}},"audio/ogg":{"schema":{"format":"binary","type":"string"}},"audio/wav":{"schema":{"format":"binary","type":"string"}}},"description":"The generated audio file"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"ElevenLabs Text to Speech","tags":["API Nodes","ElevenLabs"],"x-excluded":true}},"/proxy/elevenlabs/v1/voices/add":{"post":{"description":"Create an instant voice clone and add it to your Voices.\n","operationId":"ElevenLabsCreateVoice","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ElevenLabsCreateVoiceRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"requires_verification":{"type":"boolean"},"voice_id":{"type":"string"}},"type":"object"}}},"description":"Voice created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create Voice Clone","tags":["API Nodes","ElevenLabs"],"x-excluded":true}},"/proxy/elevenlabs/v2/voices":{"get":{"description":"Proxies ElevenLabs `GET /v2/voices` (the paginated voice search endpoint)\nwith the `category` query parameter pinned to `premade`, so only premade\nvoices from the ElevenLabs voice library are ever returned.\n","operationId":"ElevenLabsGetVoices","parameters":[{"description":"Search term used to filter voices by name or description.","in":"query","name":"search","schema":{"type":"string"}},{"description":"How many voices to return per page. Max 100, defaults to 10.","in":"query","name":"page_size","schema":{"type":"integer"}},{"description":"Pagination cursor returned by a previous call.","in":"query","name":"next_page_token","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsVoicesPaginatedResponse"}}},"description":"Voices retrieved successfully"},"401":{"description":"Unauthorized"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"List Voices","tags":["API Nodes","ElevenLabs"],"x-excluded":true}},"/proxy/fal/blackforestlabs/flux-3-max/image-to-video":{"post":{"description":"Submits a text prompt plus a start frame and an optional end frame to Black Forest Labs' FLUX 3 Max model (blackforestlabs/flux-3-max/image-to-video) via fal's async queue API and returns a request_id. fal bills per second of requested duration, at a higher rate for 1080p than for 720p. Poll the status endpoint, then fetch the result.","operationId":"FalFlux3MaxImageToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalFlux3MaxImageToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a FLUX 3 Max image-to-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/blackforestlabs/flux-3-max/keyframes-to-video":{"post":{"description":"Submits a text prompt plus 1 to 10 keyframe images pinned to frame positions to Black Forest Labs' FLUX 3 Max model (blackforestlabs/flux-3-max/keyframes-to-video) via fal's async queue API and returns a request_id. fal bills per second of requested duration, at a higher rate for 1080p than for 720p. Poll the status endpoint, then fetch the result.","operationId":"FalFlux3MaxKeyframesToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalFlux3MaxKeyframesToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a FLUX 3 Max keyframes-to-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/blackforestlabs/flux-3-max/requests/{request_id}":{"get":{"description":"Forwards to fal's queue result endpoint for the given request_id and returns the generated video once the request is COMPLETED. All three FLUX 3 Max routes share this result route.","operationId":"FalFlux3MaxResult","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalFlux3MaxVideoResponse"}}},"description":"The completed FLUX 3 Max result"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Fetch the result of a completed fal FLUX 3 Max request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/blackforestlabs/flux-3-max/requests/{request_id}/status":{"get":{"description":"Forwards to fal's queue status endpoint for the given request_id. Returns the queue status (IN_QUEUE, IN_PROGRESS, or COMPLETED). Once COMPLETED, fetch the result from the request endpoint. All three FLUX 3 Max routes share this poll route.","operationId":"FalFlux3MaxStatus","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Current queue status of the request"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Poll the status of a fal FLUX 3 Max request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/blackforestlabs/flux-3-max/text-to-video":{"post":{"description":"Submits a text prompt to Black Forest Labs' FLUX 3 Max model (blackforestlabs/flux-3-max/text-to-video) via fal's async queue API and returns a request_id. fal bills per second of requested duration, at a higher rate for 1080p than for 720p. Poll the status endpoint, then fetch the result.","operationId":"FalFlux3MaxTextToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalFlux3MaxTextToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a FLUX 3 Max text-to-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/clarityai/crystal-upscaler":{"post":{"description":"Submits an image to Clarity AI's Crystal Upscaler (clarityai/crystal-upscaler) via fal's async queue API and returns a request_id. The model upscales portraits with a focus on faces, skin and eyes. fal bills per output megapixel, so the price grows with the square of scale_factor. Poll the status endpoint, then fetch the result.","operationId":"FalCrystalUpscaler","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalCrystalUpscalerRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit an image upscale to fal Clarity AI Crystal Upscaler","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/clarityai/crystal-upscaler/requests/{request_id}":{"get":{"description":"Forwards to fal's queue result endpoint for the given request_id and returns the upscaled image once the request is COMPLETED.","operationId":"FalCrystalUpscalerResult","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalCrystalUpscalerResponse"}}},"description":"The completed Crystal Upscaler result"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Fetch the result of a completed fal Clarity AI Crystal Upscaler request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/clarityai/crystal-upscaler/requests/{request_id}/status":{"get":{"description":"Forwards to fal's queue status endpoint for the given request_id. Returns the queue status (IN_QUEUE, IN_PROGRESS, or COMPLETED). Once COMPLETED, fetch the result from the request endpoint.","operationId":"FalCrystalUpscalerStatus","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Current queue status of the request"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Poll the status of a fal Clarity AI Crystal Upscaler request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/clarityai/crystal-video-upscaler":{"post":{"description":"Submits a video to Clarity AI's Crystal Video Upscaler (clarityai/crystal-video-upscaler) via fal's async queue API and returns a request_id. fal bills per output megapixel per second of video, times an FPS factor (1x up to 30 FPS, 2x up to 60 FPS, 3x up to 90 FPS), so the price grows with the square of scale_factor and with the video length. Poll the status endpoint, then fetch the result.","operationId":"FalCrystalVideoUpscaler","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalCrystalVideoUpscalerRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a video upscale to fal Clarity AI Crystal Video Upscaler","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/clarityai/crystal-video-upscaler/requests/{request_id}":{"get":{"description":"Forwards to fal's queue result endpoint for the given request_id and returns the upscaled video once the request is COMPLETED.","operationId":"FalCrystalVideoUpscalerResult","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalCrystalVideoUpscalerResponse"}}},"description":"The completed Crystal Video Upscaler result"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Fetch the result of a completed fal Clarity AI Crystal Video Upscaler request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/clarityai/crystal-video-upscaler/requests/{request_id}/status":{"get":{"description":"Forwards to fal's queue status endpoint for the given request_id. Returns the queue status (IN_QUEUE, IN_PROGRESS, or COMPLETED). Once COMPLETED, fetch the result from the request endpoint.","operationId":"FalCrystalVideoUpscalerStatus","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Current queue status of the request"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Poll the status of a fal Clarity AI Crystal Video Upscaler request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/fal-ai/patina":{"post":{"description":"Submits an image to fal's PATINA model (fal-ai/patina) via the async queue API and returns a request_id. Predicts PBR material maps (basecolor, normal, roughness, metalness, height) from a single input image. Poll the status endpoint, then fetch the result.","operationId":"FalPatina","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalPatinaRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a PBR material prediction to fal PATINA (image-to-image)","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/fal-ai/patina/material":{"post":{"description":"Submits a material generation request to fal's PATINA model (fal-ai/patina/material) via fal's async queue API and returns a request_id. PATINA generations (especially 8K / 4x upscaling) can take minutes, so the job is queued rather than run synchronously: poll the status endpoint and then fetch the result. The base texture plus the requested PBR maps (basecolor, normal, roughness, metalness, height) are returned by the result endpoint once status is COMPLETED.","operationId":"FalPatinaMaterialSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalPatinaMaterialRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a PBR material generation to fal PATINA","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/fal-ai/patina/material/extract":{"post":{"description":"Submits a prompt + input image to fal's PATINA model (fal-ai/patina/material/extract) via the async queue API and returns a request_id. Extracts a texture from the image and generates a complete tiling PBR material. Poll the status endpoint, then fetch the result.","operationId":"FalPatinaMaterialExtract","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalPatinaMaterialExtractRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a texture extraction + PBR material generation to fal PATINA","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/fal-ai/patina/requests/{request_id}":{"get":{"description":"Forwards to fal's queue result endpoint for the given request_id and returns the generated material once the request is COMPLETED: a base texture image plus the requested PBR maps.","operationId":"FalPatinaMaterialResult","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalPatinaMaterialResponse"}}},"description":"The completed PATINA material result"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Fetch the result of a completed fal PATINA request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/fal-ai/patina/requests/{request_id}/status":{"get":{"description":"Forwards to fal's queue status endpoint for the given request_id. Returns the queue status (IN_QUEUE, IN_PROGRESS, or COMPLETED). Once COMPLETED, fetch the result from the request endpoint.","operationId":"FalPatinaMaterialStatus","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Current queue status of the request"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Poll the status of a fal PATINA request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max-turbo/extend-video":{"post":{"description":"Submits a source video plus a text prompt to the MiniMax H3 Max Turbo extend-video model (minimax/h3-max-turbo/extend-video) via fal's async queue API and returns a request_id. The model continues the video. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxTurboExtendVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxExtendVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max Turbo extend-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max-turbo/image-to-video":{"post":{"description":"Submits a text prompt plus optional first/last frame images to the MiniMax H3 Max Turbo model (minimax/h3-max-turbo/image-to-video) via fal's async queue API and returns a request_id. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxTurboImageToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxTurboImageToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max Turbo image-to-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max-turbo/requests/{request_id}":{"get":{"description":"Forwards to fal's queue result endpoint for the given request_id and returns the generated video once the request is COMPLETED.","operationId":"FalMinimaxH3MaxTurboResult","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxVideoResponse"}}},"description":"The completed MiniMax H3 Max Turbo video result"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Fetch the result of a completed fal MiniMax H3 Max Turbo request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max-turbo/requests/{request_id}/status":{"get":{"description":"Forwards to fal's queue status endpoint for the given request_id. Returns the queue status (IN_QUEUE, IN_PROGRESS, or COMPLETED). Once COMPLETED, fetch the result from the request endpoint.","operationId":"FalMinimaxH3MaxTurboStatus","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Current queue status of the request"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Poll the status of a fal MiniMax H3 Max Turbo request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max-turbo/text-to-video":{"post":{"description":"Submits a text prompt to the MiniMax H3 Max Turbo model (minimax/h3-max-turbo/text-to-video) via fal's async queue API and returns a request_id. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxTurboTextToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxTurboTextToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max Turbo text-to-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max/camera-controls":{"post":{"description":"Submits a first-frame image plus optional camera keyframes to the MiniMax H3 Max camera-controls model (minimax/h3-max/camera-controls) via fal's async queue API and returns a request_id. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxCameraControls","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxCameraControlsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max camera-controls generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max/extend-video":{"post":{"description":"Submits a source video plus a text prompt to the MiniMax H3 Max extend-video model (minimax/h3-max/extend-video) via fal's async queue API and returns a request_id. The model continues the video. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxExtendVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxExtendVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max extend-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max/image-to-video":{"post":{"description":"Submits a text prompt plus optional first/last frame images to the MiniMax H3 Max model (minimax/h3-max/image-to-video) via fal's async queue API and returns a request_id. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxImageToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxImageToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max image-to-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max/insert-video":{"post":{"description":"Submits a source video plus a start time and a resume time to the MiniMax H3 Max insert-video model (minimax/h3-max/insert-video) via fal's async queue API and returns a request_id. The model generates a new scene between the two times. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxInsertVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxInsertVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max insert-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max/lip-sync/image-to-video":{"post":{"description":"Submits an image plus an audio clip to the MiniMax H3 Max lip-sync model (minimax/h3-max/lip-sync/image-to-video) via fal's async queue API and returns a request_id. The model generates a video of the subject speaking the audio. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxLipSyncImageToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxLipSyncImageToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max lip-sync generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max/recast":{"post":{"description":"Submits a source video plus one to four reference photos to the MiniMax H3 Max recast model (minimax/h3-max/recast) via fal's async queue API and returns a request_id. The model replaces the people in the video and keeps the motion, camera, cuts and audio. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxRecast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxRecastRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max recast generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max/reference-to-video":{"post":{"description":"Submits a text prompt plus reference images, videos, or audio clips to the MiniMax H3 Max model (minimax/h3-max/reference-to-video) via fal's async queue API and returns a request_id. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxReferenceToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxReferenceToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max reference-to-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max/reframe-video":{"post":{"description":"Submits a source video to the MiniMax H3 Max reframe-video model (minimax/h3-max/reframe-video) via fal's async queue API and returns a request_id. The model outpaints the video to a new aspect ratio and keeps the audio and timing. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxReframeVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxReframeVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max reframe-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max/requests/{request_id}":{"get":{"description":"Forwards to fal's queue result endpoint for the given request_id and returns the generated video once the request is COMPLETED.","operationId":"FalMinimaxH3MaxResult","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxVideoResponse"}}},"description":"The completed MiniMax H3 Max video result"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Fetch the result of a completed fal MiniMax H3 Max request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max/requests/{request_id}/status":{"get":{"description":"Forwards to fal's queue status endpoint for the given request_id. Returns the queue status (IN_QUEUE, IN_PROGRESS, or COMPLETED). Once COMPLETED, fetch the result from the request endpoint.","operationId":"FalMinimaxH3MaxStatus","parameters":[{"description":"The fal queue request id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Current queue status of the request"},"401":{"description":"Unauthorized"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Poll the status of a fal MiniMax H3 Max request","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fal/minimax/h3-max/text-to-video":{"post":{"description":"Submits a text prompt to the MiniMax H3 Max model (minimax/h3-max/text-to-video) via fal's async queue API and returns a request_id. Poll the status endpoint, then fetch the result.","operationId":"FalMinimaxH3MaxTextToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalMinimaxH3MaxTextToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalQueueStatus"}}},"description":"Request accepted and queued by fal"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a MiniMax H3 Max text-to-video generation to fal","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fishaudio/model":{"post":{"description":"Creates a voice model (instant voice clone) from 1-20 reference audio clips, for use as reference_id on the text-to-speech endpoint. Accepts multipart/form-data only. Visibility defaults to public upstream, so callers should send visibility explicitly (private or unlist); a public model also requires a cover_image.\n","operationId":"FishAudioCreateModel","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/FishAudioCreateModelRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"_id":{"type":"string"},"state":{"type":"string"},"title":{"type":"string"},"visibility":{"type":"string"}},"type":"object"}}},"description":"Voice model created successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Fish Audio Create Voice Model","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fishaudio/v1/asr":{"post":{"description":"Synchronously transcribes an uploaded audio file to text, returning the transcript, detected language and timestamped segments. Accepts multipart/form-data only — the upstream's application/msgpack variant is not exposed.\n","operationId":"FishAudioSpeechToText","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/FishAudioASRRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FishAudioASRResponse"}}},"description":"Transcription completed successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Fish Audio Speech to Text","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/fishaudio/v1/tts":{"post":{"description":"Synchronously converts text to speech and streams back the generated audio in the requested output format (mp3, wav, pcm or opus). The TTS model is selected via the `model` request header; supported values are s1, s2.1-pro, drama-3 and drama-3-preview (default s2.1-pro). Only application/json request bodies are accepted — the upstream's application/msgpack variant (inline reference audio) is not exposed.\n","operationId":"FishAudioTextToSpeech","parameters":[{"description":"TTS model to use. Supported values: s1, s2.1-pro, drama-3, drama-3-preview. Defaults to s2.1-pro when omitted.\n","in":"header","name":"model","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FishAudioTTSRequest"}}},"required":true},"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}},"audio/mpeg":{"schema":{"format":"binary","type":"string"}},"audio/ogg":{"schema":{"format":"binary","type":"string"}},"audio/wav":{"schema":{"format":"binary","type":"string"}}},"description":"The generated audio, streamed in the requested output format"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Fish Audio Text to Speech","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/freepik/v1/ai/image-relight":{"post":{"description":"Relight an image using AI. This endpoint accepts a variety of parameters to customize the generated images.\n","operationId":"FreepikMagnificRelight","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikMagnificRelightRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskResponse"}}},"description":"OK - The relight process has started"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Relight an image","tags":["Freepik","Proxy"]}},"/proxy/freepik/v1/ai/image-relight/{task_id}":{"get":{"description":"Get the status of the relight task","operationId":"FreepikMagnificRelightGetStatus","parameters":[{"description":"ID of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskResponse"}}},"description":"OK - The task status is returned"},"404":{"description":"Task not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get the status of the relight task","tags":["Freepik","Proxy"]}},"/proxy/freepik/v1/ai/image-style-transfer":{"post":{"description":"Style transfer an image using AI.","operationId":"FreepikMagnificStyleTransfer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikMagnificStyleTransferRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskData"}}},"description":"OK - The style transfer process has started"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Style transfer an image","tags":["Freepik","Proxy"]}},"/proxy/freepik/v1/ai/image-style-transfer/{task_id}":{"get":{"description":"Get the status of the style transfer task","operationId":"FreepikMagnificStyleTransferGetStatus","parameters":[{"description":"ID of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskResponse"}}},"description":"OK - The task status is returned"},"404":{"description":"Task not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get the status of the style transfer task","tags":["Freepik","Proxy"]}},"/proxy/freepik/v1/ai/image-upscaler":{"post":{"description":"This asynchronous endpoint enables image upscaling using advanced AI algorithms.\nUpon submission, it returns a unique task_id which can be used to track the progress.\nFor real-time production use, include the optional webhook_url parameter to receive\nan automated notification once the task has been completed.\n","operationId":"FreepikMagnificUpscalerCreative","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikMagnificUpscalerCreativeRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskResponse"}}},"description":"OK - The upscaling process has started"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Upscale an image with Magnific","tags":["Freepik","Proxy"]}},"/proxy/freepik/v1/ai/image-upscaler-precision-v2":{"post":{"description":"Upscales an image while adding new visual elements or details (V2).\nThis endpoint may modify the original image content based on the prompt and inferred context.\nUpon submission, it returns a unique task_id which can be used to track the progress.\n","operationId":"FreepikMagnificUpscalerPrecisionV2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikMagnificUpscalerPrecisionV2Request"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskResponse"}}},"description":"OK - The upscaling process has started"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Upscale an image with Precision V2","tags":["Freepik","Proxy"]}},"/proxy/freepik/v1/ai/image-upscaler-precision-v2/{task_id}":{"get":{"description":"Returns the current status and output URL of a specific precision upscaler V2 task.","operationId":"FreepikMagnificUpscalerPrecisionV2GetStatus","parameters":[{"description":"ID of the task","in":"path","name":"task_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskResponse"}}},"description":"OK - The task status is returned"},"404":{"description":"Task not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get the status of the Precision V2 upscaling task","tags":["Freepik","Proxy"]}},"/proxy/freepik/v1/ai/image-upscaler/{task_id}":{"get":{"description":"Get the status of the upscaling task","operationId":"FreepikMagnificUpscalerCreativeGetStatus","parameters":[{"description":"ID of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskResponse"}}},"description":"OK - The task status is returned"},"404":{"description":"Task not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get the status of the upscaling task","tags":["Freepik","Proxy"]}},"/proxy/freepik/v1/ai/skin-enhancer/creative":{"post":{"description":"Enhance skin in images using AI with the Creative mode. This mode provides more artistic and stylized enhancements.","operationId":"FreepikSkinEnhancerCreative","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikSkinEnhancerCreativeRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskResponse"}}},"description":"OK - The skin enhancer process has started"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Skin enhancer using AI (Creative)","tags":["Freepik","Proxy"]}},"/proxy/freepik/v1/ai/skin-enhancer/faithful":{"post":{"description":"Enhance skin in images using AI with the Faithful mode. This mode preserves the original appearance while improving skin quality.","operationId":"FreepikSkinEnhancerFaithful","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikSkinEnhancerFaithfulRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskResponse"}}},"description":"OK - The skin enhancer process has started"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Skin enhancer using AI (Faithful)","tags":["Freepik","Proxy"]}},"/proxy/freepik/v1/ai/skin-enhancer/flexible":{"post":{"description":"Enhance skin in images using AI with the Flexible mode. This mode allows you to choose the optimization target for the enhancement.","operationId":"FreepikSkinEnhancerFlexible","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikSkinEnhancerFlexibleRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskResponse"}}},"description":"OK - The skin enhancer process has started"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Skin enhancer using AI (Flexible)","tags":["Freepik","Proxy"]}},"/proxy/freepik/v1/ai/skin-enhancer/{task_id}":{"get":{"description":"Get the status of a skin enhancer task (works for both Creative and Faithful modes)","operationId":"FreepikSkinEnhancerGetStatus","parameters":[{"description":"ID of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikTaskResponse"}}},"description":"OK - The task status is returned"},"404":{"description":"Task not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreepikErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get the status of one skin enhancer task","tags":["Freepik","Proxy"]}},"/proxy/gemini-decisions":{"post":{"description":"Answer 1-1,000 named questions (`noul`, `choice` or `score`) about one\nshared `input` (text, image, audio, video or PDF) with\n`gemini-decision-1`. Every answer carries probabilities and a\nconfidence; the model writes no text. This endpoint is synchronous.\nBilling is per input token, as reported in `usage.total_input_tokens`.\n","operationId":"GeminiCreateDecision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeminiDecisionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeminiDecisionResponse"}}},"description":"One answer per question, with token usage."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Make decisions with Gemini Decision","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/gemini-interactions":{"post":{"description":"Forwards a create-interaction request to the Gemini Interactions API\n(`generativelanguage.googleapis.com/v1beta/interactions`). Billing is\nbased on the `usage` token counts in the response.\n","operationId":"GeminiCreateInteraction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeminiInteractionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeminiInteraction"}}},"description":"The completed interaction, including output content and token usage."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Gemini interaction","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/gemini-interactions/files/{name}":{"get":{"description":"Retrieves a file resource from the Gemini Files API. Pass the bare file\nname to read its metadata (processing state, size, URI); append\n`:download` to the name with `alt=media` to stream the raw bytes. Used\nto fetch interaction videos generated with `delivery: uri` in\n`response_format`, which returns a URI instead of inline base64 data\nfor outputs larger than 4 MB.\n","operationId":"GeminiGetInteractionFile","parameters":[{"description":"File name from the interaction output URI, optionally suffixed with `:download`.","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"Set to `media` together with the `:download` suffix to stream the file bytes.","in":"query","name":"alt","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}},"application/octet-stream":{"schema":{"format":"binary","type":"string"}},"video/mp4":{"schema":{"format":"binary","type":"string"}}},"description":"The file metadata, or the raw file bytes when downloading with `alt=media`."},"401":{"description":"Unauthorized"},"404":{"description":"File not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get or download a Gemini generated file","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/gemini-interactions/{id}":{"get":{"description":"Retrieves a stored interaction from the Gemini Interactions API.","operationId":"GeminiGetInteraction","parameters":[{"description":"Interaction ID returned by the create call.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeminiInteraction"}}},"description":"The interaction in its current state."},"401":{"description":"Unauthorized"},"404":{"description":"Interaction not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a Gemini interaction by ID","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/avatars":{"post":{"description":"Create a new avatar from a photo or a text prompt using the HeyGen v3\ncreate-avatar API. Returns the new avatar group and its first look;\ntraining is asynchronous — poll the get-avatar-look endpoint until the\nlook's status reaches a terminal state, then pass the look id as\navatar_id when creating videos. Types 'photo' and 'prompt' are\nsupported through this proxy; 'digital_twin' requires HeyGen's consent\nflow and is not supported.\n","operationId":"HeyGenCreateAvatar","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenCreateAvatarRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenCreateAvatarResponse"}}},"description":"Avatar creation accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"description":"Too Many Requests - rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a HeyGen avatar","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/avatars/looks/{look_id}":{"get":{"description":"Retrieve details for a specific HeyGen avatar look, including supported\nengines, preferred orientation, preview URLs, and training status. The\nlook id is the value to pass as avatar_id when creating a video.\n","operationId":"HeyGenGetAvatarLook","parameters":[{"description":"Unique avatar look identifier","in":"path","name":"look_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenAvatarLookResponse"}}},"description":"Avatar look details"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"404":{"description":"Avatar look not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a HeyGen avatar look","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/models/audio/clone-tts":{"post":{"description":"Clone one speaker's voice from a single recording, speak `text` in that\nvoice, and delete the voice. Returns the URL of one mono 44.1 kHz WAV\nfile and its duration, never a voice id. Each call makes a new clone, so\ntwo calls with the same recording give slightly different takes. This\nendpoint is synchronous. Billing is per character of `text`, the same\nas text to speech; the clone has no charge. When all voice clone slots\nare in use, the call answers 429 with `Retry-After`.\n","operationId":"HeyGenCreateModelCloneSpeech","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenModelCloneSpeechRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenModelCloneSpeechResponse"}}},"description":"Speech generated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, or HeyGen could not clone the recording"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"description":"All voice clone slots are in use; retry after `Retry-After` seconds. Also answered on a rate limit, or when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"502":{"description":"HeyGen did not finish the voice clone"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Clone a voice and speak text with the HeyGen Voice model","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/models/audio/tts":{"post":{"description":"Speak text in an `ACTIVE` HeyGen Voice voice with the `heygen-voice-1`\nmodel, or with `heygen-voice-1-turbo` for an instant voice at lower\nlatency. Returns the URL of one mono 44.1 kHz WAV file and its\nduration. This endpoint is synchronous.\n","operationId":"HeyGenCreateModelSpeech","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenModelSpeechRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenModelSpeechResponse"}}},"description":"Speech generated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"409":{"description":"The voice is not ACTIVE"},"429":{"description":"Too Many Requests - rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate speech with the HeyGen Voice model","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/models/audio/voices":{"post":{"description":"Clone one speaker's voice from a single recording with the HeyGen Voice\nmodel. Only `instant` mode is accepted. Creation is asynchronous; poll\nthe get-voice endpoint until status is `ACTIVE` or `FAILED`.\n","operationId":"HeyGenCreateModelVoice","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenCreateModelVoiceRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenCreateModelVoiceResponse"}}},"description":"Voice creation accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"description":"Too Many Requests - rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a HeyGen Voice instant voice","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/models/audio/voices/{voice_id}":{"get":{"description":"Retrieve a HeyGen Voice voice, including its status and, for a failed\nvoice, the failure reason.\n","operationId":"HeyGenGetModelVoice","parameters":[{"description":"The voice id returned by the create endpoint","in":"path","name":"voice_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenModelVoiceDetailResponse"}}},"description":"Voice status"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"404":{"description":"Voice not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a HeyGen Voice voice","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/models/avatars":{"post":{"description":"Animate one reference image, one reference video, or both, with the\nspeech in `audio`, using `heygen-avatar-6` or `heygen-avatar-6-turbo`.\nThe audio sets the video length. Generation is asynchronous; poll the\nget-model-video endpoint until status reaches a terminal state.\nA realistic human reference video needs HeyGen consent access on the\nworkspace, otherwise HeyGen answers 422.\n","operationId":"HeyGenCreateModelAvatarVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenCreateModelAvatarVideoRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenCreateVideoResponse"}}},"description":"Video creation accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"422":{"description":"HeyGen refused the reference media, for example `realistic_human_reference_not_allowed`"},"429":{"description":"Too Many Requests - rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a HeyGen Avatar 6 video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/models/decisions":{"post":{"description":"Answer 1-400 named questions (`noul`, `choice` or `score`) about text in\n`state` and optional images, videos and audio clips in `assets`, with\n`heygen-decision-1-turbo` (the default) or `heygen-decision-1`. Every\nanswer carries probabilities. This endpoint is synchronous. Billing is\nper input token, as reported in `data.usage.input_tokens`.\n","operationId":"HeyGenCreateModelDecision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenModelDecisionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenModelDecisionResponse"}}},"description":"Answers generated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"description":"Too Many Requests - rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Make decisions with the HeyGen Decision model","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/models/videos":{"post":{"description":"Generate a 5 to 15 second MP4 with its own audio track from a prompt\nusing the HeyGen Video model. The request `mode` selects the\nconditioning: `text_to_video`, `image_to_video` (requires `image`), or\n`reference_to_video` (requires at least one reference image or video).\nGeneration is asynchronous; poll the get-video endpoint until status\nreaches a terminal state.\n","operationId":"HeyGenCreateModelVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenCreateModelVideoRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenCreateVideoResponse"}}},"description":"Video creation accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"description":"Too Many Requests - rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a HeyGen Video model generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/models/videos/{video_id}":{"get":{"description":"Retrieve the status and result of a HeyGen Video model or Avatar 6\nmodel generation, including the resolved output dimensions.\n","operationId":"HeyGenGetModelVideo","parameters":[{"description":"The video id returned by the create endpoint","in":"path","name":"video_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenModelVideoDetailResponse"}}},"description":"Video status and result"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"404":{"description":"Video not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a HeyGen Video model generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/video-translations":{"post":{"description":"Translate a video into one or more target languages with voice cloning\nand lip-sync using the HeyGen v3 video-translation API. Returns one\nvideo_translation_id per target language. Translation is asynchronous;\npoll the get-video-translation endpoint until status reaches a\nterminal state.\n","operationId":"HeyGenCreateVideoTranslation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenCreateVideoTranslationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenVideoTranslationCreateResponse"}}},"description":"Translation creation accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"description":"Too Many Requests - rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a HeyGen video translation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/video-translations/{video_translation_id}":{"get":{"description":"Retrieve the status and result of a HeyGen video translation.\nPoll this endpoint until status is completed, then read\ndata.video_url.\n","operationId":"HeyGenGetVideoTranslation","parameters":[{"description":"The video translation id returned by the create endpoint","in":"path","name":"video_translation_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenVideoTranslationDetailResponse"}}},"description":"Translation status and result"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"404":{"description":"Video translation not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a HeyGen video translation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/videos":{"post":{"description":"Create a video from a HeyGen avatar or an arbitrary image using the\nHeyGen v3 create-video API. The request `type` selects the variant:\n`avatar` (an existing avatar look speaking a script or lip-syncing\naudio), `image` (animate an arbitrary image), or `cinematic_avatar`\n(prompt-driven generation guided by avatar looks and reference assets).\nGeneration is asynchronous; poll the get-video endpoint until status\nreaches a terminal state.\n","operationId":"HeyGenCreateVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenCreateVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenCreateVideoResponse"}}},"description":"Video creation accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"description":"Too Many Requests - rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a HeyGen avatar video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/videos/{video_id}":{"get":{"description":"Retrieve the status and result of a HeyGen video generation.\nPoll this endpoint until status is completed, then read\ndata.video_url.\n","operationId":"HeyGenGetVideo","parameters":[{"description":"The video id returned by the create endpoint","in":"path","name":"video_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenVideoDetailResponse"}}},"description":"Video status and result"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"404":{"description":"Video not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a HeyGen video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/heygen/v3/voices/speech":{"post":{"description":"Synthesize speech audio from text using a HeyGen voice backed by the\nstarfish engine. Supports plain text and SSML. Returns a URL to the\ngenerated audio file along with its duration and optional word-level\ntimestamps. This endpoint is synchronous.\n","operationId":"HeyGenCreateSpeech","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenSpeechRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeyGenSpeechResponse"}}},"description":"Speech generated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"description":"Too Many Requests - rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate speech audio via HeyGen","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/higgsfield/higgsfield/genjutsu/motion-transfer/v1.0":{"post":{"description":"Recast a source video from 1 to 8 reference images while keeping its\nmotion, camera and timing. The source video must be at least 4\nseconds; Higgsfield trims a longer one to 30 seconds, and the output\nlength matches the prepared source. Generation is asynchronous; poll\nthe request status endpoint until the status is terminal.\n","operationId":"HiggsfieldGenjutsuMotionTransfer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HiggsfieldGenjutsuMotionTransferRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HiggsfieldRequestStatus"}}},"description":"Generation queued"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"description":"Too Many Requests - rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Higgsfield Genjutsu Motion Transfer generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/higgsfield/requests/{request_id}/status":{"get":{"description":"Retrieve the status of a Higgsfield generation. The generated video is\nat `video.url` once the status is `completed`.\n","operationId":"HiggsfieldGetRequestStatus","parameters":[{"description":"The request id returned by the generation endpoint","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HiggsfieldRequestStatus"}}},"description":"Request status"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"404":{"description":"Request not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a Higgsfield request status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/hitpaw/api/photo-enhancer":{"post":{"description":"Submit an image processing task using HitPaw Photo Enhancement API.\nSupports multiple enhancement models for image super-resolution processing.\n\nThe returned job_id can be used with the task-status endpoint to check processing results.\n\n**Available Models:**\n- Enhancement \u0026 Denoise Models (face_2x/4x, face_v2_2x/4x, general_2x/4x, high_fidelity_2x/4x, sharpen_denoise, detail_denoise):\n  - Max input: 67 MP, Max output: 600 MP\n  - Supported formats: bmp, jpeg, jpg, png, jfif, tga, tiff, webp, heif\n- Generative Models (generative_portrait, generative):\n  - No input limit, Max output: 8K (33 MP)\n  - Supported formats: bmp, jpeg, jpg, png, jfif, tga, tiff, webp, heif\n","operationId":"HitpawPhotoEnhancer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawPhotoEnhancerRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawJobResponse"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit HitPaw Photo Enhancement Task","tags":["API Nodes","HitPaw"],"x-excluded":true}},"/proxy/hitpaw/api/task-status":{"post":{"description":"Query the status and result of a previously submitted photo or video enhancement task.\nPoll this endpoint until the task status indicates completion (COMPLETED).\n\n**Status Codes:**\n- CONVERTING: Job is currently being processed\n- COMPLETED: Job has completed successfully, result is available\n- ERROR: Job failed due to an error\n","operationId":"HitpawTaskStatus","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawTaskStatusRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawTaskStatusResponse"}}},"description":"Task status retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Query HitPaw Task Status","tags":["API Nodes","HitPaw"],"x-excluded":true}},"/proxy/hitpaw/api/video-enhancer":{"post":{"description":"Submit a video processing task using HitPaw Video Enhancement API.\nUses AI technology to upscale low-resolution videos to high resolution,\neliminate artifacts and noise, and improve clarity and details.\n\nThe returned job_id can be used with the task-status endpoint to check processing results.\n\n**Video Constraints:**\n- Duration: 0.5 seconds to 1 hour\n- Maximum output resolution: 36 MP (Total Pixels)\n- Supported input formats: dv, mlv, m2ts, m2t, m2v, nut, ser, 3g2, 3gp, asf, divx, f4v, h261, h263, m4v, mkv, mov, mp4, mpeg, mpeg4, mpg, mxf, ogv, rm, rmvb, webm, wmv, dmsm, dvdmedia, dvr-ms, mts, trp, ts, vob, vro, gif, xvid\n- Supported output formats: mp4, mov, mkv, m4v, avi, gif\n","operationId":"HitpawVideoEnhancer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawVideoEnhancerRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawJobResponse"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawErrorResponse"}}},"description":"Payment Required - Insufficient credits"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HitPawErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit HitPaw Video Enhancement Task","tags":["API Nodes","HitPaw"],"x-excluded":true}},"/proxy/ideogram/generate":{"post":{"description":"Forwards image generation requests to Ideogram's API and returns the results.","operationId":"IdeogramGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramGenerateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramGenerateResponse"}}},"description":"Successful response from Ideogram proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Ideogram). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Ideogram)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Ideogram took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Ideogram for image generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/ideogram-v3/edit":{"post":{"description":"Forwards image editing requests to Ideogram's API and returns the results.","operationId":"IdeogramV3Edit","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/IdeogramV3EditRequest"}}},"description":"Parameters for Ideogram V3 image editing","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramGenerateResponse"}}},"description":"Successful response from Ideogram proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Prompt or Initial Image failed the safety checks."},"429":{"description":"Rate limit exceeded (either from proxy or Ideogram). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Ideogram for image editing","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/ideogram-v3/generate":{"post":{"description":"Forwards image generation requests to Ideogram's API and returns the results.","operationId":"IdeogramV3Generate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramV3Request"}}},"description":"Parameters for Ideogram V3 image generation","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramGenerateResponse"}}},"description":"Successful response from Ideogram proxy"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Ideogram for image generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/ideogram-v3/reframe":{"post":{"operationId":"IdeogramV3Reframe","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/IdeogramV3ReframeRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramV3IdeogramResponse"}}},"description":"Reframed image successfully returned"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"422":{"description":"Unprocessable Entity"},"429":{"description":"Too Many Requests. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Reframe an image to a chosen resolution","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/ideogram-v3/remix":{"post":{"operationId":"IdeogramV3Remix","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/IdeogramV3RemixRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramV3IdeogramResponse"}}},"description":"Remix generated successfully"},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable Entity"},"429":{"description":"Too Many Requests. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Remix an image using a prompt","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/ideogram-v3/replace-background":{"post":{"operationId":"IdeogramV3ReplaceBackground","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/IdeogramV3ReplaceBackgroundRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramV3IdeogramResponse"}}},"description":"Background replaced successfully"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"422":{"description":"Unprocessable Entity"},"429":{"description":"Too Many Requests. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Replace background of an image using a prompt","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/ideogram-v4/generate":{"post":{"description":"Forwards text-to-image generation requests to Ideogram's 4.0 API and returns the results.","operationId":"IdeogramV4Generate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramV4Request"}}},"description":"Parameters for Ideogram 4.0 image generation","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramGenerateResponse"}}},"description":"Successful response from Ideogram proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Ideogram). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Ideogram)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Ideogram took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Ideogram 4.0 for image generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/text-to-image/p-image-ideogram":{"post":{"description":"Forwards text-to-image generation requests to Ideogram's P-Image-Ideogram API and returns the results.","operationId":"IdeogramPImageGenerate","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/IdeogramPImageRequest"}}},"description":"Parameters for P-Image-Ideogram image generation","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramGenerateResponse"}}},"description":"Successful response from Ideogram proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Prompt failed the safety checks."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Ideogram). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Ideogram)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Ideogram took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to P-Image-Ideogram for image generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/v1/generations/{generation_id}":{"get":{"description":"Returns the status of an Ideogram Vector 1 generation and, once it is completed, a signed URL for each SVG.","operationId":"IdeogramGetGeneration","parameters":[{"description":"The generation_id from the submit response.","in":"path","name":"generation_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramGenerationResponse"}}},"description":"The generation status"},"401":{"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Generation not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Ideogram)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to get an Ideogram generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/v2/image/generate/ideogram-4-5":{"post":{"description":"Generates images from a prompt, or edits up to five source images, with Ideogram 4.5 and returns the results.","operationId":"Ideogram45Generate","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Ideogram45GenerateRequest"}}},"description":"Parameters for Ideogram 4.5 image generation and editing","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ideogram45Response"}}},"description":"Successful response from Ideogram proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Prompt failed the safety checks."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Ideogram). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Ideogram)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Ideogram took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Ideogram 4.5 for image generation and editing","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/v2/image/generate/ideogram-4-6":{"post":{"description":"Generates one to eight images from a prompt with Ideogram 4.6, or edits the first of up to five attached images. Send JSON for text to image, or multipart form data with `images` to edit.","operationId":"Ideogram46Generate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ideogram46GenerateRequest"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Ideogram46GenerateMultipartRequest"}}},"description":"Parameters for Ideogram 4.6 image generation and editing","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ideogram46Response"}}},"description":"Successful response from Ideogram proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"403":{"description":"The account does not have Ideogram 4.6 access."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request failed a safety check."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Ideogram). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Ideogram)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Ideogram took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Ideogram 4.6 for image generation and editing","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/v2/image/precise-edit/ideogram-4-5":{"post":{"description":"Edits one source image, or one region of it, with Ideogram 4.5 Precise Edit, optionally guided by a mask and up to four reference images, and returns the results.","operationId":"Ideogram45PreciseEdit","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Ideogram45PreciseEditRequest"}}},"description":"Parameters for Ideogram 4.5 precise image editing","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ideogram45Response"}}},"description":"Successful response from Ideogram proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Prompt failed the safety checks."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Ideogram). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Ideogram)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Ideogram took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Ideogram 4.5 for precise image editing","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/v2/image/precise-edit/ideogram-4-6":{"post":{"description":"Changes one part of a source image with Ideogram 4.6 Precise Edit, optionally limited by a mask and guided by up to four reference images, and returns one to eight images at the exact size of the source.","operationId":"Ideogram46PreciseEdit","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Ideogram46PreciseEditRequest"}}},"description":"Parameters for Ideogram 4.6 precise image editing","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ideogram46Response"}}},"description":"Successful response from Ideogram proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"403":{"description":"The account does not have Ideogram 4.6 access."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request failed a safety check."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Ideogram). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Ideogram)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Ideogram took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Ideogram 4.6 for precise image editing","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/v2/svg/generate/ideogram-vector-1":{"post":{"description":"Starts an Ideogram Vector 1 generation of one to eight SVGs from a prompt, optionally guided by up to five reference images. Poll GET /proxy/ideogram/v1/generations/{generation_id} for the result.","operationId":"IdeogramVector1Generate","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/IdeogramVector1GenerateRequest"}}},"description":"Parameters for Ideogram Vector 1 SVG generation","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramGenerationSubmitResponse"}}},"description":"The generation was accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"403":{"description":"The flow is not enabled for the account"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Ideogram). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Ideogram)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Ideogram took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Ideogram Vector 1 for SVG generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ideogram/v2/svg/vectorize/ideogram-vector-1":{"post":{"description":"Starts an Ideogram Vector 1 conversion of one image to an SVG. Poll GET /proxy/ideogram/v1/generations/{generation_id} for the result.","operationId":"IdeogramVector1Vectorize","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/IdeogramVector1VectorizeRequest"}}},"description":"Parameters for Ideogram Vector 1 image to SVG conversion","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramGenerationSubmitResponse"}}},"description":"The conversion was accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"403":{"description":"The flow is not enabled for the account"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Ideogram). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Ideogram)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Ideogram took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Ideogram Vector 1 for image to SVG conversion","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/image-generation/kling-4.0":{"post":{"operationId":"KlingImageV4CreateImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingImageV4Request"}}},"description":"Create a Kling Image 4.0 task that generates single images or a related image series from a prompt and optional reference images and elements","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2CreateTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Image 4.0 Create Image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/image-to-video/kling-3.0-turbo":{"post":{"operationId":"KlingV2CreateVideoFromImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2Image2VideoRequest"}}},"description":"Create a Kling 3.0 Turbo image-to-video task","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2CreateTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI 3.0 Turbo Create Video from Image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/image-to-video/kling-4.0":{"post":{"operationId":"KlingV4CreateVideoFromImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV4Image2VideoRequest"}}},"description":"Create a Kling 4.0 image-to-video task from first, middle and last frame images","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2CreateTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI 4.0 Create Video from Keyframes","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/image-to-video/kling-4.0-flash":{"post":{"operationId":"KlingV4FlashCreateVideoFromImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV4FlashImage2VideoRequest"}}},"description":"Create a Kling 4.0 Flash image-to-video task from a first frame image","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2CreateTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI 4.0 Flash Create Video from Image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/long-image-generation/kling-4.0":{"post":{"operationId":"KlingImageV4CreateLongImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingLongImageV4Request"}}},"description":"Create a Kling Image 4.0 task that generates one long image, a webpage design or an e-commerce product detail page","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2CreateTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Image 4.0 Create Long Image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/omni-video/kling-4.0":{"post":{"operationId":"KlingV4CreateOmniVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV4OmniVideoRequest"}}},"description":"Create a Kling 4.0 omni video task from reference images, videos, elements and voices, or edit a base video","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2CreateTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI 4.0 Create Omni Video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/omni-video/kling-4.0-flash":{"post":{"operationId":"KlingV4FlashCreateOmniVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV4FlashOmniVideoRequest"}}},"description":"Create a Kling 4.0 Flash omni video task from reference images, videos and elements, or edit a base video","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2CreateTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI 4.0 Flash Create Omni Video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/solutions":{"get":{"operationId":"KlingQuerySolutionTask","parameters":[{"description":"System task IDs to query. Supports up to 20 IDs separated by \",\". Mutually exclusive with external_task_ids.","in":"query","name":"task_ids","schema":{"type":"string"}},{"description":"Custom task IDs to query. Supports up to 20 IDs separated by \",\". Mutually exclusive with task_ids.","in":"query","name":"external_task_ids","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingSolutionQueryTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Solution Task by ID","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/solutions/virtual_try_on":{"post":{"operationId":"KlingCreateVirtualTryOn","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVirtualTryOnRequest"}}},"description":"Create a Kling virtual try-on task that dresses the person image in the product image","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingSolutionCreateTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Create Virtual Try-On Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/tasks":{"get":{"operationId":"KlingV2QueryTask","parameters":[{"description":"System task IDs to query. Supports batch queries separated by \",\". Mutually exclusive with external_task_ids.","in":"query","name":"task_ids","schema":{"type":"string"}},{"description":"Custom task IDs to query. Supports batch queries separated by \",\". Mutually exclusive with task_ids.","in":"query","name":"external_task_ids","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2QueryTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI 3.0 Turbo Query Task by ID","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/text-to-video/kling-3.0-turbo":{"post":{"operationId":"KlingV2CreateVideoFromText","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2Text2VideoRequest"}}},"description":"Create a Kling 3.0 Turbo text-to-video task","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2CreateTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI 3.0 Turbo Create Video from Text","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/text-to-video/kling-4.0":{"post":{"operationId":"KlingV4CreateVideoFromText","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV4Text2VideoRequest"}}},"description":"Create a Kling 4.0 text-to-video task","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2CreateTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI 4.0 Create Video from Text","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/text-to-video/kling-4.0-flash":{"post":{"operationId":"KlingV4FlashCreateVideoFromText","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV4FlashText2VideoRequest"}}},"description":"Create a Kling 4.0 Flash text-to-video task","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingV2CreateTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI 4.0 Flash Create Video from Text","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/account/costs":{"get":{"operationId":"KlingQueryResourcePackages","parameters":[{"in":"query","name":"start_time","required":true,"schema":{"description":"Start time for the query, Unix timestamp in ms","type":"integer"}},{"in":"query","name":"end_time","required":true,"schema":{"description":"End time for the query, Unix timestamp in ms","type":"integer"}},{"in":"query","name":"resource_pack_name","schema":{"description":"Resource package name for precise querying of a specific package","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingResourcePackageResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Resource Package Information","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/general/advanced-presets-elements":{"get":{"description":"Retrieves a list of advanced preset elements from Kling AI.\n","operationId":"KlingGetPresetsElements","parameters":[{"description":"Page number. Value range: [1, 1000].","in":"query","name":"pageNum","schema":{"default":1,"type":"integer"}},{"description":"Data volume per page. Value range: [1, 500].","in":"query","name":"pageSize","schema":{"default":30,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingPresetsElementsResponse"}}},"description":"Presets elements retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Presets Elements","tags":["API Nodes","Kling"],"x-excluded":true}},"/proxy/kling/v1/images/generations":{"get":{"operationId":"KlingImageGenerationsQueryTaskList","parameters":[{"description":"Page number","in":"query","name":"pageNum","schema":{"default":1,"maximum":1000,"minimum":1,"type":"integer"}},{"description":"Data volume per page","in":"query","name":"pageSize","schema":{"default":30,"maximum":500,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingImageGenerationsResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Image Generation Task List","tags":["API Nodes","Released"],"x-excluded":true},"post":{"operationId":"KlingCreateImageGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingImageGenerationsRequest"}}},"description":"Create task for generating images","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingImageGenerationsResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Create Image Generation Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/images/generations/{id}":{"get":{"operationId":"KlingImageGenerationsQuerySingleTask","parameters":[{"description":"Task ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingImageGenerationsResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Single Image Generation Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/images/omni-image":{"post":{"operationId":"KlingCreateOmniImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingOmniImageRequest"}}},"description":"Create task for generating omni-image","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingOmniImageResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Create Omni-Image Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/images/omni-image/{id}":{"get":{"operationId":"KlingOmniImageQuerySingleTask","parameters":[{"description":"Task ID or External Task ID. Can query by either task_id (generated by system) or external_task_id (customized task ID)","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingOmniImageResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Single Omni-Image Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/avatar/image2video":{"post":{"operationId":"KlingCreateAvatarVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingAvatarRequest"}}},"description":"Create task for generating avatar video from image and audio","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingAvatarResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Create Avatar Video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/avatar/image2video/{id}":{"get":{"operationId":"KlingAvatarQueryTask","parameters":[{"description":"Task ID or external_task_id","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingAvatarResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Avatar Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/effects":{"get":{"operationId":"KlingVideoEffectsQueryTaskList","parameters":[{"description":"Page number","in":"query","name":"pageNum","schema":{"default":1,"maximum":1000,"minimum":1,"type":"integer"}},{"description":"Data volume per page","in":"query","name":"pageSize","schema":{"default":30,"maximum":500,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoEffectsResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Video Effects Task List","tags":["API Nodes","Released"],"x-excluded":true},"post":{"operationId":"KlingCreateVideoEffects","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoEffectsRequest"}}},"description":"Create task for generating video with effects","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoEffectsResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Create Video Effects Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/effects/{id}":{"get":{"operationId":"KlingVideoEffectsQuerySingleTask","parameters":[{"description":"Task ID or external_task_id","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoEffectsResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Single Video Effects Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/image2video":{"post":{"operationId":"KlingCreateVideoFromImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingImage2VideoRequest"}}},"description":"Create task for generating video from image","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingQueryTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Create Video from Image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/image2video/{id}":{"get":{"operationId":"KlingImage2VideoQuerySingleTask","parameters":[{"description":"Task ID or external_task_id","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingQueryTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Single Image2Video Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/lip-sync":{"get":{"operationId":"KlingLipSyncQueryTaskList","parameters":[{"description":"Page number","in":"query","name":"pageNum","schema":{"default":1,"maximum":1000,"minimum":1,"type":"integer"}},{"description":"Data volume per page","in":"query","name":"pageSize","schema":{"default":30,"maximum":500,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingLipSyncResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Lip-Sync Task List","tags":["API Nodes","Released"],"x-excluded":true},"post":{"operationId":"KlingCreateLipSyncVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingLipSyncRequest"}}},"description":"Create task for generating lip-sync video","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingLipSyncResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Create Lip-Sync Video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/lip-sync/{id}":{"get":{"operationId":"KlingLipSyncQuerySingleTask","parameters":[{"description":"Task ID or external_task_id","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingLipSyncResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Single Lip-Sync Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/motion-control":{"post":{"operationId":"KlingCreateMotionControl","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingMotionControlRequest"}}},"description":"Create task for generating motion control video","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingMotionControlResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Create Motion Control Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/motion-control/{id}":{"get":{"operationId":"KlingMotionControlQuerySingleTask","parameters":[{"description":"Task ID or external_task_id","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingMotionControlResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Single Motion Control Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/omni-video":{"post":{"operationId":"KlingCreateOmniVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingOmniVideoRequest"}}},"description":"Create task for generating omni-video","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingQueryTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Create Omni-Video Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/omni-video/{id}":{"get":{"operationId":"KlingOmniVideoQuerySingleTask","parameters":[{"description":"Task ID or External Task ID. Can query by either task_id (generated by system) or external_task_id (customized task ID)","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingQueryTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Single Omni-Video Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/text2video":{"post":{"operationId":"KlingCreateVideoFromText","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingText2VideoRequest"}}},"description":"Create task for generating video from text","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingQueryTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Create Video from Text","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/text2video/{id}":{"get":{"operationId":"KlingText2VideoQuerySingleTask","parameters":[{"description":"Task ID or external_task_id","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingQueryTaskResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Single Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/video-extend":{"get":{"operationId":"KlingVideoExtendQueryTaskList","parameters":[{"description":"Page number","in":"query","name":"pageNum","schema":{"default":1,"maximum":1000,"minimum":1,"type":"integer"}},{"description":"Data volume per page","in":"query","name":"pageSize","schema":{"default":30,"maximum":500,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoExtendResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Video-Extend Task List","tags":["API Nodes","Released"],"x-excluded":true},"post":{"operationId":"KlingExtendVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoExtendRequest"}}},"description":"Create task for extending video duration","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoExtendResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Extend Video Duration","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/kling/v1/videos/video-extend/{id}":{"get":{"operationId":"KlingVideoExtendQuerySingleTask","parameters":[{"description":"Task ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoExtendResponse"}}},"description":"Successful response (Request successful)"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"KlingAI Query Single Video-Extend Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/krea/assets":{"post":{"description":"Upload an asset","operationId":"KreaUploadAsset","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/KreaAssetUploadRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KreaAsset"}}},"description":"The uploaded asset."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid file type/size"},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Upload an asset","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/krea/generate/image/krea/krea-2/large":{"post":{"description":"Best for expressive photorealism.","operationId":"KreaGenerateImageLarge","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KreaGenerateImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KreaJob"}}},"description":"The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Krea 2 Large","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/krea/generate/image/krea/krea-2/medium":{"post":{"description":"Best for expressive illustrations.","operationId":"KreaGenerateImageMedium","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KreaGenerateImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KreaJob"}}},"description":"The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Krea 2 Medium","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/krea/generate/image/krea/krea-2/medium-turbo":{"post":{"description":"Faster, more affordable variant of Krea 2 Medium.","operationId":"KreaGenerateImageMediumTurbo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KreaGenerateImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KreaJob"}}},"description":"The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Krea 2 Medium Turbo","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/krea/generate/image/krea/krea-3":{"post":{"description":"Edits an image from a prompt and up to 8 reference images, or generates one from a prompt alone.","operationId":"KreaGenerateImageKrea3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Krea3GenerateImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KreaJob"}}},"description":"The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"403":{"description":"The Krea account has no Krea 3 access"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A reference image in image_urls could not be read (a transient DNS failure, a TLS or connection failure, a timeout, or a non-200 origin status that is not a caller error). While the setting that admits any public https reference URL is off or not yet loaded, an app-uploads.krea.ai link (the host exactly as POST /proxy/krea/assets returns it; a differently cased host or an explicit port counts as a non-Krea URL) also answers 502 for any non-200 status and for an image whose size cannot be decoded, so retrying cannot help when that asset has expired or been deleted; with that setting on, the same link gets a 400 instead for a 4xx status other than 408 or 429 and for a body that is not a decodable image. Otherwise retry later."},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"This server has not yet loaded whether non-Krea https reference URLs are accepted; any https URL with a host that is not an app-uploads.krea.ai link (the host exactly as POST /proxy/krea/assets returns it) is refused with this status before its host is checked, so a private or loopback IP address gets this 503 now and a 400 once the setting loads (once the setting loads as on, a private hostname whose lookup then fails transiently gets the 502 instead). Every request-field check comfy-api makes before it reads any reference still answers its 400 first, for example an undecodable body, an unsupported resolution, thinking_mode or model, thinking_mode ultra without resolution 2k, more than 8 image_urls, or any image_urls entry that neither setting value admits (not https, no host, unparseable), wherever that entry sits in the list. The 503 is answered before any reference is read and before Krea sees the request, so an expired app-uploads.krea.ai link in the same list or a field Krea itself refuses only shows its own error on a retry once the setting loads as on; once it loads as off, the non-Krea URL's 400 comes first instead. Safe to retry."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Krea 3","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/krea/jobs/{job_id}":{"get":{"description":"Get a job by ID","operationId":"KreaGetJob","parameters":[{"description":"A unique identifier for a job","in":"path","name":"job_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KreaJob"}}},"description":"The most up-to-date state of the job. You can check when the job is completed by checking the status field. For completed loraTraining jobs, the result will include a style_id field."},"401":{"description":"Unauthorized"},"404":{"description":"Job not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a job by ID","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v1/image-to-video":{"post":{"description":"Transform a static image into a dynamic video using LTX Video AI models","operationId":"LtxCreateVideoFromImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXImage2VideoRequest"}}},"description":"Create video from image","required":true},"responses":{"200":{"content":{"video/mp4":{"schema":{"format":"binary","type":"string"}}},"description":"Video generated successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Generate Video from Image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v1/text-to-video":{"post":{"description":"Generate a video from a text prompt using LTX Video AI models","operationId":"LtxCreateVideoFromText","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXText2VideoRequest"}}},"description":"Create video from text prompt","required":true},"responses":{"200":{"content":{"video/mp4":{"schema":{"format":"binary","type":"string"}}},"description":"Video generated successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Generate Video from Text","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/audio-to-video":{"post":{"description":"Submit an asynchronous audio-to-video generation job to LTX Video AI models","operationId":"LtxSubmitAudioToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXAudio2VideoRequest"}}},"description":"Create video from audio","required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXAsyncSubmitResponse"}}},"description":"Job submitted successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Submit Async Audio to Video Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/audio-to-video/{job_id}":{"get":{"description":"Poll the status of an asynchronous LTX audio-to-video job","operationId":"LtxGetAudioToVideoJob","parameters":[{"in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXJobStatusResponse"}}},"description":"Job status retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Get Audio to Video Job Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/image-to-video":{"post":{"description":"Submit an asynchronous image-to-video generation job to LTX Video AI models","operationId":"LtxSubmitImageToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXImage2VideoRequest"}}},"description":"Create video from image","required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXAsyncSubmitResponse"}}},"description":"Job submitted successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Submit Async Image to Video Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/image-to-video/{job_id}":{"get":{"description":"Poll the status of an asynchronous LTX image-to-video job","operationId":"LtxGetImageToVideoJob","parameters":[{"in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXJobStatusResponse"}}},"description":"Job status retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Get Image to Video Job Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/text-to-video":{"post":{"description":"Submit an asynchronous text-to-video generation job to LTX Video AI models","operationId":"LtxSubmitTextToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXText2VideoRequest"}}},"description":"Create video from text prompt","required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXAsyncSubmitResponse"}}},"description":"Job submitted successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Submit Async Text to Video Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/text-to-video/{job_id}":{"get":{"description":"Poll the status of an asynchronous LTX text-to-video job","operationId":"LtxGetTextToVideoJob","parameters":[{"in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXJobStatusResponse"}}},"description":"Job status retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Get Text to Video Job Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/video-alpha-gen":{"post":{"description":"Submits an LTX job that separates the foreground of a video from its background. The call answers with a job to poll on `GET /proxy/ltx/v2/video-alpha-gen/{job_id}`. The input video is measured when the job is submitted. The job is billed per started second of the input video once it completes; a failed job is not billed.","operationId":"LtxSubmitVideoAlphaGen","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXVideoAlphaGenRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXAsyncSubmitResponse"}}},"description":"Job submitted successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Submit Async Alpha Matte Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/video-alpha-gen/{job_id}":{"get":{"description":"Poll the status of an asynchronous LTX alpha matte job","operationId":"LtxGetVideoAlphaGenJob","parameters":[{"in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXVideoAlphaGenJobStatusResponse"}}},"description":"Job status retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Get Alpha Matte Job Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/video-to-video-hdr":{"post":{"description":"Submits an LTX job that converts an SDR video into HDR. The call answers with a job to poll on `GET /proxy/ltx/v2/video-to-video-hdr/{job_id}`. The input video is measured when the job is submitted. The job is billed per started second of the input video once it completes; a failed job is not billed.","operationId":"LtxSubmitVideoToVideoHdr","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXVideoToVideoHDRRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXAsyncSubmitResponse"}}},"description":"Job submitted successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Submit Async SDR to HDR Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/video-to-video-hdr/{job_id}":{"get":{"description":"Poll the status of an asynchronous LTX SDR to HDR job","operationId":"LtxGetVideoToVideoHdrJob","parameters":[{"in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXVideoToVideoHDRJobStatusResponse"}}},"description":"Job status retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Get SDR to HDR Job Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/video-to-video-reframe":{"post":{"description":"Submits an LTX job that reframes a video to a new resolution, filling the missing areas with generated content that matches the original. The call answers with a job to poll on `GET /proxy/ltx/v2/video-to-video-reframe/{job_id}`. The input video is measured when the job is submitted. The job is billed per started second of the input video once it completes; a failed job is not billed.","operationId":"LtxSubmitVideoToVideoReframe","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXVideoToVideoReframeRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXAsyncSubmitResponse"}}},"description":"Job submitted successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Submit Async Reframe Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/video-to-video-reframe/{job_id}":{"get":{"description":"Poll the status of an asynchronous LTX reframe job","operationId":"LtxGetVideoToVideoReframeJob","parameters":[{"in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXJobStatusResponse"}}},"description":"Job status retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Get Reframe Job Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/video-upscale":{"post":{"description":"Submits an LTX job that upscales a video to 1080p, 4K or 8K. The call answers with a job to poll on `GET /proxy/ltx/v2/video-upscale/{job_id}`. The input video is measured when the job is submitted. The job is billed per started second of the input video once it completes; a failed job is not billed.","operationId":"LtxSubmitVideoUpscale","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXVideoUpscaleRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXAsyncSubmitResponse"}}},"description":"Job submitted successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Submit Async Upscale Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/ltx/v2/video-upscale/{job_id}":{"get":{"description":"Poll the status of an asynchronous LTX upscale job","operationId":"LtxGetVideoUpscaleJob","parameters":[{"in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LTXJobStatusResponse"}}},"description":"Job status retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"LTX Video Get Upscale Job Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/luma/generations":{"post":{"description":"Initiate a new generation with the provided prompt","operationId":"LumaCreateGeneration","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{"aspect_ratio":"16:9","keyframes":{"frame0":{"type":"image","url":"https://example.com/image.jpg"},"frame1":{"id":"123e4567-e89b-12d3-a456-426614174000","type":"generation"}},"loop":true,"prompt":"A serene lake surrounded by mountains at sunset"}}},"schema":{"$ref":"#/components/schemas/LumaGenerationRequest"}}},"description":"The generation request object","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaGeneration"}}},"description":"Generation created"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaError"}}},"description":"Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/luma/generations/image":{"post":{"description":"Generate an image with the provided prompt","operationId":"LumaGenerateImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaImageGenerationRequest"}}},"description":"The image generation request object","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaGeneration"}}},"description":"Image generated"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaError"}}},"description":"Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate an image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/luma/generations/{id}":{"get":{"description":"Retrieve details of a specific generation by its ID","operationId":"LumaGetGeneration","parameters":[{"description":"The ID of the generation","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaGeneration"}}},"description":"Generation found"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaError"}}},"description":"Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/luma_2/generations":{"post":{"description":"Submit an image generation or edit job. Returns immediately with an opaque job ID to poll via GET /proxy/luma_2/generations/{id}.","operationId":"LumaAgentsCreateGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaAgentsGenerationRequest"}}},"description":"The generation request object","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaAgentsGeneration"}}},"description":"Generation accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaAgentsError"}}},"description":"Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Luma Agents generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/luma_2/generations/{generation_id}":{"get":{"description":"Poll for generation status and output. On completion, the response includes presigned URLs to download the generated images.","operationId":"LumaAgentsGetGeneration","parameters":[{"description":"The ID of the generation","in":"path","name":"generation_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaAgentsGeneration"}}},"description":"Generation found"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LumaAgentsError"}}},"description":"Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a Luma Agents generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/animations":{"post":{"description":"Create a new task to apply a specific animation action to a previously rigged character. Includes post-processing options.\n","operationId":"MeshyAnimationCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyAnimationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyAnimationCreateResponse"}}},"description":"Task created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Authentication failed"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create an Animation Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/animations/{task_id}":{"get":{"description":"Retrieve the status and result of an Animation task.","operationId":"MeshyAnimationGetTask","parameters":[{"description":"The unique identifier of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyAnimationTask"}}},"description":"Task retrieved successfully"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Task not found"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Animation Task Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/image-to-3d":{"post":{"description":"Create a new Image to 3D task. This task generates a 3D model from an image input.\n","operationId":"MeshyImageTo3DCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyImageTo3DRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyImageTo3DCreateResponse"}}},"description":"Task created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Authentication failed"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create an Image to 3D Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/image-to-3d/{task_id}":{"get":{"description":"Retrieve the status and result of an Image to 3D task.","operationId":"MeshyImageTo3DGetTask","parameters":[{"description":"The unique identifier of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyImageTo3DTask"}}},"description":"Task retrieved successfully"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Task not found"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Image to 3D Task Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/multi-image-to-3d":{"post":{"description":"Create a new Multi-Image to 3D task. This task generates a 3D model from 1 to 4 images of the same object from different angles.\n","operationId":"MeshyMultiImageTo3DCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyMultiImageTo3DRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyMultiImageTo3DCreateResponse"}}},"description":"Task created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Authentication failed"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Multi-Image to 3D Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/multi-image-to-3d/{task_id}":{"get":{"description":"Retrieve the status and result of a Multi-Image to 3D task.","operationId":"MeshyMultiImageTo3DGetTask","parameters":[{"description":"The unique identifier of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyMultiImageTo3DTask"}}},"description":"Task retrieved successfully"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Task not found"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Multi-Image to 3D Task Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/relief":{"post":{"description":"Create a new relief task that turns one image into a printable relief model (GLB in meters, STL in millimeters) and a 2k 16-bit depth map.\n","operationId":"MeshyReliefCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyReliefRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyReliefCreateResponse"}}},"description":"Task created successfully"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyReliefCreateResponse"}}},"description":"Task accepted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Authentication failed"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Relief Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/relief/{task_id}":{"get":{"description":"Retrieve the status and result of a Relief task.","operationId":"MeshyReliefGetTask","parameters":[{"description":"The unique identifier of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyReliefTask"}}},"description":"Task retrieved successfully"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Task not found"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Relief Task Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/remesh":{"post":{"description":"Create a new remesh task to remesh and export an existing 3D model into various formats.\n","operationId":"MeshyRemeshCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyRemeshRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyRemeshCreateResponse"}}},"description":"Task created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Authentication failed"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Remesh Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/remesh/{task_id}":{"get":{"description":"Retrieve the status and result of a Remesh task.","operationId":"MeshyRemeshGetTask","parameters":[{"description":"The unique identifier of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyRemeshTask"}}},"description":"Task retrieved successfully"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Task not found"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Remesh Task Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/retexture":{"post":{"description":"Create a new Retexture task to generate 3D texture from text or image inputs.\n","operationId":"MeshyRetextureCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyRetextureRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyRetextureCreateResponse"}}},"description":"Task created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Authentication failed"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Retexture Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/retexture/{task_id}":{"get":{"description":"Retrieve the status and result of a Retexture task.","operationId":"MeshyRetextureGetTask","parameters":[{"description":"The unique identifier of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyRetextureTask"}}},"description":"Task retrieved successfully"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Task not found"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Retexture Task Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/rigging":{"post":{"description":"Create a new rigging task for a given 3D model. Upon successful completion, provides a rigged character in standard formats and optionally basic walking/running animations.\n","operationId":"MeshyRiggingCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyRiggingRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyRiggingCreateResponse"}}},"description":"Task created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Authentication failed"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Rigging Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v1/rigging/{task_id}":{"get":{"description":"Retrieve the status and result of a Rigging task.","operationId":"MeshyRiggingGetTask","parameters":[{"description":"The unique identifier of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyRiggingTask"}}},"description":"Task retrieved successfully"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Task not found"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Rigging Task Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v2/text-to-3d":{"post":{"description":"Create a new Text to 3D Preview task.\n","operationId":"MeshyTextTo3DCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyTextTo3DRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyTextTo3DCreateResponse"}}},"description":"Task created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Authentication failed"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Text to 3D Preview Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meshy/openapi/v2/text-to-3d/{task_id}":{"get":{"description":"Retrieve the status and result of a Text to 3D task.","operationId":"MeshyTextTo3DGetTask","parameters":[{"description":"The unique identifier of the task","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeshyTextTo3DTask"}}},"description":"Task retrieved successfully"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Task not found"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Text to 3D Task Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meta/v1/images/edits":{"post":{"operationId":"MetaCreateImageEdit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaCreateImageEditRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaImagesResponse"}}},"description":"Image edit completed successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/meta/v1/images/generations":{"post":{"operationId":"MetaCreateImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaCreateImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaImagesResponse"}}},"description":"Image generation completed successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/minimax/files/retrieve":{"get":{"description":"Proxies a request to Minimax to get the download URL for a file.\n\nFile ownership (incident 169): a file is readable only by the principal\nwhose successful `GET /proxy/minimax/query/video_generation` poll\nreturned its `file_id`, or by a member of the same Cloud workspace. A\nfile returned to another principal, unknown to Comfy, or named by a\nmissing, repeated or malformed `file_id` answers 404 (`file not found`)\nand never reaches Minimax. A file whose ownership could not be\ndetermined answers 503 (`file ownership could not be verified; retry`),\nwhich is retryable where the 404 is not.\n","operationId":"RetrieveMinimaxFile","parameters":[{"description":"Unique identifier for the file, obtained from the generation response","in":"query","name":"file_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxFileRetrieveResponse"}}},"description":"Successful response with file download URL"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Minimax). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Minimax)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Minimax took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Retrieve download URL for a Minimax file","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/minimax/query/video_generation":{"get":{"description":"Proxies a request to Minimax to check the status of a video generation task.\n\nTask ownership (incident 169): a task is readable only by the principal\nthat submitted it, or by a member of the Cloud workspace the submit was\nbilled to. A task submitted by another principal, unknown to Comfy, or\nnamed by a missing, repeated or malformed `task_id` answers 404\n(`task not found`) and never reaches Minimax. A task whose ownership\ncould not be determined answers 503 (`task ownership could not be\nverified; retry`), which is retryable where the 404 is not.\n","operationId":"GetMinimaxVideoGeneration","parameters":[{"description":"The task ID to be queried","in":"query","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxTaskResultResponse"}}},"description":"Successful response with task status"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Minimax). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Minimax)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Minimax took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Query status of a Minimax video generation task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/minimax/v1/images/edits":{"post":{"description":"Forwards an image edit request (1 to 16 reference images and a prompt) to MiniMax H3-Image and returns the generated images in the same response. Billed on the token usage MiniMax reports for the successful images.","operationId":"MinimaxImageEdit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxImageEditRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxImagesResponse"}}},"description":"The generated images. An image that failed or was withheld carries only `error`; `usage` counts successful images only."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy or MiniMax)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxImageErrorResponse"}}},"description":"The prompt or every generated image failed MiniMax's content safety check. MiniMax's own error document, passed through. Not billed."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or MiniMax). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with MiniMax)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (MiniMax took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to MiniMax for H3-Image image editing","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/minimax/v1/images/generations":{"post":{"description":"Forwards a text-to-image request to MiniMax H3-Image and returns the generated images in the same response. A body that carries `images` runs as an image edit. Billed on the token usage MiniMax reports for the successful images.","operationId":"MinimaxImageGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxImageGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxImagesResponse"}}},"description":"The generated images. An image that failed or was withheld carries only `error`; `usage` counts successful images only."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy or MiniMax)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxImageErrorResponse"}}},"description":"The prompt or every generated image failed MiniMax's content safety check. MiniMax's own error document, passed through. Not billed."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or MiniMax). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with MiniMax)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (MiniMax took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to MiniMax for H3-Image text-to-image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/minimax/v2/h3_context_ir":{"post":{"description":"Forwards H3-Context-IR requests to Minimax's V2 API (Hailuo 03) and returns the task ID for asynchronous processing. The task only produces an enhanced video prompt; it does not create a video generation task.","operationId":"MinimaxV2H3ContextIR","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxV2H3ContextIRRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxV2VideoGenerationResponse"}}},"description":"Successful response from Minimax proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Minimax). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Minimax)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Minimax took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Minimax V2 for H3-Context-IR prompt enhancement","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/minimax/v2/query/video_generation/{task_id}":{"get":{"description":"Proxies a request to Minimax's V2 API to check the status of a video generation task.\n\nTask ownership (incident 169): a task is readable only by the principal\nthat submitted it through a `/proxy/minimax/v2/*` submit, or by a member\nof the Cloud workspace the submit was billed to. A task submitted by\nanother principal, unknown to Comfy, or named by a malformed id answers\n404 (`task not found`) and never reaches Minimax. A task whose ownership\ncould not be determined answers 503 (`task ownership could not be\nverified; retry`), which is retryable where the 404 is not.\n","operationId":"GetMinimaxV2VideoGeneration","parameters":[{"description":"The task ID to be queried","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxV2TaskResultResponse"}}},"description":"Successful response with task status"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Minimax). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Minimax)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Minimax took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Query status of a Minimax V2 video generation task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/minimax/v2/video_generation":{"post":{"description":"Forwards video generation requests to Minimax's V2 API (Hailuo 03) and returns the task ID for asynchronous processing.","operationId":"MinimaxV2VideoGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxV2VideoGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxV2VideoGenerationResponse"}}},"description":"Successful response from Minimax proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Minimax). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Minimax)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Minimax took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Minimax V2 for video generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/minimax/v2/video_regeneration":{"post":{"description":"Forwards video regeneration requests to Minimax's V2 API (Hailuo 03) and returns the task ID for asynchronous processing. Regenerates a source video that meets the MiniMax-H3 768P output specifications into a 2K video.","operationId":"MinimaxV2VideoRegeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxV2VideoRegenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxV2VideoGenerationResponse"}}},"description":"Successful response from Minimax proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Minimax). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Minimax)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Minimax took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Minimax V2 for video regeneration","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/minimax/video_generation":{"post":{"description":"Forwards video generation requests to Minimax's API and returns the task ID for asynchronous processing.","operationId":"MinimaxVideoGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxVideoGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinimaxVideoGenerationResponse"}}},"description":"Successful response from Minimax proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded (either from proxy or Minimax). Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Minimax)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Minimax took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Minimax for video generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/mirelo/v3/text-to-sfx/generations":{"post":{"description":"Submits a Mirelo text-to-SFX generation: sound effects from a text prompt. Only `sfx-2.0` is accepted. The call answers `202` with the job to poll on `GET /proxy/mirelo/v3/text-to-sfx/generations/{id}`, or `200` with the finished job when `?wait=` holds the request until it lands.","operationId":"MireloTextToSfxSubmit","parameters":[{"description":"Seconds (1 to 25) to hold the request while the job runs.","in":"query","name":"wait","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MireloTextToSfxRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MireloJob"}}},"description":"Job finished inside the wait window"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MireloJob"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Mirelo Text to SFX Submit Generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/mirelo/v3/text-to-sfx/generations/{id}":{"get":{"description":"Polls a Mirelo text-to-SFX job. A finished job carries its audio in `result.output.variants[].files.audio`.","operationId":"MireloTextToSfxGetGeneration","parameters":[{"description":"The job id returned at submission.","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"Seconds (1 to 25) to hold the request while the job runs.","in":"query","name":"wait","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MireloJob"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Mirelo Text to SFX Get Generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/mirelo/v3/video-to-sfx/generations":{"post":{"description":"Submits a Mirelo video-to-SFX generation: sound effects synced to a video. Only `sfx-2.0` is accepted. The call answers `202` with the job to poll on `GET /proxy/mirelo/v3/video-to-sfx/generations/{id}`, or `200` with the finished job when `?wait=` holds the request until it lands.","operationId":"MireloVideoToSfxSubmit","parameters":[{"description":"Seconds (1 to 25) to hold the request while the job runs.","in":"query","name":"wait","schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MireloVideoToSfxRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MireloJob"}}},"description":"Job finished inside the wait window"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MireloJob"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Mirelo Video to SFX Submit Generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/mirelo/v3/video-to-sfx/generations/{id}":{"get":{"description":"Polls a Mirelo video-to-SFX job. A finished job carries its audio, or the video with the new soundtrack, in `result.outputs[].variants[].files`.","operationId":"MireloVideoToSfxGetGeneration","parameters":[{"description":"The job id returned at submission.","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"Seconds (1 to 25) to hold the request while the job runs.","in":"query","name":"wait","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MireloJob"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Mirelo Video to SFX Get Generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/moonvalley/prompts/image-to-video":{"post":{"operationId":"MoonvalleyImageToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyImageToVideoRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyPromptResponse"}}},"description":"Prompt created"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create Image to Video Prompt","tags":["API Nodes"],"x-excluded":true}},"/proxy/moonvalley/prompts/text-to-image":{"post":{"operationId":"MoonvalleyTextToImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyTextToImageRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyPromptResponse"}}},"description":"Prompt created"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create Text to Image Prompt","tags":["API Nodes"],"x-excluded":true}},"/proxy/moonvalley/prompts/text-to-video":{"post":{"operationId":"MoonvalleyTextToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyTextToVideoRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyPromptResponse"}}},"description":"Prompt created"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create Text to Video Prompt","tags":["API Nodes"],"x-excluded":true}},"/proxy/moonvalley/prompts/video-to-video":{"post":{"operationId":"MoonvalleyVideoToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyVideoToVideoRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyPromptResponse"}}},"description":"Prompt created"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create Video to Video Prompt","tags":["API Nodes"],"x-excluded":true}},"/proxy/moonvalley/prompts/video-to-video/resize":{"post":{"operationId":"MoonvalleyVideoToVideoResize","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyResizeVideoRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyPromptResponse"}}},"description":"Prompt created"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Resize a video","tags":["API Nodes"],"x-excluded":true}},"/proxy/moonvalley/prompts/{prompt_id}":{"get":{"operationId":"MoonvalleyGetPrompt","parameters":[{"in":"path","name":"prompt_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyPromptResponse"}}},"description":"Prompt details retrieved"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Prompt Details","tags":["API Nodes"],"x-excluded":true}},"/proxy/moonvalley/uploads":{"post":{"operationId":"MoonvalleyUpload","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MoonvalleyUploadFileRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoonvalleyUploadFileResponse"}}},"description":"File uploaded successfully"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Upload Files","tags":["API Nodes"],"x-excluded":true}},"/proxy/openai/images/edits":{"post":{"operationId":"OpenAIEditImage","requestBody":{"content":{"multipart/form-data":{"encoding":{"image":{"contentType":"image/png, image/webp, image/jpeg"},"image[]":{"contentType":"image/png, image/webp, image/jpeg"},"mask":{"contentType":"image/png"}},"schema":{"$ref":"#/components/schemas/OpenAIImageEditRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIImageGenerationResponse"}}},"description":"Image edited successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Edit an image using OpenAI's image models","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/openai/images/generations":{"post":{"operationId":"OpenAIGenerateImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIImageGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIImageGenerationResponse"}}},"description":"Image generated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate an image using OpenAI's models","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/openai/v1/responses":{"post":{"operationId":"CreateOpenAIResponse","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAICreateResponse"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIResponse"}},"text/event-stream":{"schema":{"$ref":"#/components/schemas/OpenAIResponseStreamEvent"}}},"description":"OK"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/openai/v1/responses/{id}":{"get":{"operationId":"GetOpenAIResponse","parameters":[{"description":"The ID of the response to retrieve.","in":"path","name":"id","required":true,"schema":{"example":"resp_677efb5139a88190b512bc3fef8e535d","type":"string"}},{"description":"Additional fields to include in the response. See the `include`\nparameter for Response creation above for more information.\n","in":"query","name":"include","schema":{"items":{"$ref":"#/components/schemas/Includable"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIResponse"}}},"description":"OK"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Retrieves a model response with the given ID.\n","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/openai/v1/videos":{"post":{"operationId":"OpenAICreateVideo","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/OpenAIVideoCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIVideoJob"}}},"description":"Video generation job created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a video using OpenAI's Sora model","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/openai/v1/videos/{video_id}":{"get":{"operationId":"OpenAIGetVideo","parameters":[{"description":"The identifier of the video to retrieve","in":"path","name":"video_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIVideoJob"}}},"description":"Video job details"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Video not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Retrieve a video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/openai/v1/videos/{video_id}/content":{"get":{"operationId":"OpenAIDownloadVideoContent","parameters":[{"description":"The identifier of the video whose media to download","in":"path","name":"video_id","required":true,"schema":{"type":"string"}},{"description":"Which downloadable asset to return","in":"query","name":"variant","schema":{"type":"string"}}],"responses":{"200":{"content":{"video/mp4":{"schema":{"format":"binary","type":"string"}}},"description":"Video content stream"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Video not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Download video content","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/openrouter/api/v1/chat/completions":{"post":{"description":"Forwards a Chat Completions request to OpenRouter's `/api/v1/chat/completions`\nendpoint and returns the model's reply. Streaming (`stream: true`) is\nrejected: billing relies on the `usage.cost` value OpenRouter returns,\nwhich is not guaranteed on every SSE stream. Billing is based on the\n`usage.cost` field in the response body.\n","operationId":"OpenrouterCreateChatCompletion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenRouterChatRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenRouterChatResult"}}},"description":"Successful response from OpenRouter Chat Completions API."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a chat completion via OpenRouter","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/openrouter/api/v1/images":{"post":{"description":"Generates images from a text prompt via OpenRouter. Streaming\n(`stream: true`) is rejected: billing relies on the `usage.cost`\nvalue OpenRouter returns, which is not guaranteed on every SSE\nstream. Billing is based on the `usage.cost` field in the\nresponse body.\n","operationId":"OpenrouterGenerateImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenRouterImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenRouterImageResult"}}},"description":"Successful response from OpenRouter Images API."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate an image via OpenRouter","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/generate/2.2/i2v":{"post":{"operationId":"PikaGenerate22I2vGenerate22I2vPost","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PikaBody_generate_2_2_i2v_generate_2_2_i2v_post"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaGenerateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaHTTPValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate 2 2 I2V","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/generate/2.2/pikaframes":{"post":{"operationId":"PikaGenerate22KeyframeGenerate22PikaframesPost","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PikaBody_generate_2_2_keyframe_generate_2_2_pikaframes_post"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaGenerateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaHTTPValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate 2 2 Keyframe","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/generate/2.2/pikascenes":{"post":{"operationId":"PikaGenerate22C2vGenerate22PikascenesPost","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PikaBody_generate_2_2_c2v_generate_2_2_pikascenes_post"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaGenerateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaHTTPValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate 2 2 C2V","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/generate/2.2/t2v":{"post":{"operationId":"PikaGenerate22T2vGenerate22T2vPost","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PikaBody_generate_2_2_t2v_generate_2_2_t2v_post"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaGenerateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaHTTPValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate 2 2 T2V","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/generate/pikadditions":{"post":{"operationId":"PikaGeneratePikadditionsGeneratePikadditionsPost","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PikaBody_generate_pikadditions_generate_pikadditions_post"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaGenerateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaHTTPValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate Pikadditions","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/generate/pikaffects":{"post":{"description":"Generate a video with a specific Pikaffect. Supported Pikaffects: Cake-ify, Crumble, Crush, Decapitate, Deflate, Dissolve, Explode, Eye-pop, Inflate, Levitate, Melt, Peel, Poke, Squish, Ta-da, Tear","operationId":"PikaGeneratePikaffectsGeneratePikaffectsPost","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PikaBody_generate_pikaffects_generate_pikaffects_post"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaGenerateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaHTTPValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate Pikaffects","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/generate/pikaswaps":{"post":{"description":"Exactly one of `modifyRegionMask` and `modifyRegionRoi` must be provided.","operationId":"PikaGeneratePikaswapsGeneratePikaswapsPost","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PikaBody_generate_pikaswaps_generate_pikaswaps_post"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaGenerateResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaHTTPValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate Pikaswaps","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/v1/media/jobs/{request_id}":{"get":{"description":"Polls a Pika job until it is `completed` or `failed`. A completed video job carries its file in `output.video.url` and a completed audio job in `output.audio.url`. Pika's `billing` record is removed from the body. A finished job reports the credits it used on the `X-Comfy-Credits-Used` header.","operationId":"PikaMediaGetJob","parameters":[{"description":"The job id returned at submission.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaJob"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pika Get Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/v1/media/pika/pika-audio/pika-music":{"post":{"description":"Submits a Pika Music job that generates music from a text prompt and optional lyrics. The call answers with a queued job to poll on `GET /proxy/pika/v1/media/jobs/{request_id}`. The job is billed from the charge Pika settles on the finished job.","operationId":"PikaMediaMusicSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaMusicRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaJob"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pika Music","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/v1/media/pika/pika-audio/pika-sfx":{"post":{"description":"Submits a Pika SFX job that generates a sound effect from a text prompt. The call answers with a queued job to poll on `GET /proxy/pika/v1/media/jobs/{request_id}`. The job is billed from the charge Pika settles on the finished job.","operationId":"PikaMediaSfxSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaSfxRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaJob"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pika SFX","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/v1/media/pika/pika-audio/pika-soundtrack":{"post":{"description":"Submits a Pika Soundtrack job that replaces the audio of a source video with a generated soundtrack. The visuals and duration stay the same. The call answers with a queued job to poll on `GET /proxy/pika/v1/media/jobs/{request_id}`. The job is billed from the charge Pika settles on the finished job.","operationId":"PikaMediaSoundtrackSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaSoundtrackRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaJob"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pika Soundtrack","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/v1/media/pika/pika-h3-flex/image-to-video":{"post":{"description":"Submits a Pika H3 Flex job that animates a first frame, a last frame or both into a 5 to 15 second video with synchronized audio. The call answers with a queued job to poll on `GET /proxy/pika/v1/media/jobs/{request_id}`. The job is billed from the charge Pika settles on the finished job.","operationId":"PikaMediaH3FlexImageToVideoSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaH3FlexImageToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaJob"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pika H3 Flex Image to Video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/v1/media/pika/pika-h3-flex/reference-to-video":{"post":{"description":"Submits a Pika H3 Flex job that generates a 5 to 15 second video with native audio, guided by image, video and audio references. The call answers with a queued job to poll on `GET /proxy/pika/v1/media/jobs/{request_id}`. The job is billed from the charge Pika settles on the finished job.","operationId":"PikaMediaH3FlexReferenceToVideoSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaH3FlexReferenceToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaJob"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pika H3 Flex Reference to Video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/v1/media/pika/pika-h3-flex/text-to-video":{"post":{"description":"Submits a Pika H3 Flex job that generates a 5 to 15 second video with synchronized audio from a text prompt. The call answers with a queued job to poll on `GET /proxy/pika/v1/media/jobs/{request_id}`. The job is billed from the charge Pika settles on the finished job.","operationId":"PikaMediaH3FlexTextToVideoSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaH3FlexTextToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaMediaJob"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pika H3 Flex Text to Video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pika/videos/{video_id}":{"get":{"operationId":"PikaGetVideoVideosVideoIdGet","parameters":[{"in":"path","name":"video_id","required":true,"schema":{"title":"Video Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaVideoResponse"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PikaHTTPValidationError"}}},"description":"Validation Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pixverse/image/upload":{"post":{"operationId":"PixverseUploadImage","parameters":[{"$ref":"#/components/parameters/PixverseAiTraceId"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"image":{"format":"binary","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseImageUploadResponse"}}},"description":"Image uploaded"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Upload an image to the server.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pixverse/media/upload":{"post":{"operationId":"PixverseUploadMedia","parameters":[{"$ref":"#/components/parameters/PixverseAiTraceId"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"},"file_url":{"description":"Public URL to fetch the media from, instead of uploading bytes.","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseMediaUploadResponse"}}},"description":"Media uploaded"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Upload a video to the server.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pixverse/video/extend/generate":{"post":{"operationId":"PixverseGenerateExtendVideo","parameters":[{"$ref":"#/components/parameters/PixverseAiTraceId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseExtendVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseVideoResponse"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Extend an existing video.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pixverse/video/fusion/generate":{"post":{"operationId":"PixverseGenerateFusionVideo","parameters":[{"$ref":"#/components/parameters/PixverseAiTraceId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseFusionVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseVideoResponse"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate video from reference images and videos.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pixverse/video/img/generate":{"post":{"operationId":"PixverseGenerateImageVideo","parameters":[{"$ref":"#/components/parameters/PixverseAiTraceId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseImageVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseVideoResponse"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate video from image.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pixverse/video/result/{id}":{"get":{"operationId":"PixverseGetVideoResult","parameters":[{"$ref":"#/components/parameters/PixverseAiTraceId"},{"in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseVideoResultResponse"}}},"description":"Result fetched"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get the result of a video generation.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pixverse/video/text/generate":{"post":{"operationId":"PixverseGenerateTextVideo","parameters":[{"$ref":"#/components/parameters/PixverseAiTraceId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseTextVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseVideoResponse"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate video from text prompt.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pixverse/video/transition/generate":{"post":{"operationId":"PixverseGenerateTransitionVideo","parameters":[{"$ref":"#/components/parameters/PixverseAiTraceId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseTransitionVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixverseVideoResponse"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate transition video between two images.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pruna/v1/predictions/p-video-2":{"post":{"description":"Submits a P-Video-2 generation to Pruna AI. Text-to-video, image-to-video (`input.image`) and audio-conditioned (`input.audio`) generations all use this one operation; the model is fixed by the route. The call is asynchronous and returns the prediction handle to poll on `GET /proxy/pruna/v1/predictions/status/{id}`.","operationId":"PrunaPVideo2Predict","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrunaPVideo2PredictionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrunaPredictionResponse"}}},"description":"Prediction accepted and queued"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pruna P-Video-2 Submit Prediction","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pruna/v1/predictions/p-video-2-pro-avatar":{"post":{"description":"Submits a P-Video-2-Pro Avatar job to Pruna AI. The job turns a portrait and speech (uploaded `audio`, or a `voice_script` spoken with text-to-speech) into a talking video; the model is fixed by the route. The call is asynchronous and returns the prediction handle to poll on `GET /proxy/pruna/v1/predictions/status/{id}`.","operationId":"PrunaPVideo2ProAvatarPredict","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrunaPVideo2ProAvatarPredictionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrunaPredictionResponse"}}},"description":"Prediction accepted and queued"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pruna P-Video-2-Pro Avatar Submit Prediction","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pruna/v1/predictions/p-video-2-pro-reference":{"post":{"description":"Submits a P-Video-2-Pro Reference job to Pruna AI. The job makes a video from a prompt plus image, video and audio references, or from first and last frame images; the model is fixed by the route. The call is asynchronous and returns the prediction handle to poll on `GET /proxy/pruna/v1/predictions/status/{id}`.","operationId":"PrunaPVideo2ProReferencePredict","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrunaPVideo2ProReferencePredictionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrunaPredictionResponse"}}},"description":"Prediction accepted and queued"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pruna P-Video-2-Pro Reference Submit Prediction","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pruna/v1/predictions/p-video-upscale":{"post":{"description":"Submits a P-Video-Upscale job to Pruna AI. The job upscales `input.video` to the `input.target` resolution and keeps its aspect ratio and audio; the model is fixed by the route. The call is asynchronous and returns the prediction handle to poll on `GET /proxy/pruna/v1/predictions/status/{id}`.","operationId":"PrunaPVideoUpscalePredict","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrunaPVideoUpscalePredictionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrunaPredictionResponse"}}},"description":"Prediction accepted and queued"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pruna P-Video-Upscale Submit Prediction","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/pruna/v1/predictions/status/{id}":{"get":{"description":"Polls the status of a Pruna prediction. A succeeded prediction carries the `generation_url` of the finished video.","operationId":"PrunaGetPredictionStatus","parameters":[{"description":"The prediction id returned at submission.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrunaPredictionStatusResponse"}}},"description":"Prediction status retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Pruna Get Prediction Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/quiver/v1/svgs/generations":{"post":{"description":"Generate one or more SVGs from a text prompt using the Quiver AI Arrow model.","operationId":"QuiverTextToSVG","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuiverTextToSVGRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuiverSVGResponse"}}},"description":"SVG generated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate SVG from text using Quiver AI","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/quiver/v1/svgs/vectorizations":{"post":{"description":"Vectorize an image into one or more SVGs using the Quiver AI Arrow model.","operationId":"QuiverImageToSVG","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuiverImageToSVGRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuiverSVGResponse"}}},"description":"SVG vectorization completed successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required - Insufficient credits"},"429":{"description":"Too Many Requests - Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Convert image to SVG using Quiver AI","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/qwen/api/v1/services/aigc/multimodal-generation/generation":{"post":{"operationId":"QwenMultimodalGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QwenMultimodalGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QwenMultimodalGenerationResponse"}}},"description":"Multimodal generation completed successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/recraft/image_generation":{"post":{"description":"Forwards image generation requests to Recraft's API and returns the generated images.","operationId":"RecraftImageGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecraftImageGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecraftImageGenerationResponse"}}},"description":"Successful response from Recraft proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request (invalid input to proxy)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway (error communicating with Recraft)"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Gateway Timeout (Recraft took too long to respond)"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Proxy request to Recraft for image generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/recraft/images/creativeUpscale":{"post":{"operationId":"RecraftCreativeUpscale","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RecraftProcessImageRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecraftProcessImageResponse"}}},"description":"OK"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Creative Upscale","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/recraft/images/crispUpscale":{"post":{"operationId":"RecraftCrispUpscale","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"description":"Image file to process","format":"binary","type":"string"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecraftImageGenerationResponse"}}},"description":"Background removed successfully"},"400":{"description":"Bad request - Invalid parameters or file"},"401":{"description":"Unauthorized - Invalid or missing API token"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Upscale an image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/recraft/images/imageToImage":{"post":{"operationId":"RecraftImageToImage","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RecraftImageToImageRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecraftGenerateImageResponse"}}},"description":"OK"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate image from image and prompt","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/recraft/images/inpaint":{"post":{"operationId":"RecraftInpaintImage","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RecraftTransformImageWithMaskRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecraftGenerateImageResponse"}}},"description":"OK"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Inpaint Image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/recraft/images/removeBackground":{"post":{"operationId":"RecraftRemoveBackground","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"description":"Image file to process","format":"binary","type":"string"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"image":{"properties":{"url":{"description":"URL of the processed image","format":"uri","type":"string"}},"type":"object"}},"type":"object"}}},"description":"Background removed successfully"},"400":{"description":"Bad request - Invalid parameters or file"},"401":{"description":"Unauthorized - Invalid or missing API token"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Remove background from an image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/recraft/images/replaceBackground":{"post":{"operationId":"RecraftReplaceBackground","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RecraftTransformImageWithMaskRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecraftGenerateImageResponse"}}},"description":"OK"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Replace Background","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/recraft/images/vectorize":{"post":{"operationId":"RecraftVectorize","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecraftVectorizeRequest"}},"multipart/form-data":{"schema":{"properties":{"file":{"description":"Image file to process","format":"binary","type":"string"},"version":{"$ref":"#/components/schemas/RecraftVectorizeVersion"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecraftImageGenerationResponse"}}},"description":"Image vectorized successfully"},"400":{"description":"Bad request - Invalid parameters or file"},"401":{"description":"Unauthorized - Invalid or missing API token"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Vectorize an image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/recraft/styles":{"post":{"description":"Upload a set of images to create a style reference.","operationId":"RecraftCreateStyle","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RecraftCreateStyleRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecraftCreateStyleResponse"}}},"description":"OK"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create Style","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/reve/v1/image/create":{"post":{"description":"Forwards image creation requests to the Reve API and returns the generated image.","operationId":"ReveImageCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReveImageCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReveImageResponse"}}},"description":"Successful response from Reve proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate an image using Reve","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/reve/v1/image/edit":{"post":{"description":"Forwards image editing requests to the Reve API with an edit instruction and reference image.","operationId":"ReveImageEdit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReveImageEditRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReveImageResponse"}}},"description":"Successful response from Reve proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Edit an image using Reve","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/reve/v1/image/remix":{"post":{"description":"Forwards image remix requests to the Reve API with reference images and a text prompt.","operationId":"ReveImageRemix","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReveImageRemixRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReveImageResponse"}}},"description":"Successful response from Reve proxy"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Remix images using Reve","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/rodin/api/v2/download":{"post":{"operationId":"RodinDownload","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Rodin3DDownloadRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rodin3DDownloadResponse"}}},"description":"Get the download list for the Rodin 3D Assets."},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get rodin 3D Assets download list.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/rodin/api/v2/rodin":{"post":{"operationId":"RodinGenerate3DAsset","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Rodin3DGenerateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rodin3DGenerateResponse"}}},"description":"3D generate Task submitted successfully."},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create 3D generate Task using Rodin API.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/rodin/api/v2/status":{"post":{"operationId":"RodinCheckStatus","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Rodin3DCheckStatusRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rodin3DCheckStatusResponse"}}},"description":"Get the status of the 3D Assets generation."},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Check Rodin 3D Generate Status.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/runway/image_to_video":{"post":{"description":"Converts an image to a video using Runway's API","operationId":"RunwayImageToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunwayImageToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunwayImageToVideoResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Runway Image to Video Generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/runway/tasks/{task_id}":{"get":{"description":"Get the status and output of a Runway task","operationId":"RunwayGetTaskStatus","parameters":[{"description":"ID of the task to check","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunwayTaskStatusResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Task not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Runway Task Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/runway/text_to_image":{"post":{"description":"Generates an image from text using Runway's API","operationId":"RunwayTextToImage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunwayTextToImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunwayTextToImageResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Runway Text to Image Generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/runway/video_to_video":{"post":{"description":"Edits a video into a new video using Runway's API","operationId":"RunwayVideoToVideo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunwayVideoToVideoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunwayVideoToVideoResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Runway Video to Video Generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/seedance/asset-groups/{group_id}":{"delete":{"description":"Lists the group's assets, deletes each one (DeleteAsset), then deletes the group (DeleteAssetGroup) and Comfy's record of it. Works for a real-person verification group or the caller's virtual-library group. Unknown and unowned ids return 404. Lists assets in every status; when the listing hits its page cap the listed assets are deleted and 503 cleanup_incomplete asks for a repeat. Returns 409 asset_in_use while the group records a zero-retention Router task's asset younger than ROUTER_ZDR_ASSET_ROW_TTL (default 6h) or a library asset is still Processing with no record (only zero-retention task use is detected; a non-zero-retention task's references are ordinary library assets and are deleted); an older zero-retention row is treated as stale and deleted with the group. Returns 409 delete_in_progress while another group delete runs for the account. Stops at the first failure (an upstream one is a fixed internal_error); the state left behind is consistent, and repeating the call resumes. A 503 cleanup_incomplete means some assets, copies or local records of the group remain (the group itself may or may not be gone yet); repeating the DELETE finishes them. Returns 429 rate_limited when the caller deletes too fast (each asset in the group counts as one delete, like the per-asset route) or too many group deletes are running across all accounts; a 429 can arrive after some assets are already deleted, the group is kept, and repeating the call after the wait the message names resumes. Returns 403 not_enabled while the feature is off.\n","operationId":"SeedanceDeleteAssetGroup","parameters":[{"in":"path","name":"group_id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Group and its assets deleted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Delete an asset group the caller owns, with every asset in it","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/seedance/assets":{"get":{"description":"Fans out to BytePlus ListAssets across the caller's completed verification groups, denormalizes the group label into each row, and returns a single flat list. Result is post-filtered by asset_type. Optional group_id narrows to one group. Hard caps: 5 pages × 100 assets per group, 1000 total assets.\n","operationId":"SeedanceListUserAssets","parameters":[{"description":"Asset type to return.","in":"query","name":"asset_type","required":true,"schema":{"enum":["Image","Video"],"type":"string"}},{"description":"Narrow the listing to one group. Caller must own it.","in":"query","name":"group_id","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedanceListUserAssetsResponse"}}},"description":"Assets owned by the caller"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"List the caller's assets across all owned groups","tags":["API Nodes","Released"],"x-excluded":true},"post":{"operationId":"SeedanceCreateAsset","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedanceCreateAssetRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedanceCreateAssetResponse"}}},"description":"Asset creation accepted (asynchronous — poll seedanceGetAsset)"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/seedance/assets/{asset_id}":{"delete":{"description":"Deletes a BytePlus Seedance asset (DeleteAsset) after verifying the caller owns its group: any second-account copy goes first, then the asset itself, then Comfy's dedup row and the ownership cache entry. Unknown and unowned ids both return the same 404. If a copy or the dedup row could not be removed it returns 503 cleanup_incomplete; retrying the same delete finishes it unless a copy keeps refusing deletion, in which case the row is kept and the retry returns 404 or 204. Provider errors are never passed through; they return a fixed 500 internal_error. Returns 429 rate_limited when the caller deletes too fast. A generation already submitted with asset://\u003cid\u003e is not cancelled; its outcome is the provider's. Returns 403 not_enabled while the feature is off.\n","operationId":"SeedanceDeleteAsset","parameters":[{"in":"path","name":"asset_id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Asset deleted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Delete an asset the caller owns","tags":["API Nodes","Released"],"x-excluded":true},"get":{"operationId":"SeedanceGetAsset","parameters":[{"description":"BytePlus-issued asset id returned by seedanceCreateAsset","in":"path","name":"asset_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedanceGetAssetResponse"}}},"description":"Asset state"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/seedance/virtual-library/assets":{"post":{"operationId":"SeedanceVirtualLibraryCreateAsset","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedanceVirtualLibraryCreateAssetRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedanceVirtualLibraryCreateAssetResponse"}}},"description":"Asset creation accepted (asynchronous — poll seedanceGetAsset)"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/seedance/visual-validate/groups":{"get":{"description":"Returns the caller's completed visual-validation groups (real-person H5 verification). Used to power the group selector in client UIs. Excludes virtual-library (AIGC) groups, which are not part of the public API surface.\n","operationId":"SeedanceListVisualValidationGroups","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedanceListVisualValidationGroupsResponse"}}},"description":"Visual-validation groups owned by the caller"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"List the caller's completed visual-validation groups","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/seedance/visual-validate/sessions":{"post":{"operationId":"SeedanceCreateVisualValidateSession","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedanceCreateVisualValidateSessionRequest"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedanceCreateVisualValidateSessionResponse"}}},"description":"Verification session created"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/seedance/visual-validate/sessions/{session_id}":{"get":{"operationId":"SeedanceGetVisualValidateSession","parameters":[{"description":"The session id returned by seedanceCreateVisualValidateSession","in":"path","name":"session_id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeedanceGetVisualValidateSessionResponse"}}},"description":"Session state"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/sonilo/t2m/generate":{"post":{"description":"Generate music from a text prompt using Sonilo text-to-music AI.\nRequires a prompt describing the desired music and a caller-specified duration.\nReturns a streaming NDJSON response with titles, audio chunks, and completion events.\n","operationId":"SoniloTextToMusicGenerate","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SoniloTextToMusicRequest"}}},"required":true},"responses":{"200":{"content":{"application/x-ndjson":{"schema":{"$ref":"#/components/schemas/SoniloStreamEvent"}}},"description":"OK - Streaming NDJSON response with audio generation events"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Unauthorized - Invalid or missing API key"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Payment Required - Insufficient funds"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Unprocessable Entity - Validation error"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Too Many Requests - Rate limited. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Bad Gateway - Upstream generation error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate music from text prompt","tags":["Sonilo","Proxy"]}},"/proxy/sonilo/v1/tasks/{task_id}":{"get":{"description":"Get the status of a Sonilo async task. Poll every 2 to 5 seconds until the\nstatus is `succeeded` or `failed`. A succeeded music task carries\n`duration_seconds`, an `audio` object with a temporary download URL and a\n`cost` object.\n","operationId":"SoniloGetTask","parameters":[{"description":"The task_id returned by the submit request.","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloTask"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloTaskErrorResponse"}}},"description":"Unauthorized - Invalid or missing API key"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloTaskErrorResponse"}}},"description":"Not Found - Unknown task id"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloTaskErrorResponse"}}},"description":"Too Many Requests - Rate limited"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a Sonilo task","tags":["Sonilo","Proxy"]}},"/proxy/sonilo/v1/text-to-music-l":{"post":{"description":"Submit a Sonilo Music 1.5 text-to-music-with-lyrics task.\nWrite lyrics inside the prompt as a `Lyrics:` block with `[Verse]`, `[Chorus]`\nand `[Bridge]` section tags; omit the block and the model writes its own words.\nReturns a task id. Poll `GET /proxy/sonilo/v1/tasks/{task_id}` until the task\nreaches a terminal status.\n","operationId":"SoniloTextToMusicLyricsSubmit","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SoniloTextToMusicLyricsRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloTaskSubmitResponse"}}},"description":"Accepted - the task is processing"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloTaskErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloTaskErrorResponse"}}},"description":"Unauthorized - Invalid or missing API key"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloTaskErrorResponse"}}},"description":"Payment Required - Insufficient funds"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloTaskErrorResponse"}}},"description":"Forbidden - The account has no access to this endpoint"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloTaskErrorResponse"}}},"description":"Too Many Requests - Rate limited. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloTaskErrorResponse"}}},"description":"Bad Gateway - Upstream generation error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate a song with lyrics from a text prompt","tags":["Sonilo","Proxy"]}},"/proxy/sonilo/v2m/generate":{"post":{"description":"Generate music from a video using Sonilo video-to-music AI.\nAccepts either a video file upload or a video URL, with an optional prompt.\nReturns a streaming NDJSON response with one or more parallel audio streams\n(titles, audio chunks, and completion events).\nMax video duration: 6 minutes. Max upload size: 300MB.\n","operationId":"SoniloVideoToMusicGenerate","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SoniloVideoToMusicRequest"}}},"required":true},"responses":{"200":{"content":{"application/x-ndjson":{"schema":{"$ref":"#/components/schemas/SoniloStreamEvent"}}},"description":"OK - Streaming NDJSON response with audio generation events"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Unauthorized - Invalid or missing API key"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Payment Required - Insufficient funds"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Unprocessable Entity - Validation error"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Too Many Requests - Rate limited. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoniloErrorResponse"}}},"description":"Bad Gateway - Upstream generation error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate music from video","tags":["Sonilo","Proxy"]}},"/proxy/synclabs/v2/generate":{"post":{"description":"Create a lip sync generation using the Sync Labs (sync.so) generate API.\nOnly the sync-3 model is supported. Provide exactly one visual input\n(video or image) and one audio or text input, each by url or assetId.\nGeneration is asynchronous; poll the get-generation endpoint until\nstatus reaches a terminal state.\n","operationId":"SyncLabsGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncLabsGenerateRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncLabsGeneration"}}},"description":"Generation created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"422":{"description":"Unprocessable Entity - submit-time validation failed"},"429":{"description":"Too Many Requests - generation concurrency limit reached. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Sync Labs lipsync generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/synclabs/v2/generate/{id}":{"get":{"description":"Retrieve the status and result of a Sync Labs (sync.so) lipsync generation.\nPoll this endpoint until status is COMPLETED, then read outputUrl.\n","operationId":"SyncLabsGetGeneration","parameters":[{"description":"The generation id returned by the create endpoint","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncLabsGeneration"}}},"description":"Generation status and result"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"404":{"description":"Generation not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get a Sync Labs lipsync generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tencent/hunyuan/3d-part":{"post":{"description":"Submit a component identification and generation task using Tencent Hunyuan.\nAutomatically performs component splitting based on the model structure after inputting a 3D model file.\nRecommends inputting 3D models generated by AIGC. File size not greater than 100MB, face count not greater than 30,000. FBX format only.\n\nThe returned JobId can be used with the query endpoint to check task status.\n","operationId":"TencentHunyuan3DPartSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DPartRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DUVResponse"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit Tencent Hunyuan 3D Part (Component Splitting) Task","tags":["API Nodes","Tencent"],"x-excluded":true}},"/proxy/tencent/hunyuan/3d-part/query":{"post":{"description":"Query the status and result of a previously submitted 3D part (component splitting) task.\n\nPoll this endpoint until the task status indicates completion.\n","operationId":"TencentHunyuan3DPartQuery","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DQueryRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DQueryResponse"}}},"description":"Task status retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Query Tencent Hunyuan 3D Part Task Status","tags":["API Nodes","Tencent"],"x-excluded":true}},"/proxy/tencent/hunyuan/3d-pro":{"post":{"description":"Submit a task to generate 3D content using Tencent HunYuan Large Model.\nSupports text-to-3D and image-to-3D generation.\n\nThis API provides 3 concurrent tasks by default. A new task can be processed\nonly after the previous one is completed.\n\nThe returned JobId can be used with the query endpoint to check task status.\n","operationId":"TencentHunyuan3DProSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DProRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DProResponse"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit Tencent Hunyuan 3D Pro Generation Task","tags":["API Nodes","Tencent"],"x-excluded":true}},"/proxy/tencent/hunyuan/3d-pro/query":{"post":{"description":"Query the status and result of a previously submitted 3D generation task.\n\nPoll this endpoint until the task status indicates completion.\n","operationId":"TencentHunyuan3DProQuery","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DQueryRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DQueryResponse"}}},"description":"Task status retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Query Tencent Hunyuan 3D Pro Task Status","tags":["API Nodes","Tencent"],"x-excluded":true}},"/proxy/tencent/hunyuan/3d-smart-topology":{"post":{"description":"Submit a 3D smart topology (retopology/polygon reduction) task using Tencent Hunyuan.\nTakes an input 3D model and performs intelligent topology optimization.\nSupported input formats: GLB, OBJ. File size max 200MB.\n\nThe returned JobId can be used with the query endpoint to check task status.\n","operationId":"TencentHunyuan3DSmartTopologySubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DSmartTopologyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DUVResponse"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit Tencent Hunyuan 3D Smart Topology Task","tags":["API Nodes","Tencent"],"x-excluded":true}},"/proxy/tencent/hunyuan/3d-smart-topology/query":{"post":{"description":"Query the status and result of a previously submitted 3D smart topology task.\n\nPoll this endpoint until the task status indicates completion.\n","operationId":"TencentHunyuan3DSmartTopologyQuery","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DQueryRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DQueryResponse"}}},"description":"Task status retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Query Tencent Hunyuan 3D Smart Topology Task Status","tags":["API Nodes","Tencent"],"x-excluded":true}},"/proxy/tencent/hunyuan/3d-texture-edit":{"post":{"description":"Submit a 3D model texture redrawing task using Tencent Hunyuan.\nAfter inputting the 3D model, perform 3D model texture redrawing based on semantics or images.\nSupported format: FBX. 3D model limit: less than 100000 faces.\nEither Image or Prompt is required; they cannot coexist. EnablePBR only supports enabling when using Prompt.\n\nThe returned JobId can be used with the query endpoint to check task status.\n","operationId":"TencentHunyuan3DTextureEditSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DTextureEditRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DUVResponse"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit Tencent Hunyuan 3D Texture Edit Task","tags":["API Nodes","Tencent"],"x-excluded":true}},"/proxy/tencent/hunyuan/3d-texture-edit/query":{"post":{"description":"Query the status and result of a previously submitted 3D texture edit task.\n\nPoll this endpoint until the task status indicates completion.\n","operationId":"TencentHunyuan3DTextureEditQuery","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DQueryRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DQueryResponse"}}},"description":"Task status retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Query Tencent Hunyuan 3D Texture Edit Task Status","tags":["API Nodes","Tencent"],"x-excluded":true}},"/proxy/tencent/hunyuan/3d-uv":{"post":{"description":"Submit a UV unwrapping task for a 3D model using Tencent Hunyuan.\nAfter inputting the model, UV unwrapping can be performed based on the\nmodel texture to output the corresponding UV map.\n\nThe returned JobId can be used with the query endpoint to check task status.\n","operationId":"TencentHunyuan3DUVSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DUVRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DUVResponse"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit Tencent Hunyuan 3D UV Unfolding Task","tags":["API Nodes","Tencent"],"x-excluded":true}},"/proxy/tencent/hunyuan/3d-uv/query":{"post":{"description":"Query the status and result of a previously submitted UV unwrapping task.\n\nPoll this endpoint until the task status indicates completion.\n","operationId":"TencentHunyuan3DUVQuery","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DQueryRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuan3DQueryResponse"}}},"description":"Task status retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Query Tencent Hunyuan 3D UV Unfolding Task Status","tags":["API Nodes","Tencent"],"x-excluded":true}},"/proxy/tencent/v1/chat/completions":{"post":{"description":"Send an OpenAI-compatible Chat Completions request to Tencent Hy4. A message can mix text and image_url parts.\nStreaming is not supported. A request with stream set to true is rejected with 400.\nBilling uses the usage object of the response. Uncached input tokens, cached input tokens and output tokens are priced separately. Output tokens include reasoning tokens.\n","operationId":"TencentHyChatCompletion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHyChatCompletionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHyChatCompletionResponse"}}},"description":"Chat completion finished"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a chat completion with Tencent Hy4","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tencent/v1/wand/hunyuan-image/v35-generation":{"post":{"description":"Generate an image from one or more turns of chat-style context. Each turn holds text and optional reference images.\nThe last message with the user role is the instruction for this turn. Earlier messages are context for multi-turn editing.\nThe call is synchronous. Most requests return in 1 to 5 minutes. Set the client read timeout to 30 minutes.\n\nFor multi-turn editing, append assembled_history from the response to messages, then add the new user message.\nThe returned image URLs are temporary signed links that expire after 12 hours.\n","operationId":"TencentHunyuanImageV35Generation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuanImageV35Request"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TencentHunyuanImageV35Response"}}},"description":"Image generation completed"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate or edit an image with Tencent Hy-Image-3.5-Preview","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/topaz/image/v1/download/{process_id}":{"get":{"operationId":"TopazDownloadResult","parameters":[{"description":"The process ID returned from the enhance-gen request","in":"path","name":"process_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopazDownloadResponse"}}},"description":"Presigned download URL for the processed image"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/topaz/image/v1/enhance-gen/async":{"post":{"operationId":"TopazEnhanceGenAsync","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/TopazEnhanceGenRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopazEnhanceGenResponse"}}},"description":"Image processing request has been successfully created"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/topaz/image/v1/status/{process_id}":{"get":{"operationId":"TopazGetStatus","parameters":[{"description":"The process ID returned from the enhance-gen request","in":"path","name":"process_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopazStatusResponse"}}},"description":"Status retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/topaz/video/":{"post":{"operationId":"TopazVideoCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopazVideoCreateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopazVideoCreateResponse"}}},"description":"Video enhancement request created successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/topaz/video/{request_id}/accept":{"patch":{"operationId":"TopazVideoAccept","parameters":[{"description":"The request ID returned from the video create request","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopazVideoAcceptResponse"}}},"description":"Video request accepted successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/topaz/video/{request_id}/complete-upload":{"patch":{"description":"Send metadata of the multi-part uploads to complete the upload and begin processing the video.\n\nOptionally include the MD5 hash of the source video file to validate successful upload before processing.\n","operationId":"TopazVideoCompleteUpload","parameters":[{"description":"The request ID returned from the video create request","in":"path","name":"request_id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopazVideoCompleteUploadRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopazVideoCompleteUploadResponse"}}},"description":"Video upload completed successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Complete Video Upload","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/topaz/video/{request_id}/status":{"get":{"operationId":"TopazVideoGetStatus","parameters":[{"description":"The request ID returned from the video create request","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopazVideoStatusResponse"}}},"description":"Video status retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v2/openapi/import":{"post":{"description":"Composite endpoint for Tripo model import (PN-328). The client first uploads the\nmodel file to ComfyUI API storage (POST /customers/storage) and then calls this\nendpoint with the resulting download URL. The backend performs the full Tripo\nimport flow server-side: downloads the file from storage, obtains short-lived STS\nupload credentials from Tripo, uploads the file to Tripo's object storage (SigV4),\nand creates an import_model task referencing the uploaded object. Returns Tripo's\ncreate-task response; poll /proxy/tripo/v2/openapi/task/{task_id} for completion.\nThe resulting task id is usable with Tripo post-processing tasks (texture_model,\nanimate_rig, convert_model, ...).\n\nThis is a synthetic comfy-api route (Tripo has no single-call equivalent); it\nexists so that Tripo's temporary storage credentials never leave the backend and\nno model binary ever travels inside this request.\n\nThe url host must be ComfyUI API storage (storage.googleapis.com).\nSupported formats: glb, fbx, obj, stl. Maximum file size: 150MB.\n","operationId":"TripoImportModel","requestBody":{"content":{"application/json":{"schema":{"properties":{"format":{"description":"File format (\"glb\", \"fbx\", \"obj\", \"stl\"). Optional; derived from the URL path extension when omitted.","type":"string"},"url":{"description":"Download URL of the model file previously uploaded to ComfyUI API storage.","type":"string"}},"required":["url"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Import task created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"File exceeds the 150MB limit"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Upstream upload or task creation failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Import an External 3D Model into Tripo","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v2/openapi/task":{"post":{"operationId":"TripoCreateTask","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"properties":{"auto_size":{"default":false,"type":"boolean"},"face_limit":{"type":"integer"},"geometry_quality":{"$ref":"#/components/schemas/TripoGeometryQuality"},"model_seed":{"type":"integer"},"model_version":{"$ref":"#/components/schemas/TripoModelVersion"},"negative_prompt":{"maxLength":1024,"type":"string"},"pbr":{"default":true,"type":"boolean"},"prompt":{"maxLength":1024,"type":"string"},"quad":{"default":false,"type":"boolean"},"style":{"$ref":"#/components/schemas/TripoModelStyle"},"text_seed":{"type":"integer"},"texture":{"default":true,"type":"boolean"},"texture_quality":{"$ref":"#/components/schemas/TripoTextureQuality"},"texture_seed":{"type":"integer"},"type":{"$ref":"#/components/schemas/TripoTextToModel"}},"required":["type","prompt"],"type":"object"},{"properties":{"auto_size":{"default":false,"type":"boolean"},"face_limit":{"type":"integer"},"file":{"properties":{"file_token":{"type":"string"},"type":{"type":"string"}},"required":["type","file_token"],"type":"object"},"geometry_quality":{"$ref":"#/components/schemas/TripoGeometryQuality"},"model_seed":{"type":"integer"},"model_version":{"$ref":"#/components/schemas/TripoModelVersion"},"orientation":{"$ref":"#/components/schemas/TripoOrientation"},"pbr":{"default":true,"type":"boolean"},"quad":{"default":false,"type":"boolean"},"style":{"$ref":"#/components/schemas/TripoModelStyle"},"texture":{"default":true,"type":"boolean"},"texture_alignment":{"$ref":"#/components/schemas/TripoTextureAlignment"},"texture_quality":{"$ref":"#/components/schemas/TripoTextureQuality"},"texture_seed":{"type":"integer"},"type":{"$ref":"#/components/schemas/TripoImageToModel"}},"required":["type","file"],"type":"object"},{"properties":{"auto_size":{"default":false,"type":"boolean"},"face_limit":{"type":"integer"},"files":{"items":{"properties":{"file_token":{"type":"string"},"type":{"type":"string"}},"required":["type","file_token"],"type":"object"},"type":"array"},"geometry_quality":{"$ref":"#/components/schemas/TripoGeometryQuality"},"mode":{"$ref":"#/components/schemas/TripoMultiviewMode"},"model_seed":{"type":"integer"},"model_version":{"$ref":"#/components/schemas/TripoModelVersion"},"orientation":{"$ref":"#/components/schemas/TripoOrientation"},"orthographic_projection":{"default":false,"type":"boolean"},"pbr":{"default":true,"type":"boolean"},"quad":{"default":false,"type":"boolean"},"texture":{"default":true,"type":"boolean"},"texture_alignment":{"$ref":"#/components/schemas/TripoTextureAlignment"},"texture_quality":{"$ref":"#/components/schemas/TripoTextureQuality"},"texture_seed":{"type":"integer"},"type":{"$ref":"#/components/schemas/TripoMultiviewToModel"}},"required":["type","files"],"type":"object"},{"properties":{"model_seed":{"type":"integer"},"original_model_task_id":{"type":"string"},"pbr":{"default":true,"type":"boolean"},"texture":{"default":true,"type":"boolean"},"texture_alignment":{"$ref":"#/components/schemas/TripoTextureAlignment"},"texture_quality":{"$ref":"#/components/schemas/TripoTextureQuality"},"texture_seed":{"type":"integer"},"type":{"$ref":"#/components/schemas/TripoTypeTextureModel"}},"required":["type","original_model_task_id"],"type":"object"},{"properties":{"draft_model_task_id":{"type":"string"},"type":{"$ref":"#/components/schemas/TripoTypeRefineModel"}},"required":["type","draft_model_task_id"],"type":"object"},{"properties":{"original_model_task_id":{"type":"string"},"type":{"$ref":"#/components/schemas/TripoTypeAnimatePrerigcheck"}},"required":["type","original_model_task_id"],"type":"object"},{"properties":{"original_model_task_id":{"type":"string"},"out_format":{"$ref":"#/components/schemas/TripoStandardFormat"},"spec":{"$ref":"#/components/schemas/TripoSpec"},"topology":{"$ref":"#/components/schemas/TripoTopology"},"type":{"$ref":"#/components/schemas/TripoTypeAnimateRig"}},"required":["type","original_model_task_id"],"type":"object"},{"properties":{"animation":{"$ref":"#/components/schemas/TripoAnimation"},"bake_animation":{"default":true,"type":"boolean"},"original_model_task_id":{"type":"string"},"out_format":{"$ref":"#/components/schemas/TripoStandardFormat"},"type":{"$ref":"#/components/schemas/TripoTypeAnimateRetarget"}},"required":["type","original_model_task_id","animation"],"type":"object"},{"properties":{"block_size":{"default":80,"type":"integer"},"original_model_task_id":{"type":"string"},"style":{"$ref":"#/components/schemas/TripoStylizeOptions"},"type":{"$ref":"#/components/schemas/TripoTypeStylizeModel"}},"required":["type","style","original_model_task_id"],"type":"object"},{"properties":{"face_limit":{"default":10000,"type":"integer"},"flatten_bottom":{"default":false,"type":"boolean"},"flatten_bottom_threshold":{"default":0.01,"type":"number"},"force_symmetry":{"default":false,"type":"boolean"},"format":{"$ref":"#/components/schemas/TripoConvertFormat"},"original_model_task_id":{"type":"string"},"pivot_to_center_bottom":{"default":false,"type":"boolean"},"quad":{"default":false,"type":"boolean"},"texture_format":{"$ref":"#/components/schemas/TripoTextureFormat"},"texture_size":{"default":4096,"type":"integer"},"type":{"$ref":"#/components/schemas/TripoTypeConvertModel"}},"required":["type","format","original_model_task_id"],"type":"object"}]}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create 3D Generation Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v2/openapi/task/{task_id}":{"get":{"operationId":"TripoGetTask","parameters":[{"in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"code":{"$ref":"#/components/schemas/TripoResponseSuccessCode"},"data":{"$ref":"#/components/schemas/TripoTask"}},"required":["code","data"],"type":"object"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get Task Status","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v2/openapi/upload":{"post":{"operationId":"TripoUploadFile","requestBody":{"content":{"multipart/form-data":{"encoding":{"profileImage":{"contentType":"image/png, image/jpeg"}},"schema":{"properties":{"file":{"format":"binary","type":"string"}},"required":["file"],"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"code":{"$ref":"#/components/schemas/TripoResponseSuccessCode"},"data":{"properties":{"image_token":{"type":"string"}},"required":["image_token"],"type":"object"}},"required":["code","data"],"type":"object"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Upload File for 3D Generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/animations/retarget":{"post":{"operationId":"TripoAnimateRetarget","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoRetargetRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create an Animation Retarget Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/animations/rig":{"post":{"operationId":"TripoAnimateRig","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoRigRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Rig Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/animations/rig-check":{"post":{"operationId":"TripoAnimateRigCheck","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoRigCheckRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Rig Check Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/files":{"post":{"operationId":"TripoCreateFile","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"code":{"$ref":"#/components/schemas/TripoResponseSuccessCode"},"data":{"properties":{"file_token":{"type":"string"}},"required":["file_token"],"type":"object"}},"required":["code","data"],"type":"object"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Upload a File for 3D Generation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/generation/edit-multiview":{"post":{"operationId":"TripoEditMultiview","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoEditMultiviewRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create an Edit Multiview Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/generation/image-to-model":{"post":{"operationId":"TripoImageToModel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoImageToModelRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create an Image to 3D Model Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/generation/image-to-multiview":{"post":{"operationId":"TripoImageToMultiview","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoImageToMultiviewRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create an Image to Multiview Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/generation/multiview-to-model":{"post":{"operationId":"TripoMultiviewToModel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoMultiviewToModelRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Multiview to 3D Model Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/generation/text-to-model":{"post":{"operationId":"TripoTextToModel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoTextToModelRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Text to 3D Model Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/mesh/complete":{"post":{"operationId":"TripoMeshComplete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoMeshCompleteRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Mesh Complete Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/mesh/decimate":{"post":{"operationId":"TripoMeshDecimate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoMeshDecimateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Mesh Decimate Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/mesh/segment":{"post":{"operationId":"TripoMeshSegment","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoMeshSegmentRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Mesh Segment Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/mesh/smartsegment":{"post":{"operationId":"TripoMeshSmartSegment","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoMeshSmartSegmentRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Mesh Smart Segment Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/mesh/uv":{"post":{"operationId":"TripoMeshUv","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoMeshUvRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Smart UV Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/models/convert":{"post":{"operationId":"TripoConvertModel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoConvertModelRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Model Convert Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/models/import":{"post":{"operationId":"TripoImportModelTask","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoImportModelRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Import a 3D Model for Later Tasks","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/models/refine":{"post":{"operationId":"TripoRefineModel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoRefineModelRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Model Refine Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/models/stylize":{"post":{"operationId":"TripoStylizeModel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoStylizeModelRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Model Stylize Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/models/texture":{"post":{"operationId":"TripoTextureModel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoTextureModelRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoSuccessTask"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Create a Model Texture Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/tripo/v3/tasks/{task_id}":{"get":{"operationId":"TripoGetTaskStatus","parameters":[{"in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"code":{"$ref":"#/components/schemas/TripoResponseSuccessCode"},"data":{"$ref":"#/components/schemas/TripoTaskResult"}},"required":["code","data"],"type":"object"}}},"description":"Request successful"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Authentication failed"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Unauthorized access to requested resource"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Resource not found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Account exception or Rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Service temporarily unavailable"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripoErrorResponse"}}},"description":"Server timeout"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get the Status of a Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/typesafe/v1/systemone":{"post":{"description":"Answer named questions (`noul`, `choice`, `score` or `box`) about the\n`state` and optional inline images in `assets`, with `jev-1.14.0` or\n`jev-1.13.0`. Send `model` in the body on this route. Box questions need\n`jev-1.14.0`. This endpoint is synchronous. Billing is per input token,\nas reported in `usage.input_tokens`; output tokens are free.\n","operationId":"TypesafeCreateSystemOneDecision","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesafeSystemOneRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesafeSystemOneResponse"}}},"description":"Answers generated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"413":{"description":"Request body is over TypeSafe's 32 MiB limit"},"422":{"description":"Unprocessable entity"},"429":{"description":"Too Many Requests - rate limit exceeded. Also answered when the caller's in-flight committed partner spend has reached its ceiling; that refusal says so in its message and carries the `X-Committed-Spend-Limit`, `X-Committed-Spend-Current` and `X-Committed-Spend-Remaining` headers (USD cents)."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Answer typed questions with TypeSafe Jev System One","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/clean-audio":{"post":{"description":"Submits a VEED Clean Audio job: removes background noise from speech and answers the cleaned audio. The call is asynchronous and returns the job to poll on `GET /proxy/veed/v1/clean-audio/{job_id}`.","operationId":"VeedCleanAudioSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedCleanAudioRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Clean Audio Submit Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/clean-audio-video":{"post":{"description":"Submits a VEED Clean Audio (Video) job: removes background noise from a video's speech and answers the video with the cleaned audio. The call is asynchronous and returns the job to poll on `GET /proxy/veed/v1/clean-audio-video/{job_id}`.","operationId":"VeedCleanAudioVideoSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedCleanAudioVideoRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Clean Audio Video Submit Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/clean-audio-video/{job_id}":{"get":{"description":"Polls a VEED Clean Audio Video job. A completed job carries its output in `data.result`.","operationId":"VeedCleanAudioVideoGetJob","parameters":[{"description":"The job id returned at submission.","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Clean Audio Video Get Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/clean-audio/{job_id}":{"get":{"description":"Polls a VEED Clean Audio job. A completed job carries its output in `data.result`.","operationId":"VeedCleanAudioGetJob","parameters":[{"description":"The job id returned at submission.","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Clean Audio Get Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/dubbing":{"post":{"description":"Submits a VEED Dubbing (Standard) job: translates the speech in a video, clones each speaker's voice and lip-syncs the translation. The call is asynchronous and returns the job to poll on `GET /proxy/veed/v1/dubbing/{job_id}`.","operationId":"VeedDubbingSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedDubbingRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Dubbing Submit Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/dubbing-pro":{"post":{"description":"Submits a VEED Dubbing Pro job: Dubbing with more precise lip-sync, multi-speaker support and the original background audio kept. The call is asynchronous and returns the job to poll on `GET /proxy/veed/v1/dubbing-pro/{job_id}`.","operationId":"VeedDubbingProSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedDubbingRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Dubbing Pro Submit Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/dubbing-pro/{job_id}":{"get":{"description":"Polls a VEED Dubbing Pro job. A completed job carries the dubbed video in `data.result.video`.","operationId":"VeedDubbingProGetJob","parameters":[{"description":"The job id returned at submission.","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Dubbing Pro Get Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/dubbing/{job_id}":{"get":{"description":"Polls a VEED Dubbing (Standard) job. A completed job carries the dubbed video in `data.result.video`.","operationId":"VeedDubbingGetJob","parameters":[{"description":"The job id returned at submission.","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Dubbing Get Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/fabric-1.0":{"post":{"description":"Submits a VEED Fabric 1.0 job: turns an image and a speech track into a talking, lip-synced video. The call is asynchronous and returns the job to poll on `GET /proxy/veed/v1/fabric-1.0/{job_id}`.","operationId":"VeedFabricSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedFabricRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Fabric 1.0 Submit Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/fabric-1.0/{job_id}":{"get":{"description":"Polls a VEED Fabric 1.0 job. A completed job carries its output in `data.result`.","operationId":"VeedFabricGetJob","parameters":[{"description":"The job id returned at submission.","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Fabric 1.0 Get Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/lipsync-2.0":{"post":{"description":"Submits a VEED Lipsync 2.0 job: re-syncs the speaker in a video to a new audio track. The call is asynchronous and returns the job to poll on `GET /proxy/veed/v1/lipsync-2.0/{job_id}`.","operationId":"VeedLipsyncSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedLipsyncRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Lipsync 2.0 Submit Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/lipsync-2.0/{job_id}":{"get":{"description":"Polls a VEED Lipsync 2.0 job. A completed job carries its output in `data.result`.","operationId":"VeedLipsyncGetJob","parameters":[{"description":"The job id returned at submission.","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Lipsync 2.0 Get Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/video-background-removal":{"post":{"description":"Submits a VEED Video Background Removal (Standard) job: cuts the background out of a video. The call is asynchronous and returns the job to poll on `GET /proxy/veed/v1/video-background-removal/{job_id}`.","operationId":"VeedVideoBackgroundRemovalSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedVideoBackgroundRemovalRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Video Background Removal Submit Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/video-background-removal-fast":{"post":{"description":"Submits a VEED Video Background Removal (Fast) job: cuts the background out of a video at up to 1080p. The call is asynchronous and returns the job to poll on `GET /proxy/veed/v1/video-background-removal-fast/{job_id}`.","operationId":"VeedVideoBackgroundRemovalFastSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedVideoBackgroundRemovalRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Video Background Removal Fast Submit Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/video-background-removal-fast/{job_id}":{"get":{"description":"Polls a VEED Video Background Removal Fast job. A completed job carries its output in `data.result`.","operationId":"VeedVideoBackgroundRemovalFastGetJob","parameters":[{"description":"The job id returned at submission.","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Video Background Removal Fast Get Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/video-background-removal-green-screen":{"post":{"description":"Submits a VEED Video Background Removal (Green screen) job: keys out the green screen behind a subject. The call is asynchronous and returns the job to poll on `GET /proxy/veed/v1/video-background-removal-green-screen/{job_id}`.","operationId":"VeedVideoBackgroundRemovalGreenScreenSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedGreenScreenRequest"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Video Background Removal Green Screen Submit Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/video-background-removal-green-screen/{job_id}":{"get":{"description":"Polls a VEED Video Background Removal Green Screen job. A completed job carries its output in `data.result`.","operationId":"VeedVideoBackgroundRemovalGreenScreenGetJob","parameters":[{"description":"The job id returned at submission.","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Video Background Removal Green Screen Get Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veed/v1/video-background-removal/{job_id}":{"get":{"description":"Polls a VEED Video Background Removal job. A completed job carries its output in `data.result`.","operationId":"VeedVideoBackgroundRemovalGetJob","parameters":[{"description":"The job id returned at submission.","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeedJobResponse"}}},"description":"Job retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"VEED Video Background Removal Get Job","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veo/generate":{"post":{"operationId":"VeoGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Veo2GenVidRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Veo2GenVidResponse"}}},"description":"Video generation successful"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"500":{"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate a video from a text prompt and optional image. Deprecated. Use /proxy/veo/{modelId}/generate instead.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veo/poll":{"post":{"operationId":"VeoPoll","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Veo2GenVidPollRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Veo2GenVidPollResponse"}}},"description":"Operation status and result"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Operation not found"},"500":{"description":"Internal error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Poll the status of a Veo prediction operation. Deprecated. Use /proxy/veo/{modelId}/poll instead.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veo/{modelId}/generate":{"post":{"operationId":"VeoGenerateNew","parameters":[{"description":"The Veo model ID to use for generation","in":"path","name":"modelId","required":true,"schema":{"enum":["veo-2.0-generate-001","veo-3.0-generate-001","veo-3.0-fast-generate-001","veo-3.1-generate-001","veo-3.1-fast-generate-001","veo-3.1-lite-generate-001"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeoGenVidRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeoGenVidResponse"}}},"description":"Video generation successful"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"500":{"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate a video from a text prompt and optional image","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/veo/{modelId}/poll":{"post":{"operationId":"VeoPollNew","parameters":[{"description":"The Veo model ID","in":"path","name":"modelId","required":true,"schema":{"enum":["veo-2.0-generate-001","veo-3.0-generate-001","veo-3.0-fast-generate-001","veo-3.1-generate-001","veo-3.1-fast-generate-001","veo-3.1-lite-generate-001"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeoGenVidPollRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeoGenVidPollResponse"}}},"description":"Operation status and result"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"},"404":{"description":"Operation not found"},"500":{"description":"Internal error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Poll the status of a Veo prediction operation","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/vertexai/gemini/{model}":{"post":{"description":"Image-output models refuse input they do not accept with a 400 before any upstream call: no image model accepts audio parts, and gemini-3-pro-image and gemini-2.5-flash-image (and their -preview spellings) also refuse video parts.","operationId":"GeminiGenerateContent","parameters":[{"description":"Full resource name of the model.","in":"path","name":"model","required":true,"schema":{"enum":["gemini-2.5-pro-preview-05-06","gemini-2.5-flash-preview-04-17","gemini-2.5-flash-image-preview","gemini-2.5-flash-image","gemini-2.5-flash","gemini-2.5-pro","gemini-3-pro-preview","gemini-3-pro-image-preview","gemini-3-pro-image","gemini-3.1-flash-image-preview","gemini-3.1-flash-image","gemini-3.1-pro-preview","gemini-3.1-flash-lite-preview","gemini-3.1-flash-lite","gemini-3.1-flash-lite-image","gemini-3.5-flash","gemini-3.7-flash","gemini-3.8-flash","gemini-4-argon","gemini-4-carbon","gemini-4-hydrogen","gemini-4-neon","gemini-nano-banana-2.1"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeminiGenerateContentRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeminiGenerateContentResponse"}}},"description":"Generated content response."},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate content using a specified model.","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/vertexai/imagen/{model}":{"parameters":[{"description":"image generation model","in":"path","name":"model","required":true,"schema":{"enum":["imagen-3.0-generate-002","imagen-3.0-generate-001","imagen-3.0-fast-generate-001","imagegeneration@006","imagegeneration@005","imagegeneration@002"],"type":"string"}}],"post":{"operationId":"ImagenGenerateImages","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImagenGenerateImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImagenGenerateImageResponse"}}},"description":"Successful image generation"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate images from a text prompt","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/vidu/extend":{"post":{"operationId":"ViduExtend","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduExtendRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduExtendReply"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"]}},"/proxy/vidu/img2video":{"post":{"operationId":"ViduImg2Video","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduTaskRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduTaskReply"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"]}},"/proxy/vidu/multiframe":{"post":{"operationId":"ViduMultiframe","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduMultiframeRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduMultiframeReply"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"]}},"/proxy/vidu/reference2video":{"post":{"operationId":"ViduReference2Video","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduTaskRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduTaskReply"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"]}},"/proxy/vidu/start-end2video":{"post":{"operationId":"ViduStartEnd2Video","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduTaskRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduTaskReply"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"]}},"/proxy/vidu/tasks/{id}/creations":{"get":{"operationId":"ViduGetCreations","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduGetCreationsReply"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"]}},"/proxy/vidu/text2video":{"post":{"operationId":"ViduText2Video","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduTaskRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViduTaskReply"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"]}},"/proxy/viggle/v1/motion-capture":{"post":{"description":"Captures a Viggle 3D animation from the video in `motion_video_url`, billed per started second of that video. Poll `GET /proxy/viggle/v1/motions/{motion_id}/files` until `status` is `ready`.","operationId":"ViggleCreateMotionCapture","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ViggleCreateMotionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleAsset"}}},"description":"Motion accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Viggle Motion Capture","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/viggle/v1/motions":{"post":{"description":"Creates a Viggle 3D animation. A `multipart/form-data` body with `motion_video_url` and `type=glb` captures it from a video, billed the `credits_used` Viggle reports on the ready motion. An `application/json` body generates it from `text`. Poll `GET /proxy/viggle/v1/motions/{motion_id}` until `status` is `ready`.","operationId":"ViggleCreateMotion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleCreateMotionFromTextRequest"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ViggleCreateMotionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleAsset"}}},"description":"Motion accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Viggle Create Motion","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/viggle/v1/motions/{motion_id}":{"get":{"description":"Polls a Viggle Motion until `status` is `ready` or `failed`.","operationId":"ViggleGetMotion","parameters":[{"description":"The Motion id returned at creation.","in":"path","name":"motion_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleAsset"}}},"description":"Motion retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Viggle Get Motion","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/viggle/v1/motions/{motion_id}/export":{"get":{"description":"Returns short-lived download URLs for a ready 3D Motion, for the Mixamo, MetaHuman and MetaHuman Body rigs.","operationId":"ViggleExportMotion","parameters":[{"description":"The Motion id returned at creation.","in":"path","name":"motion_id","required":true,"schema":{"type":"string"}},{"description":"File format of the download URLs: glb or fbx.","in":"query","name":"download_type","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleMotionExport"}}},"description":"Motion export retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Viggle Export Motion","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/viggle/v1/motions/{motion_id}/files":{"get":{"description":"Polls a Viggle 3D animation the caller created. Once `status` is `ready`, the answer carries download URLs for the Mixamo, MetaHuman and MetaHuman Body rigs as GLB and as FBX. The URLs last one hour; poll again for fresh ones.","operationId":"ViggleGetMotionFiles","parameters":[{"description":"The Motion id returned at creation.","in":"path","name":"motion_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleMotionFiles"}}},"description":"Motion and its files"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Viggle Motion Files","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/viggle/v1/renders":{"post":{"description":"Renders a Video Remix: the character in `image_url` driven by the video in `motion_video_url`. Billed the `credits_used` Viggle reports on the ready render. Poll `GET /proxy/viggle/v1/videos/{video_id}` with the returned id until `status` is `ready`.","operationId":"ViggleCreateRender","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ViggleCreateRenderRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleVideo"}}},"description":"Render accepted"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleVideo"}}},"description":"Render accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Viggle Video Remix","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/viggle/v1/scenes/generate":{"post":{"description":"Generates new views of a JST-2 scene from a camera position, in a session the caller created. Poll `GET /proxy/viggle/v1/scenes/{task_id}` until `status` is `ready`.","operationId":"ViggleGenerateSceneViews","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleSceneGenerateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleSceneTask"}}},"description":"Scene task accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Viggle Generate Scene Views","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/viggle/v1/scenes/pano":{"post":{"description":"Builds a JST-2 3D Gaussian-splat scene from a text prompt or a 360° panorama URL in a new session the caller names. A session another caller created answers 404. Poll `GET /proxy/viggle/v1/scenes/{task_id}` until `status` is `ready`; the ready task carries the `.spz` scene, the panorama and the views.","operationId":"ViggleCreateScene","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleScenePanoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleSceneTask"}}},"description":"Scene task accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Viggle Create Scene","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/viggle/v1/scenes/{task_id}":{"get":{"description":"Polls a JST-2 scene task. Download URLs on a ready task last 3 hours; poll again for fresh ones.","operationId":"ViggleGetSceneTask","parameters":[{"description":"The scene task id returned at submission.","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleSceneTask"}}},"description":"Scene task retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Viggle Get Scene Task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/viggle/v1/videos/{video_id}":{"get":{"description":"Polls a Video Remix render. A ready render carries `video_url`, and `alpha_url` when it was rendered with `background_mode=transparent`.","operationId":"ViggleGetVideo","parameters":[{"description":"The render id returned at submission.","in":"path","name":"video_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViggleVideo"}}},"description":"Video retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Viggle Get Video","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/wan/api/v1/services/aigc/image2image/image-synthesis":{"post":{"operationId":"WanImage2ImageGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WanImage2ImageGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WanImage2ImageGenerationResponse"}}},"description":"Image-to-image generation task created successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/wan/api/v1/services/aigc/text2image/image-synthesis":{"post":{"operationId":"WanImageGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WanImageGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WanImageGenerationResponse"}}},"description":"Image generation task created successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/wan/api/v1/services/aigc/video-generation/video-synthesis":{"post":{"operationId":"WanVideoGeneration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WanVideoGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WanVideoGenerationResponse"}}},"description":"Video generation task created successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/wan/api/v1/tasks/{task_id}":{"get":{"operationId":"WanTaskQueryProxy","parameters":[{"description":"The ID of the generation task to query","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WanTaskQueryResponse"}}},"description":"Generation task information retrieved successfully"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error 4xx/5xx"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/wavespeed/api/v3/predictions/{prediction_id}/result":{"get":{"description":"Retrieve the status and result of a FlashVSR video upscaling task.\n\nPoll this endpoint until status is \"completed\" or \"failed\".\n\nStatus values:\n- `created` - Task has been created\n- `processing` - Task is being processed\n- `completed` - Task completed successfully, outputs array contains result URLs\n- `failed` - Task failed, check error field for details\n\nPrediction ownership (BE-16251): a prediction is readable only by the\nprincipal that submitted it. Once the ownership gate is enforcing, a\nprediction submitted by another principal — or unknown to Comfy —\nanswers 404, and one whose ownership could not be determined answers\n503 (`prediction ownership could not be verified; retry`), which is\nretryable where the 404 is not. The gate currently ships in `observe`\nmode, which counts those verdicts and still forwards the poll, so\nuntil it is flipped to `enforce` such a poll may still answer 200.\n","operationId":"WavespeedFlashVSRGetResult","parameters":[{"description":"The unique identifier of the prediction/task","in":"path","name":"prediction_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WavespeedTaskResultResponse"}}},"description":"Task result retrieved successfully"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Task not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get FlashVSR task result","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/wavespeed/api/v3/wavespeed-ai/flashvsr":{"post":{"description":"Submit a video for upscaling using WavespeedAI's FlashVSR model.\nFlashVSR is a fast, high-quality video upscaler that boosts resolution and restores clarity\nfor low-resolution or blurry footage.\n\nSupported target resolutions: 720p, 1080p, 2k, 4k\n\nMax clip length: up to 10 minutes\nProcessing speed: approximately 3-20 seconds of wall time to process 1 second of video\n\nReturns a task ID that can be used to poll for the result.\n","operationId":"WavespeedFlashVSRSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WavespeedFlashVSRRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WavespeedTaskResponse"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a FlashVSR video upscaling task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/wavespeed/api/v3/wavespeed-ai/seedvr2/image":{"post":{"description":"Upscale an image using WavespeedAI's SeedVR2 Image Upscaler.\nSeedVR2 boosts image resolution and quality, upscaling photos to 2K, 4K, or 8K\nfor sharp, detailed results.\n","operationId":"WavespeedSeedVR2ImageSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WavespeedSeedVR2ImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WavespeedTaskResponse"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a SeedVR2 image upscaling task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/wavespeed/api/v3/wavespeed-ai/ultimate-image-upscaler":{"post":{"description":"Upscale an image using WavespeedAI's Ultimate Image Upscaler.\nThe most advanced AI enhancer that reimagines fine detail while upscaling images to 2K, 4K, or 8K.\n","operationId":"WavespeedUltimateImageUpscalerSubmit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WavespeedSeedVR2ImageRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WavespeedTaskResponse"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit an Ultimate Image Upscaler task","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/xai/v1/images/edits":{"post":{"description":"Modify an existing image based on a text prompt using the Grok Imagine API.","operationId":"XaiImageEdit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIImageEditRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIImageGenerationResponse"}}},"description":"Image edited successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Edit images using xAI Grok Imagine","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/xai/v1/images/generations":{"post":{"description":"Generate one or more images from a text prompt using the Grok Imagine API.","operationId":"XaiImageGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIImageGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIImageGenerationResponse"}}},"description":"Images generated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate images using xAI Grok Imagine","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/xai/v1/videos/edits":{"post":{"description":"Edit an existing video based on a text prompt (video-to-video editing).\nVideo editing is asynchronous. Returns a request_id to poll for the completed video.\nInput video limit is 8 seconds. Audio will not be modified.\n","operationId":"XaiVideoEdit","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIVideoEditRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIVideoAsyncResponse"}}},"description":"Video editing job created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Edit videos using xAI Grok Imagine","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/xai/v1/videos/extensions":{"post":{"description":"Generate a seamless continuation of an existing video. You provide a source video and a text prompt\ndescribing what should happen next. The API produces a new video that extends naturally from the end\nof the input video.\nVideo extension is asynchronous. Returns a request_id to poll for the completed video.\n","operationId":"XaiVideoExtension","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIVideoExtensionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIVideoAsyncResponse"}}},"description":"Video extension job created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Extend videos using xAI Grok Imagine","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/xai/v1/videos/generations":{"post":{"description":"Generate a video from a text prompt (text-to-video), from an image with optional text (image-to-video),\nor from reference images with text (reference-to-video). The mode is determined by which optional fields\nare provided. Video generation is asynchronous. Returns a request_id to poll for the completed video.\n\nConflict rules: image + reference_images, video + reference_images, and image + video cannot be combined.\n","operationId":"XaiVideoGenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIVideoGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIVideoAsyncResponse"}}},"description":"Video generation job created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Generate videos using xAI Grok Imagine","tags":["API Nodes","Released"],"x-excluded":true}},"/proxy/xai/v1/videos/{request_id}":{"get":{"description":"Retrieve the result of a video generation or editing request.\nPoll this endpoint until the response includes a video object with the completed video URL.\n","operationId":"XaiVideoGetResult","parameters":[{"description":"The request ID returned by the video generation or editing endpoint","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIVideoResultResponse"}}},"description":"Video generation result"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIVideoResultResponse"}}},"description":"Video generation still pending"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XAIVideoErrorResponse"}}},"description":"Video generation failed (e.g. rejected by output moderation)"},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"404":{"description":"Request ID not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Get xAI video generation result","tags":["API Nodes","Released"],"x-excluded":true}},"/publishers":{"get":{"operationId":"ListPublishers","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Publisher"},"type":"array"}}},"description":"A list of publishers"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve all publishers","tags":["Registry"]},"post":{"operationId":"CreatePublisher","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Publisher"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Publisher"}}},"description":"Publisher created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Create a new publisher","tags":["Registry"]}},"/publishers/validate":{"get":{"description":"Checks if the publisher username is already taken.","operationId":"ValidatePublisher","parameters":[{"description":"The publisher username to validate.","in":"query","name":"username","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"isAvailable":{"description":"True if the username is available, false otherwise.","type":"boolean"}},"type":"object"}}},"description":"Username validation result"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid input, such as missing username in the query."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Validate if a publisher username is available","tags":["Registry"]}},"/publishers/{publisherId}":{"delete":{"operationId":"DeletePublisher","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Publisher deleted successfully"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Publisher not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Delete a publisher","tags":["Registry"]},"get":{"operationId":"GetPublisher","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Publisher"}}},"description":"Publisher retrieved successfully"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Publisher not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve a publisher by ID","tags":["Registry"]},"put":{"operationId":"UpdatePublisher","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Publisher"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Publisher"}}},"description":"Publisher updated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data"},"401":{"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Publisher not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Update a publisher","tags":["Registry"]}},"/publishers/{publisherId}/ban":{"post":{"operationId":"BanPublisher","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Publisher Banned Successfully"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Publisher not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Ban a publisher","tags":["Registry"],"x-excluded":true}},"/publishers/{publisherId}/nodes":{"get":{"description":"Returns at most the first 10 nodes for the publisher. This operation takes no pagination parameters and its response carries no total or page metadata, so a truncated result is indistinguishable from a complete one — including when the default excludes banned nodes from the list. Use listNodesForPublisherV2 for a complete, paginated listing.","operationId":"ListNodesForPublisher","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}},{"description":"Whether to include banned nodes in the results. Defaults to excluding them; pass true to include.","in":"query","name":"include_banned","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Node"},"type":"array"}}},"description":"List of all nodes"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve all nodes","tags":["Registry"]},"post":{"operationId":"CreateNode","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Node"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Node"}}},"description":"Node created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Create a new custom node","tags":["Registry"]}},"/publishers/{publisherId}/nodes/v2":{"get":{"operationId":"ListNodesForPublisherV2","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}},{"description":"Whether to include banned nodes in the results. Defaults to excluding them; pass true to include.","in":"query","name":"include_banned","schema":{"type":"boolean"}},{"description":"Page number of the nodes list","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"Number of nodes to return per page. Values above the declared maximum are outside the contract, but this service does not reject them: it serves the maximum instead, and the page size actually served is echoed back as limit (and drives totalPages), so a clamp is always detectable by the caller. Treat the maximum as the real page stride — a client that asks for more and assumes it received more will miss rows. 0 and negative values are also accepted and select the default, which is why no minimum is declared: sub-1 is meaningful here, not invalid.","in":"query","name":"limit","schema":{"default":10,"maximum":100,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"limit":{"description":"Maximum number of nodes per page","type":"integer"},"nodes":{"items":{"$ref":"#/components/schemas/Node"},"type":"array"},"page":{"description":"Current page number","type":"integer"},"total":{"description":"Total number of nodes available","type":"integer"},"totalPages":{"description":"Total number of pages available","type":"integer"}},"type":"object"}}},"description":"List of all nodes"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve all nodes","tags":["Registry"]}},"/publishers/{publisherId}/nodes/{nodeId}":{"delete":{"operationId":"DeleteNode","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}},{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Node deleted successfully"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Node not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Delete a specific node","tags":["Registry"]},"put":{"operationId":"UpdateNode","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}},{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Node"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Node"}}},"description":"Node updated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Node not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Update a specific node","tags":["Registry"]}},"/publishers/{publisherId}/nodes/{nodeId}/ban":{"post":{"operationId":"BanPublisherNode","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}},{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Node Banned Successfully"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Publisher or Node not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Ban a publisher's Node","tags":["Registry"],"x-excluded":true}},"/publishers/{publisherId}/nodes/{nodeId}/claim-my-node":{"post":{"description":"This endpoint allows a publisher to claim an unclaimed node that they own the repo, which is identified by the nodeId. The unclaimed node's repository must be owned by the authenticated user.\n","operationId":"ClaimMyNode","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}},{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimMyNodeRequest"}}},"required":true},"responses":{"204":{"description":"Node claimed successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data"},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden - various authorization and permission issues\nIncludes:\n- The authenticated user does not have permission to claim the node\n- The node is already claimed by another publisher\n- The GH_TOKEN is invalid\n- The repository is not owned by the authenticated GitHub user\n"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Too many requests - GitHub API rate limit exceeded"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Service unavailable - GitHub API is currently unavailable"}},"security":[{"BearerAuth":[]}],"summary":"Claim nodeId into publisherId for the authenticated publisher","tags":["Registry"]}},"/publishers/{publisherId}/nodes/{nodeId}/permissions":{"get":{"operationId":"GetPermissionOnPublisherNodes","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}},{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"canEdit":{"type":"boolean"}},"type":"object"}}},"description":"A list of permissions"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve permissions the user has for a given publisher","tags":["Registry"]}},"/publishers/{publisherId}/nodes/{nodeId}/versions":{"post":{"operationId":"PublishNodeVersion","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}},{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"node":{"$ref":"#/components/schemas/Node"},"node_version":{"$ref":"#/components/schemas/NodeVersion"},"personal_access_token":{"type":"string"}},"required":["node","node_version","personal_access_token"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"node_version":{"$ref":"#/components/schemas/NodeVersion"},"signedUrl":{"description":"The signed URL to upload the node version token.","type":"string"}},"type":"object"}}},"description":"New version published successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Publish a new version of a node","tags":["Registry"]}},"/publishers/{publisherId}/nodes/{nodeId}/versions/{versionId}":{"delete":{"operationId":"DeleteNodeVersion","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}},{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}},{"in":"path","name":"versionId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Version unpublished (deleted) successfully"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Version does not belong to the publisher"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Version not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Version not found"}},"security":[{"BearerAuth":[]}],"summary":"Unpublish (delete) a specific version of a node","tags":["Registry"]},"put":{"description":"Update only the changelog and deprecated status of a specific version of a node.","operationId":"UpdateNodeVersion","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}},{"in":"path","name":"nodeId","required":true,"schema":{"type":"string"}},{"in":"path","name":"versionId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeVersionUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeVersion"}}},"description":"Version updated successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Version not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Update changelog and deprecation status of a node version","tags":["Registry"]}},"/publishers/{publisherId}/permissions":{"get":{"operationId":"GetPermissionOnPublisher","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"canEdit":{"type":"boolean"}},"type":"object"}}},"description":"A list of permissions"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve permissions the user has for a given publisher","tags":["Registry"]}},"/publishers/{publisherId}/tokens":{"get":{"operationId":"ListPersonalAccessTokens","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PersonalAccessToken"},"type":"array"}}},"description":"List of all personal access tokens"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"No tokens found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Retrieve all personal access tokens for a publisher","tags":["Registry"],"x-excluded":true},"post":{"operationId":"CreatePersonalAccessToken","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalAccessToken"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"token":{"description":"The newly created personal access token.","type":"string"}},"type":"object"}}},"description":"Token created successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Create a new personal access token","tags":["Registry"]}},"/publishers/{publisherId}/tokens/{tokenId}":{"delete":{"operationId":"DeletePersonalAccessToken","parameters":[{"in":"path","name":"publisherId","required":true,"schema":{"type":"string"}},{"in":"path","name":"tokenId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Token deleted successfully"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Token not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"security":[{"BearerAuth":[]}],"summary":"Delete a specific personal access token","tags":["Registry"]}},"/releases":{"get":{"description":"Fetch release notes from Strapi with caching","operationId":"GetReleaseNotes","parameters":[{"description":"The project to get release notes for","in":"query","name":"project","required":true,"schema":{"enum":["comfyui","comfyui_frontend","desktop","cloud"],"type":"string"}},{"description":"The current version to filter release notes","in":"query","name":"current_version","schema":{"type":"string"}},{"description":"The locale for the release notes","in":"query","name":"locale","schema":{"default":"en","enum":["en","es","fr","ja","ko","ru","zh"],"type":"string"}},{"description":"The platform requesting the release notes","in":"query","name":"form_factor","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ReleaseNote"},"type":"array"}}},"description":"Release notes retrieved successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Get release notes","tags":["Releases"]},"post":{"description":"Webhook endpoint to process Github release events and generate release notes","operationId":"ProcessReleaseWebhook","parameters":[{"description":"The name of the event that triggered the delivery","in":"header","name":"X-GitHub-Event","required":true,"schema":{"enum":["release"],"type":"string"}},{"description":"A globally unique identifier (GUID) to identify the event","in":"header","name":"X-GitHub-Delivery","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The unique identifier of the webhook","in":"header","name":"X-GitHub-Hook-ID","required":true,"schema":{"type":"string"}},{"description":"HMAC hex digest of the request body using SHA-256 hash function","in":"header","name":"X-Hub-Signature-256","schema":{"type":"string"}},{"description":"The type of resource where the webhook was created","in":"header","name":"X-GitHub-Hook-Installation-Target-Type","schema":{"type":"string"}},{"description":"The unique identifier of the resource where the webhook was created","in":"header","name":"X-GitHub-Hook-Installation-Target-ID","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GithubReleaseWebhook"}}},"required":true},"responses":{"200":{"description":"Webhook processed successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Validation failed or endpoint has been spammed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Process Github release webhook","tags":["Releases"],"x-excluded":true}},"/security-scan":{"get":{"description":"Pull all pending node versions and conduct security scans.","operationId":"SecurityScan","parameters":[{"description":"Only consider node versions created longer ago than this. Filters on the node version's creation time. A Go duration string (e.g. `24h`, `30m`).","in":"query","name":"minAge","schema":{"type":"string"}},{"description":"Only consider node versions whose last security scan is older than this (or that have never been scanned). Filters on the last-scan time, not the creation time. A Go duration string (e.g. `24h`, `30m`).","in":"query","name":"minSecurityScanAge","schema":{"type":"string"}},{"in":"query","name":"maxNodes","schema":{"type":"integer"}},{"description":"Also re-scan versions already in the Flagged state. Off by default: Flagged is not exclusively scanner-set (AdminUpdateNodeVersion accepts it) and a clean re-scan promotes to Active unconditionally, so enabling this can overturn a human decision.","in":"query","name":"rescanFlagged","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Scan completed successfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data."},"401":{"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Security Scan","tags":["Registry"],"x-excluded":true}},"/seedance/complete":{"get":{"description":"Browser-facing landing page that BytePlus redirects the end user to after H5 liveness is complete. Logs the callback parameters and returns plain HTML the user sees in their browser. Client polls seedanceGetVisualValidateSession to observe the actual result.\n","operationId":"SeedanceVisualValidateCallback","parameters":[{"in":"query","name":"bytedToken","required":true,"schema":{"type":"string"}},{"in":"query","name":"resultCode","required":true,"schema":{"type":"string"}},{"in":"query","name":"algorithmBaseRespCode","schema":{"type":"string"}},{"in":"query","name":"reqMeasureInfoValue","schema":{"type":"string"}},{"in":"query","name":"verify_type","schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html":{"schema":{"type":"string"}}},"description":"Landing page shown to the user's browser"}},"security":[],"summary":"BytePlus real-person verification callback landing page","tags":["API Nodes","Released"],"x-excluded":true}},"/upload-artifact":{"post":{"description":"Receive artifacts (output files) from the ComfyUI GitHub Action","operationId":"PostUploadArtifact","requestBody":{"content":{"application/json":{"schema":{"properties":{"author":{"description":"The author of the commit","type":"string"},"avg_vram":{"description":"The average amount of VRAM used in the run.","type":"integer"},"branch_name":{"type":"string"},"bucket_name":{"description":"The name of the bucket where the output files are stored","type":"string"},"comfy_logs_gcs_path":{"description":"The path to ComfyUI logs. eg. gs://bucket-name/logs","type":"string"},"comfy_run_flags":{"description":"The flags used in the comfy run","type":"string"},"commit_hash":{"type":"string"},"commit_message":{"description":"The commit message","type":"string"},"commit_time":{"description":"The time of the commit in the format of \"YYYY-MM-DDTHH:MM:SSZ\" (2016-10-10T00:00:00Z)","type":"string"},"cuda_version":{"description":"Cuda version.","type":"string"},"end_time":{"description":"The end time of the job as a Unix timestamp.","format":"int64","type":"integer"},"job_id":{"description":"Unique identifier for the job","type":"string"},"job_trigger_user":{"description":"The user who triggered the job","type":"string"},"machine_stats":{"$ref":"#/components/schemas/MachineStats"},"os":{"description":"Operating system used in the run","type":"string"},"output_files_gcs_paths":{"description":"A comma separated string that contains GCS path(s) to output files. eg. gs://bucket-name/output, gs://bucket-name/output2","type":"string"},"peak_vram":{"description":"The peak amount of VRAM used in the run.","type":"integer"},"pr_number":{"description":"The pull request number","type":"string"},"python_version":{"description":"The python version used in the run","type":"string"},"pytorch_version":{"description":"The pytorch version used in the run","type":"string"},"repo":{"description":"Repository name","type":"string"},"run_id":{"description":"Unique identifier for the run","type":"string"},"start_time":{"description":"The start time of the job as a Unix timestamp.","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/WorkflowRunStatus"},"workflow_name":{"description":"The name of the workflow","type":"string"}},"required":["repo","job_id","run_id","os","commit_hash","commit_time","commit_message","branch_name","workflow_name","start_time","end_time","pr_number","python_version","job_trigger_user","author","status"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"type":"object"}}},"description":"Successfully received the artifact details"},"400":{"description":"Invalid request"},"500":{"description":"Internal server error"}},"summary":"Receive artifacts (output files) from the ComfyUI GitHub Action","tags":["ComfyUI CI"],"x-excluded":true}},"/users":{"get":{"operationId":"GetUser","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}},"description":"OK"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"}},"security":[{"BearerAuth":[]}],"summary":"Get information about the calling user.","tags":["Registry"]}},"/users/publishers/":{"get":{"operationId":"ListPublishersForUser","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Publisher"},"type":"array"}}},"description":"A list of publishers"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request, invalid input data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve all publishers for a given user","tags":["Registry"]}},"/v2/models":{"get":{"description":"Comfy Router's model catalog - one page of the canonical model IDs Comfy Router serves. An entry without a `realtime` block is a model that `POST /v2/models/{provider}/{model}` runs. An SDK calls this on cold start to discover what is runnable, and the `model_not_found` suggestions come from the same catalog, so an ID listed here that then 404s on invocation would be worse than either failure alone. That agreement is structural rather than a promise: an entry's `provider` and `model` are the two path segments of the invocation route and reference the same schema components that route's path parameters do, and `id` is those two segments joined by `/`.\nAn entry WITH a `realtime` block is a realtime model: it is not run through `POST /v2/models/{provider}/{model}`, which refuses its id with `model_not_found`. Open a session at the block's `connect_url` instead. A realtime model is listed only while its session route is serving it in this environment.\nPagination is CURSOR-based, deliberately not offset-based. The catalog is a moving list - models are added, and embargoed, between calls - and an offset walk silently skips or repeats entries when the list changes underneath it. Pass a page's `next_cursor` back as `cursor` to fetch the next page, and stop when `has_more` is false rather than when a page comes back short. A cursor is opaque: it is not an offset, not a model ID, and not stable across catalog rebuilds, so a cursor that is malformed or no longer valid is answered with a `400` from the Router error contract (`error_type: invalid_input`), never a `500`.\nA model that is deployed but NOT yet released is EXCLUDED from every page. This is a requirement of this route specifically, not something it inherits: `PartnerModelEmbargoMiddleware` gates `/proxy/*` only, and only methods that can carry a body, so a bodyless `GET` outside `/proxy/` is outside the embargo gate on both axes. Confirming that a specific unreleased model exists is precisely the disclosure `modelembargo` was built to prevent, and a catalog is the most direct way to make that confirmation - so the handler must filter the embargo set out of the page itself. An excluded model is simply absent: the catalog does not mark it, does not reserve a slot for it, and `has_more`/`limit` describe the page AFTER exclusion, so the omission is not inferable from a short page either.\nPer-model detail and the per-model input/output schemas are separate routes; this one carries only the identity of each model.\nA page is cacheable by the caller. It carries a strong `ETag` over the page bytes and honours `If-None-Match` with a `304`, so a client that re-reads the catalog pays for a page only when it changed.","operationId":"ListRouterModels","parameters":[{"$ref":"#/components/parameters/RouterCatalogCursor"},{"$ref":"#/components/parameters/RouterCatalogLimit"},{"description":"The `ETag` a caller holds from an earlier `200`. When it matches the current page (RFC 9110 weak comparison; `*` matches any current page) the answer is a bodyless `304` carrying the same `ETag`, otherwise the full page.","in":"header","name":"If-None-Match","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterModelListResponse"}}},"description":"OK - one page of the model catalog.","headers":{"Cache-Control":{"$ref":"#/components/headers/RouterCatalogCacheControlHeader"},"ETag":{"$ref":"#/components/headers/RouterCatalogETagHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"304":{"description":"Not Modified - the page is unchanged since the `ETag` the caller sent in `If-None-Match`. No body is returned.","headers":{"Cache-Control":{"$ref":"#/components/headers/RouterCatalogCacheControlHeader"},"ETag":{"$ref":"#/components/headers/RouterCatalogETagHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"400":{"$ref":"#/components/responses/RouterRequestError"},"401":{"$ref":"#/components/responses/RouterRequestError"},"403":{"$ref":"#/components/responses/RouterRequestError"},"429":{"$ref":"#/components/responses/RouterRateLimited"},"503":{"$ref":"#/components/responses/RouterRequestError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"List the models Comfy Router can run.","tags":["Comfy Router"]}},"/v2/models/{provider}/{model}":{"get":{"description":"Per-model detail for a single Comfy Router model, so a caller can check one model without walking the whole paginated catalog. The SDKs use it to look a model up immediately before invoking it.\nThe path is the SAME canonical model ID that `post` above invokes, on the same path template: one string addresses both routes, so there is no second ID alphabet to keep in step. `provider` and `model` are governed by the same `RouterProvider` / `RouterModel` parameters, with the same alphabet. That template is TWO segments; a catalog `id` carrying a third `variant` segment addresses neither route, because how a variant is addressed over HTTP is not settled by this contract (see `RouterProvider` and `RouterModelListEntry.id`).\nThe `200` body is a SUPERSET of the entry `GET /v2/models` returns for the same model: `RouterModelDetail` composes the list entry `RouterModelListEntry` by reference rather than restating its fields, so the listing and the detail cannot drift into two shapes for one model.\nAn ID that resolves to no model returns `404` with `error_type: model_not_found` - the same Router-owned body, the same bucket on `X-Comfy-Error-Type`, and the same fuzzy `detail` suggestions the invocation route returns for that ID. Both routes resolve through one catalog, so they cannot disagree about the same typo. Those suggestions are drawn from the models the CALLER is entitled to see: a miss on an unauthenticated or unentitled ID must not name models the caller could not otherwise enumerate. This is a requirement on the handler story (see `drip/codegen.yaml`), not something this contract can enforce.\nThe read sits behind the SAME enablement gate as `post` above, consulted before the catalog is touched: a caller Comfy Router is not switched on for gets `403` with `error_type: not_enabled` and learns nothing about which models exist - not even through a `404`'s suggestions - and a gate that could not be evaluated answers `503` with `error_type: service_unavailable`. Both carry the Router-owned body and the bucket on `X-Comfy-Error-Type`, exactly as on `post`.\nThe entry is cacheable by the caller. It carries a strong `ETag` over the entry bytes and honours `If-None-Match` with a `304`.\nThis operation is deliberately tagged `Comfy Router` and NOT `API Nodes`, for the reason given on `post` above.","operationId":"GetRouterModel","parameters":[{"$ref":"#/components/parameters/RouterProvider"},{"$ref":"#/components/parameters/RouterModel"},{"description":"The `ETag` a caller holds from an earlier `200`. When it matches the current entry (RFC 9110 weak comparison; `*` matches any current entry) the answer is a bodyless `304` carrying the same `ETag`, otherwise the full entry.","in":"header","name":"If-None-Match","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterModelDetail"}}},"description":"OK - the model's catalog entry.","headers":{"Cache-Control":{"$ref":"#/components/headers/RouterCatalogCacheControlHeader"},"ETag":{"$ref":"#/components/headers/RouterCatalogETagHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"304":{"description":"Not Modified - the entry is unchanged since the `ETag` the caller sent in `If-None-Match`. No body is returned.","headers":{"Cache-Control":{"$ref":"#/components/headers/RouterCatalogCacheControlHeader"},"ETag":{"$ref":"#/components/headers/RouterCatalogETagHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"401":{"$ref":"#/components/responses/RouterRequestError"},"403":{"$ref":"#/components/responses/RouterRequestError"},"404":{"$ref":"#/components/responses/RouterRequestError"},"429":{"$ref":"#/components/responses/RouterRateLimited"},"503":{"$ref":"#/components/responses/RouterRequestError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Read one partner model's catalog entry by canonical model ID.","tags":["Comfy Router"]},"post":{"description":"Comfy Router's canonical, model-ID-addressed entry point. The request body is the partner model's own native JSON input and the success response is that model's own native output — JSON for most models, but the partner's raw bytes (for example `audio/mpeg` for a text-to-speech model) for a model whose partner answers with a binary body: Router forwards both without imposing a Comfy-shaped envelope, so for most models a caller can move between the partner's API and Router by changing the host. The exception is a model whose partner operation takes an identifier in its request path: Router has the caller name it as a top-level body field and moves it into the partner path, so that request needs that one adaptation. This is the synchronous path: the response carries the finished result.\nThe path addresses a model by the canonical `{provider}/{model}` model ID. Both segments are lowercase. A third `variant` segment is RESERVED rather than part of the canonical ID: how a variant is addressed is not settled by this contract, so no published `pattern` accepts one.\nFor a model whose partner API names the model in the request body, Router sets that field to the path's model; a body that names a different model is refused with `invalid_input`.\nThe mirror of that also exists, for a model whose partner operation needs an identifier the two-segment model ID cannot carry: the caller names it as a top-level field of the request body, and Router moves it into the partner request PATH and removes it from the forwarded body, because the partner's own input schema does not declare it. `elevenlabs/eleven_multilingual_v2` is the first such model — it requires a top-level `voice_id`, which must be ASCII letters and digits only (A-Z, a-z, 0-9) and at most 64 characters. A body that omits it, names it twice, gives it a value that is not a string, gives it a value outside that alphabet, or gives it a value longer than 64 characters is refused with `invalid_input` before anything is dispatched or charged.\nRouter serves image results as re-hosted URLs on Comfy storage, so for an image model it OWNS the partner's `response_format` on the outbound request and coerces it to `url`. The field is still accepted for compatibility with the `/proxy/` surface and is not an error, but it does not select what a successful response carries: a `b64_json` request and a `url` request are answered identically, with URLs. Where an individual image cannot be re-hosted, its entry keeps xAI's own short-lived URL rather than a Comfy one — see the model's output schema. Naming the field twice in one body is refused with `invalid_input`, because which spelling the partner would read is not defined. An out-of-enum value is REFUSED rather than coerced, on this Router dispatch and on the `/proxy/` image routes alike; only the shape of the refusal differs. Here it is the per-field `422` pre-provider validation writes, because the input schema this surface publishes is the one it enforces. The `/proxy/` image routes coerce the field the same way rather than honouring it as written, and they refuse an out-of-enum value with a `400` at ingress.\nThis operation is deliberately tagged `Comfy Router` and NOT `API Nodes`. The `API Nodes` tag drives ComfyUI's Partner-Node Pydantic codegen, so reusing it here would couple the Router contract to that generator.","operationId":"RunRouterModel","parameters":[{"$ref":"#/components/parameters/RouterProvider"},{"$ref":"#/components/parameters/RouterModel"},{"$ref":"#/components/parameters/RouterIdempotencyKey"},{"$ref":"#/components/parameters/ModelProvider"},{"$ref":"#/components/parameters/StrictMode"},{"$ref":"#/components/parameters/FallbackProvider"},{"$ref":"#/components/parameters/RejectUnknownFields"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterModelInput"}}},"description":"The partner model's native JSON input. Without `model_provider` this body is the model's own native schema, and the caller's `strict_mode` changes nothing when the model's own provider serves the call; when Comfy Router itself routes such a call to another provider, Router translates the body for that provider and how `strict_mode` applies there is not part of this contract. With `model_provider` selecting an alternate provider and `strict_mode=false` (the default), the body is translated into that provider's real schema before it is sent - any native field that cannot be expressed exactly is dropped and disclosed via the response's `X-Comfy-Router-Dropped-Params` header, never silently. With `model_provider` selecting an alternate provider and `strict_mode=true` no translation runs: the body must already be that alternate provider's own real schema, not this model's native one (see `strict_mode`), and is forwarded unchanged. The body's own fields also select which operation Router runs on a model that supports more than one: for an editable image model, including an input image switches it from text-to-image to the image-to-image (edit) operation, which may be metered on its own rate; for a Seedance video model, `content[].role` selects the operation (a first-frame image selects image-to-video, a reference image or clip selects reference-to-video). When the model's own provider serves the call, Seedance billing follows the media kinds in `content`, not the roles: a request with any video input bills as video-to-video, otherwise one with any image bills as image-to-video, otherwise text-to-video, except that a final render from a `draft_task` item bills as the operation of the Draft it renders; some models charge the same rate for text-to-video and image-to-video. With `model_provider` selecting an alternate provider, or when Comfy Router serves the call on another provider, each conditioned operation may be metered on that provider's own rate.","required":true},"responses":{"200":{"content":{"*/*":{"schema":{"format":"binary","type":"string"}},"application/json":{"schema":{"$ref":"#/components/schemas/RouterModelOutput"}},"text/event-stream":{"schema":{"type":"string"}}},"description":"OK - without `model_provider`, or with `model_provider` and `strict_mode=false` (the default, translated back into this model's native contract when possible, falling back to the alternate provider's own raw response on a translation failure - logged, never silent), the shape is this model's own native output; with `strict_mode=true` it is the alternate provider's response returned unchanged. For most models that is JSON (`RouterModelOutput`); for a model whose partner answers a generation directly as bytes - the ElevenLabs audio models are the first in the catalog - it is those bytes, and the response carries the partner's own `Content-Type` (`audio/mpeg`, `audio/wav`, ...) rather than `application/json`. A client must branch on the response `Content-Type` and must not assume a JSON document; the per-model contract is published at `GET /v2/models/{provider}/{model}/openapi.json`. This response carries `X-Content-Type-Options: nosniff`, so a partner media type is taken at its word and never sniffed into something else. When this response was replayed from the record held against an `Idempotency-Key` rather than produced by running the model again, it carries `Idempotent-Replayed: true` and is not charged a second time. For a model enrolled in stream-direct, a request with `stream: true` may be answered as `text/event-stream` (the provider's own event stream) while that serving mode is enabled; otherwise `stream` is settled to false and the response is a single document.","headers":{"Idempotent-Replayed":{"$ref":"#/components/headers/RouterIdempotentReplayedHeader"},"X-Comfy-Credits-Used":{"$ref":"#/components/headers/RouterCreditsUsedHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"},"X-Comfy-Router-Dropped-Params":{"$ref":"#/components/headers/RouterDroppedParamsHeader"},"X-Comfy-Router-Fallback-Provider":{"$ref":"#/components/headers/RouterFallbackProviderHeader"},"X-Comfy-Router-Provider":{"$ref":"#/components/headers/RouterProviderHeader"},"X-Committed-Spend-Current":{"$ref":"#/components/headers/CommittedSpendCurrentHeader"},"X-Committed-Spend-Limit":{"$ref":"#/components/headers/CommittedSpendLimitHeader"},"X-Committed-Spend-Remaining":{"$ref":"#/components/headers/CommittedSpendRemainingHeader"},"X-Content-Type-Options":{"$ref":"#/components/headers/RouterNoSniffHeader"}}},"400":{"$ref":"#/components/responses/RouterRunRequestError"},"401":{"$ref":"#/components/responses/RouterRequestError"},"402":{"$ref":"#/components/responses/RouterRequestError"},"403":{"$ref":"#/components/responses/RouterRequestError"},"404":{"$ref":"#/components/responses/RouterRequestError"},"409":{"$ref":"#/components/responses/RouterIdempotencyConflict"},"413":{"$ref":"#/components/responses/RouterRequestError"},"422":{"$ref":"#/components/responses/RouterModelValidationError"},"429":{"$ref":"#/components/responses/RouterConcurrencyLimited"},"502":{"$ref":"#/components/responses/RouterProviderError"},"503":{"$ref":"#/components/responses/RouterRequestUnavailable"},"504":{"$ref":"#/components/responses/RouterDeadlineExceeded"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Run a partner model synchronously by canonical model ID.","tags":["Comfy Router"]}},"/v2/models/{provider}/{model}/estimate":{"post":{"description":"Returns a pre-flight estimate, in US dollars, of what running this body on this model will cost, priced at Comfy's standard list price (a model billed the cost its vendor reports is estimated from the vendor's published price list instead). It does not reflect contract or customer-specific rates: a workspace with negotiated pricing is quoted the list price and charged its contract rate, and `source: exact` then means exact at list price, not that workspace's charge. It is an estimate, not the final charge: the settled charge in your workspace's usage and billing records is what you pay. The body is validated against the model's input schema first, as a default run (no `strict_mode`, no `reject_unknown_fields`) validates it, so a body that fails the model's schema is the same `422` here as on the run; nothing is dispatched to a provider and nothing is charged. The answer is not a price lock: it is priced at the rates in force at `pricing_as_of`, and a run is charged at the rates in force when it is rated. If estimates are switched off for a deployment the route answers `403` with `error_type: not_enabled`; a model Router cannot run yet answers the same `403` with the run route's own `detail`, so read `detail` to tell the two apart. The body is priced as Router would dispatch it: translated for the `model_provider` leg it names and retargeted to the operation it runs on, in the same order as the `estimate` on the queued submit's `201`. That `estimate` is not a pre-flight price, though: it arrives only after the run is admitted and queued, and that run is charged unless it is cancelled before dispatch.\n`source` says how much to trust the figure. `exact` carries `amount`; `estimated` carries `min_amount` and `max_amount` and no `amount`; `unknown` carries neither and a `reason`. Never read an absent `amount` as free.\nThe figure is the platform charge. A run Comfy does not bill because it uses your own provider key (BYOK) is not quoted as such here.\nA `model_provider` request is quoted for the named alternate provider's leg, with the same refusals the run route applies to it. `fallback_provider` and `strict_mode` are not accepted: a synchronous run whose fallback retry lands on another provider is charged at that provider's own rate, which this estimate did not quote, and `X-Comfy-Router-Fallback-Provider` on the run's response is how a caller detects that it happened. `Idempotency-Key` is ignored on this route: an estimate never reserves or replays a key, so the same key can be sent on the run that follows.\nThis operation is deliberately tagged `Comfy Router` and not `API Nodes`, for the reason given on the synchronous route.","operationId":"EstimateRouterModelCost","parameters":[{"$ref":"#/components/parameters/RouterProvider"},{"$ref":"#/components/parameters/RouterModel"},{"$ref":"#/components/parameters/ModelProvider"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterModelInput"}}},"description":"The partner model's native JSON input, identical to the body the synchronous route accepts for this model. It is validated against the model's own input schema as a default run validates it (this route takes no `strict_mode` or `reject_unknown_fields`), and its own fields (the output count, the operation an input image selects) decide what is priced.","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterCostEstimate"}}},"description":"The quote. Read `source` before reading any amount: only `exact` and `free` carry `amount` (`free` as \"0\"), and an `unknown` quote carries a `reason` instead of a figure.","headers":{"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"400":{"$ref":"#/components/responses/RouterRequestError"},"401":{"$ref":"#/components/responses/RouterRequestError"},"403":{"$ref":"#/components/responses/RouterRequestError"},"404":{"$ref":"#/components/responses/RouterRequestError"},"413":{"$ref":"#/components/responses/RouterRequestError"},"422":{"$ref":"#/components/responses/RouterEstimateValidationError"},"429":{"$ref":"#/components/responses/RouterRateLimited"},"503":{"$ref":"#/components/responses/RouterRequestUnavailable"},"504":{"$ref":"#/components/responses/RouterRequestError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Price a model call before running it, without running it.","tags":["Comfy Router"]}},"/v2/models/{provider}/{model}/openapi.json":{"get":{"description":"The per-model input and output schemas for a single Comfy Router model, served as a standalone OpenAPI document, so a caller - an SDK, a codegen tool, or an agent - can discover a model's arguments, and the shape of what it returns, without reading Comfy's prose docs. It is the discovery mechanism the SDK quickstart depends on.\nThe INPUT schema served is the SAME source the server validates a call against before the request reaches the provider. That is the property that makes it worth trusting: what Comfy publishes and what Comfy enforces are one document, not two copies that drift. Both read the schema through a single accessor (`routerschema.Source.InputSchema`), so they cannot diverge without deleting it.\nThe path prefix is the SAME canonical `{provider}/{model}` model ID that `POST /v2/models/{provider}/{model}` invokes, with `/openapi.json` appended - a caller reads an ID out of the catalog, appends one literal segment, and gets that model's schema. `provider` and `model` are governed by the same `RouterProvider` / `RouterModel` parameters, with the same alphabet.\nOne constraint this puts on the still-unsettled `{variant}` segment: `openapi.json` is itself a legal value under the `RouterModel` alphabet, so whatever spelling addresses a variant must not make `/v2/models/{provider}/{model}/openapi.json` ambiguous with a variant literally named `openapi.json`. Reserving that one literal is the cheapest resolution, and it is noted here rather than resolved, because how the variant segment is addressed is not settled by this contract.\nBOTH halves are described: the request body under the operation's `requestBody`, and the response body under its `200`. They do NOT promise the same thing, and the served document says which is which in its own `info.description`. The INPUT schema is ENFORCED - it is the schema the server validates against - so what is published and what is enforced cannot differ. The OUTPUT schema is DESCRIPTIVE: Router returns the provider's native result document exactly as it arrived, and never validates, narrows or re-envelopes it, so the output schema describes what the provider sends rather than constraining it. Comfy owns no output shape of its own.\nA model whose OUTPUT Comfy has not described yet is served a permissive output alongside whatever its input half is, flagged `x-comfy-output-schema-authored: false`. The two authored flags are independent: an authored input with an undescribed output is the ordinary state, and a caller must read each flag rather than either one for both.\nA model whose schema has not been authored yet is served a MINIMAL PERMISSIVE document with `200`, NOT a `404`: the model exists, `GET /v2/models/{provider}/{model}` reports it and `POST` runs it, so 404 here would have two Router routes disagreeing about whether the same model exists. The permissive document says the true thing instead - this model takes a JSON object and Comfy has not yet narrowed which fields - and flags itself with `x-comfy-input-schema-authored: false` so a caller can tell \"unconstrained\" from \"constrained to an open object\". A `404` on this route means only what it means everywhere else in Router: `model_not_found`, the ID names nothing.\nThe response is cacheable. It carries a strong `ETag` over the document bytes and honours `If-None-Match` with a `304`, because an SDK re-fetches this document far more often than the document changes.\nThis operation is deliberately tagged `Comfy Router` and NOT `API Nodes`, for the reason given on the invocation route.","operationId":"GetRouterModelInputSchema","parameters":[{"$ref":"#/components/parameters/RouterProvider"},{"$ref":"#/components/parameters/RouterModel"},{"description":"The `ETag` a caller holds from an earlier `200`. When it matches the current document (RFC 9110 weak comparison; `*` matches any current document) the answer is a bodyless `304` carrying the same `ETag`, otherwise the full document.","in":"header","name":"If-None-Match","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterModelInputSchemaDocument"}}},"description":"OK - the model's input and output schemas, as a standalone OpenAPI document.","headers":{"Cache-Control":{"$ref":"#/components/headers/RouterSchemaCacheControlHeader"},"ETag":{"$ref":"#/components/headers/RouterSchemaETagHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"304":{"description":"Not Modified - the document is unchanged since the `ETag` the caller sent in `If-None-Match`. No body is returned.","headers":{"Cache-Control":{"$ref":"#/components/headers/RouterSchemaCacheControlHeader"},"ETag":{"$ref":"#/components/headers/RouterSchemaETagHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"401":{"$ref":"#/components/responses/RouterRequestError"},"403":{"$ref":"#/components/responses/RouterRequestError"},"404":{"$ref":"#/components/responses/RouterRequestError"},"429":{"$ref":"#/components/responses/RouterRateLimited"},"500":{"$ref":"#/components/responses/RouterRequestError"},"503":{"$ref":"#/components/responses/RouterRequestError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Read one partner model's input and output schemas as an OpenAPI document.","tags":["Comfy Router"]}},"/v2/models/{provider}/{model}/requests":{"post":{"description":"Comfy Router's queued delivery mode. The request body is the same partner-native JSON input `POST /v2/models/{provider}/{model}` accepts for this model - one body shape, one per-model schema, two delivery modes - but this route does not hold the connection for the result. It admits the run, answers `201` with a handle, and the caller collects the result later through the three reads below.\nChoose it over the synchronous route when the model's generations outlast a connection Comfy is willing to hold, or when the caller has no thread to spare waiting. Everything else about the call is identical: the same model ID, the same input schema, the same enablement gate, the same entitlement and funds checks, and the same charge on completion.\nONE CREDENTIAL REQUIREMENT IS NOT SHARED WITH THE SYNCHRONOUS ROUTE. The queue is scoped per workspace, so this route and the three reads below need a credential that is attached to a Comfy workspace: a workspace-scoped Cloud token, or an API key the platform resolves to a workspace. A credential that carries no workspace - a plain Firebase token, or some API keys on a workspace still on the legacy billing rail - is refused with `403` `not_enabled` and a `detail` that says the credential is the cause, distinct from the rollout refusal. The synchronous route accepts that credential. When the platform could not reach the service that resolves an API key's workspace, the workspace is unknown rather than absent, and the answer is a retryable `503` `service_unavailable` instead. On this route the credential check comes before the funds check: a caller whose credential carries no workspace gets the `403`, not a `402` `insufficient_credits`, whatever their balance, because adding credits would not change the answer.\nThe `201` carries `request_id` and the three URLs that address the rest of this request's lifetime, so a client never has to compose a queue URL itself. It also carries `queue_position` as a courtesy at admission time; it is a snapshot, not a promise, and the status read below is where a client watches it move.\n`request_id` IS NOT `X-Comfy-Request-Id` - not on a first submit and not on any other response. They are two identifiers with two jobs. `request_id` is the DURABLE handle for the queued request, minted with the row and unchanged for its whole life. `X-Comfy-Request-Id` is the id of the individual HTTP CALL: the server mints one per call and re-asserts it when the response commits, so it is one value on this submit, a different one on each poll, and a different one again on the cancel.\nREAD THE HANDLE FROM THE BODY. A client that keeps only the header polls a request that does not exist. The three URLs above already embed the handle, so a client that follows them never has to hold either id by hand.\nAN IDEMPOTENT REPLAY CHANGES NOTHING ABOUT THAT; it is worth spelling out only because it is where the mistake is loudest. `RouterIdempotencyMiddleware` replays the recorded body but not the recorded request id: its replay allowlist enumerates response headers deliberately and excludes per-request ones, so a replayed call still gets an id of its own. A replayed submit therefore returns the ORIGINAL handle in `request_id` and, exactly as on every other response, this call's own id in the header. `Idempotent-Replayed: true` marks exactly those responses.\nSo `request_id` is authoritative on every response. Keep the body field.\nThis operation is deliberately tagged `Comfy Router` and NOT `API Nodes`, for the reason given on the synchronous route.","operationId":"SubmitRouterModelRequest","parameters":[{"$ref":"#/components/parameters/RouterProvider"},{"$ref":"#/components/parameters/RouterModel"},{"$ref":"#/components/parameters/ModelProvider"},{"$ref":"#/components/parameters/StrictMode"},{"$ref":"#/components/parameters/RouterIdempotencyKey"},{"$ref":"#/components/parameters/RejectUnknownFields"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterModelInput"}}},"description":"The partner model's native JSON input, identical to the body the synchronous route accepts for this model, and it selects the operation and is metered the same way: the body's own fields choose which operation Router runs on a model that supports more than one (an input image switches an editable image model to image-to-image, which may be metered on its own rate; a Seedance first-frame image selects image-to-video and a reference image or clip selects reference-to-video). When the model's own provider serves the call a Seedance request bills by the media kinds in `content`, not the roles: any video input bills as video-to-video, otherwise any image bills as image-to-video, otherwise text-to-video, except that a final render from a `draft_task` item bills as the operation of the Draft it renders, with some models charging the same rate for text-to-video and image-to-video; with `model_provider` selecting an alternate provider, or when Comfy Router serves the call on another provider, each conditioned operation may be metered on that provider's own rate. The same provider-selection contract applies at dispatch: without `model_provider`, or with `model_provider` and `strict_mode=false` (the default), the body is the model's native document and is validated against the model's own input schema before the run is admitted, so a body the model would reject is a `422` here rather than a queued request that fails minutes later - a non-strict alternate-provider body is additionally translated into that provider's real schema at dispatch. With `strict_mode=true` the body must already be the alternate provider's own schema and is forwarded unchanged: native-schema validation is skipped, exactly as on the synchronous route (see `model_provider` and `strict_mode`).","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterQueueSubmitResponse"}}},"description":"Created - the run was admitted to the queue. The body is the handle: the `request_id`, `status: IN_QUEUE`, a `queue_position` snapshot, and the `status_url`, `response_url` and `cancel_url` that address the rest of this request's lifetime. It is deliberately `201` and not `202`: a queued request is a resource this call created and the three URLs address it, whereas the `202` on the result read below means \"not ready yet, ask again\" and creates nothing.","headers":{"Idempotent-Replayed":{"$ref":"#/components/headers/RouterIdempotentReplayedHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"},"X-Comfy-Router-Dropped-Params":{"$ref":"#/components/headers/RouterDroppedParamsHeader"}}},"400":{"$ref":"#/components/responses/RouterRequestError"},"401":{"$ref":"#/components/responses/RouterRequestError"},"402":{"$ref":"#/components/responses/RouterRequestError"},"403":{"$ref":"#/components/responses/RouterQueueSubmitForbidden"},"404":{"$ref":"#/components/responses/RouterRequestError"},"409":{"$ref":"#/components/responses/RouterIdempotencyConflict"},"413":{"$ref":"#/components/responses/RouterRequestError"},"422":{"$ref":"#/components/responses/RouterModelValidationError"},"429":{"$ref":"#/components/responses/RouterQueueSubmitTooManyRequests"},"503":{"$ref":"#/components/responses/RouterRequestUnavailable"},"504":{"$ref":"#/components/responses/RouterRequestError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Submit a partner model run to the queue and return immediately.","tags":["Comfy Router"]}},"/v2/models/{provider}/{model}/requests/{request_id}":{"get":{"description":"The collect endpoint. On a request that has finished successfully it returns the partner model's own native output, byte for byte what the synchronous route's `200` carries for the same model and the same input - so the two delivery modes produce one result shape and a caller can move between them without a second parser.\nWHILE THE REQUEST IS STILL RUNNING this returns `202` carrying the SAME `RouterQueueStatusResponse` body the status read returns, with the same `Retry-After` hint. A client that only ever wants the result can therefore poll this one URL and branch on the status code, and never call the status read at all; a client that wants to watch progress without pulling the output down uses the status read. Both are supported deliberately, and they cannot disagree, because the `202` body IS the status body.\nA REQUEST THAT FINISHED WITH A FAILURE - a provider error, a policy refusal, a cancellation the caller asked for - is returned in Router's request-level error envelope, `RouterErrorResponse`, under the status the synchronous route would have answered for that same failure, with the coarse bucket repeated on `X-Comfy-Error-Type`. That is the `default` response below. Collecting a failure is not itself an error in the read: the read worked, and what it found was a failed run. A client that wants the terminal state WITHOUT this branch reads the status endpoint, where the same run is `COMPLETED` with an `error_type` and no status code carries the failure.\nWITH ONE EXCEPTION, AND IT IS ABOUT THE CHARGE RATHER THAN ABOUT THE CANCELLATION. The rule this route applies is \"a recorded charge and a stored result\", not \"the cancel arrived late\": when a terminal request carries BOTH, this route answers `200` with that result whatever terminal reason the request carries, because the caller has already paid for it. A cancellation the caller was charged nothing for is answered by the error envelope exactly as above, whether it arrived before the partner call or while one was in flight - a cancellation is not itself billable, so a run cancelled before its charge was metered stays unbilled AND unreadable, which is the pairing that leaves the caller whole. The STATUS read is unchanged either way: the run is `COMPLETED` with `error_type: cancelled`, so a client that needs to know a result was cancelled-but-delivered reads it there.\nA RESULT DOES NOT LIVE FOREVER. Once its retention window has passed the read is `410`, permanently and for that id alone: the request really did exist and really did produce this answer, and saying so is materially different from `404`, which would tell a caller their id was never valid and send them to re-submit a generation they have already paid for.\nThis operation is deliberately tagged `Comfy Router` and NOT `API Nodes`, for the reason given on the synchronous route.","operationId":"GetRouterModelRequestResult","parameters":[{"$ref":"#/components/parameters/RouterProvider"},{"$ref":"#/components/parameters/RouterModel"},{"$ref":"#/components/parameters/RouterQueueRequestId"}],"responses":{"200":{"content":{"*/*":{"schema":{"format":"binary","type":"string"}},"application/json":{"schema":{"$ref":"#/components/schemas/RouterModelOutput"}}},"description":"OK - the result stored for a request that produced one - a request that completed successfully, or a terminal one that carries both a recorded charge and a stored result - returned unchanged under the partner's own media type, exactly as the synchronous route's `200` returns it, and under the same provider-selection contract the submit accepted: without `model_provider`, or with `model_provider` and `strict_mode=false` (the default, translated back into this model's native contract when possible, falling back to the alternate provider's own raw response on a translation failure - logged, never silent), the shape is this model's own native output; with `strict_mode=true` it is the alternate provider's response returned unchanged. For most models that is JSON (`RouterModelOutput`); for a model whose partner answers a generation directly as bytes it is those bytes under the partner's own `Content-Type`. Today no such model can be queued (the submit refuses it), so this branch is declared for the SDK contract ahead of the server serving it. A client must branch on the response `Content-Type` and must not assume a JSON document; the per-model contract is published at `GET /v2/models/{provider}/{model}/openapi.json`. This response carries `X-Content-Type-Options: nosniff`, so a partner media type is taken at its word and never sniffed into something else.","headers":{"X-Comfy-Credits-Used":{"$ref":"#/components/headers/RouterCreditsUsedHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"},"X-Content-Type-Options":{"$ref":"#/components/headers/RouterNoSniffHeader"}}},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterQueueStatusResponse"}}},"description":"Accepted - the request has not finished. The body is the same `RouterQueueStatusResponse` the status read returns, so this route can be polled on its own, and `Retry-After` hints when to ask again.","headers":{"Retry-After":{"$ref":"#/components/headers/RouterQueuePollAfterHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"401":{"$ref":"#/components/responses/RouterRequestError"},"403":{"$ref":"#/components/responses/RouterRequestError"},"404":{"$ref":"#/components/responses/RouterRequestError"},"409":{"$ref":"#/components/responses/RouterRequestError"},"410":{"$ref":"#/components/responses/RouterRequestError"},"429":{"$ref":"#/components/responses/RouterRateLimited"},"503":{"$ref":"#/components/responses/RouterRequestError"},"504":{"$ref":"#/components/responses/RouterRequestError"},"default":{"$ref":"#/components/responses/RouterRequestError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Collect the result of one submitted request.","tags":["Comfy Router"]}},"/v2/models/{provider}/{model}/requests/{request_id}/cancel":{"put":{"description":"Asks Comfy to stop a request that has not finished. It is a request, not a guarantee, and the `202` says exactly that: `CANCELLATION_REQUESTED` means the ask was accepted, not that the run has stopped. A run already on the wire at a partner may complete anyway - and a partner generation that completes is charged, whether or not anyone collected it - so a caller who needs to know what actually happened reads the status endpoint afterwards, where a cancellation that took effect is `COMPLETED` carrying an `error_type` like every other terminal outcome.\n`PUT` rather than `POST`, and a sub-resource rather than a verb on the request itself: the ask is idempotent. Cancelling twice is the same ask, and the second one is answered exactly like the first while the run is still cancellable, so a client's retry needs no special case.\nTHE ASK HAS THREE OUTCOMES and the status code carries all three, so a client may branch on the status alone: `202` for `CANCELLATION_REQUESTED`, the ask accepted for a request that had not yet finished; `409` for `ALREADY_COMPLETED`, a request that had already reached a terminal state - success, failure or an earlier cancellation; and `404` for an id that names no request of the caller's under this model.\n\"Branch on the status alone\" is a promise this route keeps rather than a simplification, which is why `ALREADY_COMPLETED` is `409` and not `400`. A cancel carrying a malformed or duplicated `Idempotency-Key` is refused `400 invalid_input` by `RouterIdempotencyMiddleware` in the Router error envelope, so a `400` that also meant `ALREADY_COMPLETED` would put two incompatible bodies behind one status and break exactly the branch this paragraph invites. Every status on this route now maps to one body shape.\nThe first two are ALSO named in the body, as a `RouterQueueCancelStatus`. It is a closed `enum` and not one of the coarse `RouterErrorType` buckets, because it is not the same kind of thing: `RouterErrorType` classifies why a CALL failed, whereas these name what CANCELLING found, and it has no member meaning \"already finished\".\nTHE `404` IS THE EXCEPTION AND IT IS DELIBERATE: it answers in the shared Router request-level error body, like every other `404` on this surface, because the status carries two conditions here rather than one. A `{provider}/{model}` that resolves to no partner model is `model_not_found` on this route exactly as on the others, and a cancel-shaped body would swallow it - telling a caller who mistyped the MODEL that their REQUEST does not exist, without the fuzzy suggestions that would have corrected them. So `RouterQueueCancelStatus` carries no `NOT_FOUND` member; the status code is where that outcome is read.\nThis operation is deliberately tagged `Comfy Router` and NOT `API Nodes`, for the reason given on the synchronous route.","operationId":"CancelRouterModelRequest","parameters":[{"$ref":"#/components/parameters/RouterProvider"},{"$ref":"#/components/parameters/RouterModel"},{"$ref":"#/components/parameters/RouterQueueRequestId"}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterQueueCancelResponse"}}},"description":"Accepted - `CANCELLATION_REQUESTED`. The ask was accepted for a request that had not yet reached a terminal state. It is not a statement that the run has stopped; read the status endpoint to learn what it did.","headers":{"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"400":{"$ref":"#/components/responses/RouterRequestError"},"401":{"$ref":"#/components/responses/RouterRequestError"},"403":{"$ref":"#/components/responses/RouterRequestError"},"404":{"$ref":"#/components/responses/RouterRequestError"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterQueueCancelResponse"}}},"description":"Conflict - `ALREADY_COMPLETED`. The request had already reached a terminal state, so there was nothing to cancel. It is terminal for the ask: retrying it will return the same answer. Whether that terminal state was a success, a failure or an earlier cancellation is not carried here - the status endpoint answers that.\nThis outcome is `409` and NOT `400`, because `400` on this route already means something else and cannot mean both. `RouterIdempotencyMiddleware` filters on POST/PUT/PATCH, so a cancel carrying a malformed or duplicated `Idempotency-Key` is answered `400 invalid_input` in the Router error envelope - `{detail, error_type}`, with no `request_id` and no `status`. A client told it \"may branch on the status alone\" would read that body as a `RouterQueueCancelResponse` and find neither field. Giving each body its own status restores that promise rather than qualifying it, and `409` is what the condition actually is: the request is in a state that conflicts with the operation.\n`409` is also what a queued request's own `cancelled` bucket answers on the result read, so one status means one thing across this contract.","headers":{"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"429":{"$ref":"#/components/responses/RouterRateLimited"},"503":{"$ref":"#/components/responses/RouterRequestError"},"default":{"$ref":"#/components/responses/RouterRequestError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Ask for one submitted request to be cancelled.","tags":["Comfy Router"]}},"/v2/models/{provider}/{model}/requests/{request_id}/status":{"get":{"description":"The poll endpoint. It answers with the request's current state and never with the result, so a client can watch a long generation without transferring its output on every poll - the result is collected once, from the read below, when this says `COMPLETED`.\nTHERE ARE EXACTLY THREE STATES: `IN_QUEUE`, `IN_PROGRESS` and `COMPLETED`. There is no separate failed state and no separate cancelled state. A run that failed, and a run the caller cancelled, are both `COMPLETED` carrying an `error_type` - the same coarse bucket the synchronous route puts on `X-Comfy-Error-Type`. That is a deliberate shape rather than an omission: a polling client's loop is written against \"is it finished yet\", and every terminal outcome answering the same value means the loop has exactly one exit rather than one per way a run can end. Whether the run SUCCEEDED is then a separate question with a separate answer - the presence of `error_type` - and a client that only wants the result does not have to ask it at all, because the result read below returns the failure in Router's error envelope on its own.\n`Retry-After` hints how long to wait before polling again. It is a HINT and not a bound: the read is not refused for arriving early, and the number moves with how far the request has actually got. Honour it anyway - a client that polls faster rarely learns anything sooner, and spends its own rate-limit allowance doing it.\nThe response repeats `status_url`, `response_url` and `cancel_url`, so a client that persisted only the `request_id` can recover the addresses without composing them.\nA `request_id` that names no request of the caller's UNDER THIS MODEL is a `404`, including the case where the id is valid but the `{provider}/{model}` in the URL is a different model's. The path parameters are redundant with the row and this contract resolves that redundancy strictly rather than by ignoring them.\nThis operation is deliberately tagged `Comfy Router` and NOT `API Nodes`, for the reason given on the synchronous route.","operationId":"GetRouterModelRequestStatus","parameters":[{"$ref":"#/components/parameters/RouterProvider"},{"$ref":"#/components/parameters/RouterModel"},{"$ref":"#/components/parameters/RouterQueueRequestId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouterQueueStatusResponse"}}},"description":"OK - the request's current queue state. `status` is one of the three states; `queue_position` is present while the request is still `IN_QUEUE`; `error_type` is present only on a `COMPLETED` request that failed or was cancelled. `X-Comfy-Credits-Used` is present on a request that completed successfully once its cost is known, with the value the result collect carries.","headers":{"Retry-After":{"$ref":"#/components/headers/RouterQueuePollAfterHeader"},"X-Comfy-Credits-Used":{"$ref":"#/components/headers/RouterCreditsUsedHeader"},"X-Comfy-Estimate-Source":{"$ref":"#/components/headers/RouterEstimateSourceHeader"},"X-Comfy-Estimated-Duration-P90-Seconds":{"$ref":"#/components/headers/RouterEstimatedDurationP90Header"},"X-Comfy-Estimated-Duration-Seconds":{"$ref":"#/components/headers/RouterEstimatedDurationHeader"},"X-Comfy-Request-Id":{"$ref":"#/components/headers/RouterRequestIdHeader"}}},"401":{"$ref":"#/components/responses/RouterRequestError"},"403":{"$ref":"#/components/responses/RouterRequestError"},"404":{"$ref":"#/components/responses/RouterRequestError"},"410":{"$ref":"#/components/responses/RouterRequestError"},"429":{"$ref":"#/components/responses/RouterRateLimited"},"503":{"$ref":"#/components/responses/RouterRequestError"},"default":{"$ref":"#/components/responses/RouterRequestError"}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"summary":"Read the queue state of one submitted request.","tags":["Comfy Router"]}},"/versions":{"get":{"operationId":"ListAllNodeVersions","parameters":[{"in":"query","name":"nodeId","schema":{"type":"string"}},{"explode":true,"in":"query","name":"statuses","schema":{"items":{"$ref":"#/components/schemas/NodeVersionStatus"},"type":"array"},"style":"form"},{"in":"query","name":"include_status_reason","schema":{"default":false,"type":"boolean"}},{"description":"The page number to retrieve.","in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"description":"The number of items to include per page.","in":"query","name":"pageSize","schema":{"default":10,"type":"integer"}},{"description":"search for status_reason, case insensitive","in":"query","name":"status_reason","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"page":{"description":"Current page number","type":"integer"},"pageSize":{"description":"Maximum number of node versions per page. Maximum is 100.","type":"integer"},"total":{"description":"Total number of node versions available","type":"integer"},"totalPages":{"description":"Total number of pages available","type":"integer"},"versions":{"items":{"$ref":"#/components/schemas/NodeVersion"},"type":"array"}},"type":"object"}}},"description":"List of all node versions"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid input, object invalid"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Node banned"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"List all node versions given some filters.","tags":["Registry"]}},"/webhook/metronome/zero-balance":{"post":{"operationId":"MetronomeZeroBalance","requestBody":{"content":{"application/json":{"schema":{"properties":{"id":{"description":"the id of the webhook","type":"string"},"properties":{"properties":{"alert_id":{"description":"the id of the Metronome alert that fired. Present on alerts.low_remaining_contract_credit_and_commit_balance_reached, which this endpoint only acts on when it matches the configured shared/unscoped alert (METRONOME_SHARED_ALERT_ID) — see docs/runbooks/agent-scoped-credit-overspend-alerts.md.","type":"string"},"alert_name":{"description":"the name of the Metronome alert that fired","type":"string"},"customer_id":{"description":"the metronome customer id","type":"string"},"remaining_balance":{"description":"the customer remaining balance","type":"number"},"timestamp":{"description":"when Metronome evaluated the alert. Bound as a plain string so a value that is not RFC 3339 cannot fail body binding: a non-2xx answer makes Metronome redeliver the same payload and can get this endpoint disabled. MetronomeZeroBalance treats a missing or unparseable timestamp as stale.","format":"date-time","type":"string"},"triggered_by":{"description":"what caused Metronome to evaluate the alert","type":"string"}},"type":"object"},"type":{"description":"the type of the webhook","type":"string"}},"required":["id","type","properties"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdeogramGenerateResponse"}}},"description":"Webhook processed succesfully"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal Server Error (proxy or upstream issue)"}},"summary":"receive alert on remaining balance is 0","tags":["Webhook","Metronome"],"x-excluded":true}},"/workflowresult/{workflowResultId}":{"get":{"operationId":"GetWorkflowResult","parameters":[{"in":"path","name":"workflowResultId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionJobResult"}}},"description":"Commit details"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid workflowResultId"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Commit not found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Internal server error"}},"summary":"Retrieve a specific commit by ID","tags":["ComfyUI CI"],"x-excluded":true}}},"servers":[{"url":"https://api.comfy.org"}],"tags":[{"description":"Comfy Router's canonical, model-ID-addressed routes.","name":"Comfy Router"},{"description":"Signed-in users running Comfy-owned serverless apps with free runs and flat or per-second pricing (FE-2737).","name":"App Proxy"}]}