Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions development/api-development/sdks.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Comfy SDKs: Python and TypeScript Clients for ComfyUI"

Check warning on line 2 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L2

Did you really mean 'SDKs'?
description: "Run ComfyUI workflows from Python or TypeScript against Comfy Cloud, a deployment or your own ComfyUI: assets, jobs, live events and idempotent retries."
sidebarTitle: "SDKs"
icon: "code"
Expand All @@ -16,19 +16,19 @@

This page documents the second row: the Comfy Cloud and Comfy API v2 client. For the model router, start at the [Comfy Router quickstart](/development/comfy-router/quickstart).

The Comfy SDKs let your application run ComfyUI workflows and get the results back. You submit a workflow, ComfyUI executes it, and you download the outputs. The same code runs against Comfy Cloud or against a ComfyUI instance you host yourself. Only the base URL changes, except for [job labels](#label-jobs-and-find-them-later), which work only on a Comfy API deployment, and the job list, which Comfy Cloud does not offer yet.

Check warning on line 19 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L19

Did you really mean 'SDKs'?

The SDKs are clients for the [Comfy API v2](/api-reference/v2/overview), a versioned HTTP API that we intend to support long term. New releases of ComfyUI will not break integrations built on it.

Check warning on line 21 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L21

Did you really mean 'SDKs'?

Things people build this way:

- Plugins that generate content inside another application, such as Blender or Krita

Check warning on line 25 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L25

Did you really mean 'Krita'?
- Consumer apps that run generation on behalf of their users
- Batch pipelines, for example running one workflow over every frame of a video
- Backend services that need many workflows in flight at once

<Note>
These SDKs drive ComfyUI **from the outside**. If you are writing custom nodes or frontend extensions that run **inside** ComfyUI, you want [Develop Custom Nodes](/custom-nodes/overview) instead. Those are a separate set of APIs.

Check warning on line 31 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L31

Did you really mean 'SDKs'?
</Note>

## Install
Expand All @@ -47,9 +47,29 @@

<SdkVersions />

## Using a coding agent
## Coding agents

If a coding agent writes a Comfy Router integration, give it the `comfy-sdk` skill. It is written for building on Comfy Router and steers the agent on picking the right client, keeping the API key on the server, discovering a model before calling it, `run` versus `submit`, timeouts, and branching on error buckets. The skill does not cover running ComfyUI workflows. For the workflow client on this page, point the agent at this guide and the [Comfy API v2 reference](/api-reference/v2/overview) instead. In Claude Code, run `/plugin marketplace add Comfy-Org/comfy-skills`, then `/plugin install comfy-sdk@comfy-skills`. For any other agent, copy the single [`SKILL.md`](https://github.com/Comfy-Org/comfy-skills/blob/main/claude-code-sdk/skills/comfy-sdk/SKILL.md) file into your agent's rules, such as `AGENTS.md` or your Cursor rules.
If a coding agent builds your Comfy Router integration, give it the `comfy-sdk` skill.

The skill covers what agents usually get wrong:

- Which client to use
- Keeping the API key on the server
- Discovering a model before calling it
- `run` versus `submit`
- Timeouts
- Branching on error buckets

It does not cover ComfyUI workflows. For the workflow client on this page, point the agent at this guide and the [Comfy API v2 reference](/api-reference/v2/overview).

To install it in Claude Code, run:

```
/plugin marketplace add Comfy-Org/comfy-skills
/plugin install comfy-sdk@comfy-skills
```

For any other agent, copy the [`SKILL.md`](https://github.com/Comfy-Org/comfy-skills/blob/main/claude-code-sdk/skills/comfy-sdk/SKILL.md) file into `AGENTS.md` or your Cursor rules.

## Quickstart

Expand All @@ -57,12 +77,12 @@

<CodeGroup>
```python Python
from comfy_sdk import Comfy

Check warning on line 80 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L80

Did you really mean 'comfy_sdk'?

# Comfy Cloud
client = Comfy(api_key="comfyui-...")

wf = client.workflows.from_file("workflow_api.json")

Check warning on line 85 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L85

Did you really mean 'wf'?

asset = client.assets.from_file("photo.png")
wf.set_input("10", "image", asset)
Expand Down Expand Up @@ -155,12 +175,12 @@

See [API Proxy for Self-Hosted ComfyUI](/development/comfyui-server/api-proxy) for configuration and authentication details.

## Retrying a submit: the idempotency key

Check warning on line 178 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L178

Did you really mean 'idempotency'?

`submit()` and `run()` send an `Idempotency-Key` with every submission, and the Comfy API v2 contract for that key is **reject-on-duplicate, not record-and-replay**. Read this before you wrap a submit in a retry loop.

- **Each call mints a fresh key.** Calling `submit()` twice with the same workflow is two submissions, two jobs and two charges. A naive `for attempt in range(3)` around `submit()` is a double-bill, not a retry.
- **A reused key is rejected, not replayed.** Pass your own `idempotency_key` (`idempotencyKey` in TypeScript) to make a retry idempotent, and the second request with that key fails `422 idempotency_key_reuse` instead of returning the first job. The SDKs raise `IdempotencyKeyReuse`. That is the opposite of what "idempotent retry" usually means, so handle it explicitly.

Check warning on line 183 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L183

Did you really mean 'SDKs'?
- **Recovery is to go and find the job, not to resubmit.** On `IdempotencyKeyReuse` the first attempt may well have created a job. Fetch it with `client.jobs.get(job_id)`. That lookup needs an id you already stored, so it only recovers the case where the submit returned and you persisted the id before the failure. If the connection dropped before the id was recorded there is nothing to look up and no automatic recovery: the examples below re-raise for manual handling rather than resubmitting under a claimed key.
- **The key is released when the submission definitively failed.** A validation error, an out-of-credits reject or a queue-full reject creates no job and frees the key, so resubmitting under it is fine. After an *ambiguous* failure (a read timeout, a connection dropped mid-request) the key stays claimed: look for the job rather than resubmitting.
- **Keys expire after 24 hours** and must be non-empty, printable ASCII and within the length bound. An invalid key raises `ValueError` before any request is made, so an explicit `""` never silently falls back to a minted key.
Expand All @@ -170,18 +190,18 @@
<CodeGroup>
```python Python
import uuid
from comfy_sdk import IdempotencyKeyReuse

Check warning on line 193 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L193

Did you really mean 'comfy_sdk'?

# Both values belong in your own store, keyed by whatever the request means to
# you. `key` is minted once, on the first attempt; `job_id` is filled in as soon
# as a submit returns.
state = load_submission_state() # {"key": ..., "job_id": ...} or {}

Check warning on line 198 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L198

Did you really mean 'job_id'?
key = state.get("key") or str(uuid.uuid4())
save_submission_state(key=key)

try:
job = client.submit(wf, idempotency_key=key)
save_submission_state(key=key, job_id=job.id)

Check warning on line 204 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L204

Did you really mean 'job_id'?
except IdempotencyKeyReuse:
# An earlier attempt under this key already reached submission, so a job
# may exist. Do not resubmit: go and find it.
Expand All @@ -203,7 +223,7 @@

let job;
try {
job = await client.submit(wf, { idempotencyKey: key });

Check warning on line 226 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L226

Did you really mean 'wf'?
await saveSubmissionState({ key, jobId: job.id });
} catch (err) {
// An earlier attempt under this key already reached submission, so a job
Expand All @@ -214,10 +234,10 @@
```
</CodeGroup>

`client.jobs.get(job_id)` is the SDK's rehydration path, and it needs an id, which is why recording the id the moment a submit returns is what makes this recoverable at all. See [Comfy API v2](/api-reference/v2/overview) for the full key contract on `POST /api/v2/jobs`.

Check warning on line 237 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L237

Did you really mean 'rehydration'?

<Note>
Comfy Router's `Idempotency-Key` behaves **differently**. On Router the key is a replay handle rather than a single-use token: re-sending a queued submit under the same key returns the original request instead of queueing a second one. See [queued idempotency and billing](/development/comfy-router/queue#idempotency-and-billing) and [Router retry outcomes](/development/comfy-router/errors#retry-outcomes). The two surfaces share a header name, not a contract.

Check warning on line 240 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L240

Did you really mean 'idempotency'?
</Note>

## Watching a job run
Expand All @@ -226,7 +246,7 @@

<CodeGroup>
```python Python
from comfy_sdk import Progress, Preview, OutputReady, StatusChange

Check warning on line 249 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L249

Did you really mean 'comfy_sdk'?

job = client.submit(wf)

Expand All @@ -234,7 +254,7 @@
match event:
case Progress() as p:
print(f"{p.value:.0%} {p.message}")
case Preview() as pv:

Check warning on line 257 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L257

Did you really mean 'pv'?
image = pv.to_pil()
case OutputReady() as o:
o.output.to_file(f"partial/{o.output.name}")
Expand Down Expand Up @@ -280,7 +300,7 @@

There is no `subscribe()` on the Comfy Cloud client, and no `job.subscribe()` anywhere. The Cloud equivalent of `subscribe` is `run()`: submit and wait for a terminal state.

The stream is a live feed, not a replayable log. It exists so you can render progress, not so you can rely on it for results. Polling the job is what is authoritative, and `run()`, `wait()`, and `result()` fall back to polling automatically. See [Design Notes](/development/api-development/sdks-design#poll-first-stream-for-progress) for why.

Check warning on line 303 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L303

Did you really mean 'replayable'?

## Tracing an output back to its workflow

Expand All @@ -300,7 +320,7 @@

The same id is on an asset fetched on its own, so a file you found later still leads back to its job. It is `None` (TypeScript: `undefined`) for an asset you uploaded, which has no producing job.

From the job you can ask for the workflow behind it. This works for a job you did not submit in this process, rehydrated by id:

Check warning on line 323 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L323

Did you really mean 'rehydrated'?

<CodeGroup>
```python Python
Expand Down Expand Up @@ -328,7 +348,7 @@
| `format` | What you get | When |
|---|---|---|
| `save` | The authoring workflow at the version the job ran, with canvas layout and editor-only nodes such as Note | Jobs submitted from the Comfy Cloud editor, which pins a workflow version |
| `api` | The executed graph. Editor-only constructs are gone and Get/Set nodes are expanded | Everything else, including every job submitted through these SDKs today |

Check warning on line 351 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L351

Did you really mean 'SDKs'?

Jobs you submit through the SDK always return `api`, because v2 submission has no version-pinning fields yet. That will change; the discriminator is there so your code does not have to.

Expand All @@ -345,7 +365,7 @@
- A value is a string of up to 256 bytes (UTF-8).
- Labels are set when you submit the job and cannot be changed later.

A submit that breaks a limit fails with `422` and code `metadata_invalid`, and no job is created. The error message names the key that broke the rule, or gives the count when there are more than 16 labels. The SDKs do not check the limits themselves. They raise an error that carries the server's code and message.

Check warning on line 368 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L368

Did you really mean 'SDKs'?

<Warning>
Anyone in your workspace who can see a job can see its labels. Do not put secrets or personal data in them.
Expand Down Expand Up @@ -418,7 +438,7 @@
"metadata": { "client": "acme", "project": "spring" }
}
],
"next_cursor": "eyJ..."

Check warning on line 441 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L441

Did you really mean 'next_cursor'?
}
```

Expand Down Expand Up @@ -453,13 +473,13 @@
<code>@comfyorg/sdk</code> on npm. Typed, async, with a low-level client.
</Card>
<Card title="Comfy API v2 Reference" icon="code" href="/api-reference/v2/overview">
The HTTP API underneath both SDKs. Use it directly from any language.

Check warning on line 476 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L476

Did you really mean 'SDKs'?
</Card>
<Card title="Design Notes" icon="compass" href="/development/api-development/sdks-design">
Why this API exists, how it relates to the existing ComfyUI APIs, and what comes next.
</Card>
<Card title="Comfy Router" icon="shuffle" href="/development/comfy-router/quickstart">
The other surface in the same package: <code>comfy.models.run</code> against partner models such as Flux, Veo and Gemini.

Check warning on line 482 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L482

Did you really mean 'Veo'?
</Card>
</CardGroup>

Expand All @@ -467,4 +487,4 @@

Report what is awkward, what you expected to find and did not, and what you had to work around. The `#developer-platform` channel in [our Discord](https://discord.com/invite/comfyorg) is the place for it.

If you want a first-party SDK in another language, say so there. Both SDKs sit on the same documented HTTP contract, so any language can talk to the API today, but we would rather know where the demand is.

Check warning on line 490 in development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/api-development/sdks.mdx#L490

Did you really mean 'SDKs'?
28 changes: 24 additions & 4 deletions es/development/api-development/sdks.mdx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: "SDK de Comfy: clientes de Python y TypeScript para ComfyUI"

Check warning on line 2 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L2

Did you really mean 'clientes'?
description: "Ejecuta flujos de trabajo de ComfyUI desde Python o TypeScript en Comfy Cloud, tu propio despliegue: recursos, tareas, eventos en vivo y reintentos idempotentes."

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'Ejecuta'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'flujos'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'trabajo'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'desde'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'tu'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'propio'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'despliegue'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'recursos'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'tareas'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'eventos'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'vivo'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'reintentos'?

Check warning on line 3 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L3

Did you really mean 'idempotentes'?
sidebarTitle: "SDK"
icon: "code"
translationSourceHash: 918d35f0
translationSourceHash: da14b84c
translationFrom: development/api-development/sdks.mdx
translationBlockHashes:
"_intro": c92c7b51
"Install": da9a0a57
"Using a coding agent": 6540d772
"Coding agents": eed20c28
"Quickstart": 02297586
"Choosing a base URL": 0e77e81c
"Retrying a submit: the idempotency key": 7c83d78f
Expand All @@ -24,29 +24,29 @@
import SdkVersions from "/snippets/es/sdk/versions.mdx";

<Note>
Comfy API v2 tiene versionado. Los cambios dentro de v2 son aditivos; los cambios disruptivos se publican como v3. Reporta problemas a través de [Feedback](#retroalimentación).

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'tiene'?

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'versionado'?

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'cambios'?

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'dentro'?

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'aditivos'?

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'los'?

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'cambios'?

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'disruptivos'?

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'se'?

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'como'?

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'Reporta'?

Check warning on line 27 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L27

Did you really mean 'problemas'?
</Note>

<SdkSurfaces />

Esta página documenta la segunda fila: el cliente de Comfy Cloud y Comfy API v2. Para el enrutador de modelos, comienza en el [inicio rápido de Comfy Router](/es/development/comfy-router/quickstart).

Check warning on line 32 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L32

Did you really mean 'Esta'?

Check warning on line 32 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L32

Did you really mean 'documenta'?

Check warning on line 32 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L32

Did you really mean 'segunda'?

Check warning on line 32 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L32

Did you really mean 'cliente'?

Check warning on line 32 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L32

Did you really mean 'enrutador'?

Check warning on line 32 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L32

Did you really mean 'modelos'?

Check warning on line 32 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L32

Did you really mean 'comienza'?

Los SDK de Comfy permiten que tu aplicación ejecute flujos de trabajo de ComfyUI y obtenga los resultados. Envías un flujo de trabajo, ComfyUI lo ejecuta y descargas las salidas. El mismo código funciona con Comfy Cloud o con una instancia de ComfyUI que alojes tú mismo. Solo cambia la URL base, excepto las [etiquetas de tareas](#etiquetar-tareas-y-encontrarlas-más-tarde), que funcionan solo en una implementación de Comfy API, y la lista de tareas, que Comfy Cloud todavía no ofrece.

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'permiten'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'que'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'tu'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'ejecute'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'flujos'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'trabajo'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'obtenga'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'los'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'resultados'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'un'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'flujo'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'trabajo'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'ejecuta'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'descargas'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'las'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'salidas'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'mismo'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'funciona'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'una'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'instancia'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'que'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'alojes'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'mismo'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'cambia'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'excepto'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'las'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'tareas'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'que'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'funcionan'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'una'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'lista'?

Check warning on line 34 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L34

Did you really mean 'ofrece'?

Los SDK son clientes de la [Comfy API v2](/es/api-reference/v2/overview), una API HTTP con versionado que tenemos la intención de mantener a largo plazo. Las nuevas versiones de ComfyUI no romperán las integraciones construidas sobre ella.

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'clientes'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'una'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'versionado'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'que'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'tenemos'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'mantener'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'plazo'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'nuevas'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'versiones'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'las'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'integraciones'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'construidas'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'sobre'?

Check warning on line 36 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L36

Did you really mean 'ella'?

Cosas que se construyen de esta manera:

Check warning on line 38 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L38

Did you really mean 'Cosas'?

Check warning on line 38 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L38

Did you really mean 'que'?

Check warning on line 38 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L38

Did you really mean 'se'?

Check warning on line 38 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L38

Did you really mean 'construyen'?

Check warning on line 38 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L38

Did you really mean 'esta'?

Check warning on line 38 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L38

Did you really mean 'manera'?

- Plugins que generan contenido dentro de otra aplicación, como Blender o Krita

Check warning on line 40 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L40

Did you really mean 'que'?

Check warning on line 40 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L40

Did you really mean 'generan'?

Check warning on line 40 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L40

Did you really mean 'contenido'?

Check warning on line 40 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L40

Did you really mean 'dentro'?

Check warning on line 40 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L40

Did you really mean 'otra'?

Check warning on line 40 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L40

Did you really mean 'como'?

Check warning on line 40 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L40

Did you really mean 'Krita'?
- Aplicaciones de consumo que ejecutan la generación en nombre de sus usuarios

Check warning on line 41 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L41

Did you really mean 'Aplicaciones'?

Check warning on line 41 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L41

Did you really mean 'consumo'?

Check warning on line 41 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L41

Did you really mean 'que'?

Check warning on line 41 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L41

Did you really mean 'ejecutan'?

Check warning on line 41 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L41

Did you really mean 'nombre'?

Check warning on line 41 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L41

Did you really mean 'sus'?

Check warning on line 41 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L41

Did you really mean 'usuarios'?
- Pipelines por lotes, por ejemplo, ejecutar un flujo de trabajo sobre cada fotograma de un video

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'por'?

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'lotes'?

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'por'?

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'ejemplo'?

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'ejecutar'?

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'un'?

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'flujo'?

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'trabajo'?

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'sobre'?

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'cada'?

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'fotograma'?

Check warning on line 42 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L42

Did you really mean 'un'?
- Servicios de backend que necesitan muchos flujos de trabajo en ejecución a la vez

Check warning on line 43 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L43

Did you really mean 'Servicios'?

Check warning on line 43 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L43

Did you really mean 'que'?

Check warning on line 43 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L43

Did you really mean 'necesitan'?

Check warning on line 43 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L43

Did you really mean 'muchos'?

Check warning on line 43 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L43

Did you really mean 'flujos'?

Check warning on line 43 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L43

Did you really mean 'trabajo'?

Check warning on line 43 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L43

Did you really mean 'vez'?

<Note>
Estos SDK controlan ComfyUI **desde fuera**. Si escribes nodos personalizados o extensiones de frontend que se ejecutan **dentro** de ComfyUI, lo que buscas es [Desarrollar Nodos personalizados](/es/custom-nodes/overview). Esas son un conjunto de APIs aparte.

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'Estos'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'controlan'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'escribes'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'nodos'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'personalizados'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'extensiones'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'que'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'se'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'ejecutan'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'que'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'buscas'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'Desarrollar'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'Nodos'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'Esas'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'un'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'conjunto'?

Check warning on line 46 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L46

Did you really mean 'aparte'?
</Note>

## Instalar

Check warning on line 49 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L49

Did you really mean 'Instalar'?

<CodeGroup>
```bash Python
Expand All @@ -62,22 +62,42 @@

<SdkVersions />

## Usar un agente de programación
## Agentes de programación

Check warning on line 65 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L65

Did you really mean 'Agentes'?

Si un agente de programación escribe una integración con Comfy Router, dale la habilidad `comfy-sdk`. Está escrita para desarrollar sobre Comfy Router y orienta al agente para elegir el cliente correcto, mantener la clave de API en el servidor, descubrir un modelo antes de llamarlo, elegir entre `run` y `submit`, configurar los tiempos de espera y ramificar según la categoría de error. La habilidad no cubre la ejecución de flujos de trabajo de ComfyUI. Para el cliente de flujos de trabajo de esta página, indica al agente que consulte esta guía y la [referencia de Comfy API v2](/es/api-reference/v2/overview). En Claude Code, ejecuta `/plugin marketplace add Comfy-Org/comfy-skills` y después `/plugin install comfy-sdk@comfy-skills`. Para cualquier otro agente, copia el archivo único [`SKILL.md`](https://github.com/Comfy-Org/comfy-skills/blob/main/claude-code-sdk/skills/comfy-sdk/SKILL.md) en las reglas de tu agente, como `AGENTS.md` o tus reglas de Cursor.
Si un agente de programación va a escribir tu integración con Comfy Router, dale la habilidad `comfy-sdk`.

Check warning on line 67 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L67

Did you really mean 'un'?

Check warning on line 67 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L67

Did you really mean 'agente'?

Check warning on line 67 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L67

Did you really mean 'va'?

Check warning on line 67 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L67

Did you really mean 'escribir'?

Check warning on line 67 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L67

Did you really mean 'tu'?

Check warning on line 67 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L67

Did you really mean 'habilidad'?

La habilidad cubre lo que los agentes suelen hacer mal:

Check warning on line 69 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L69

Did you really mean 'habilidad'?

Check warning on line 69 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L69

Did you really mean 'cubre'?

Check warning on line 69 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L69

Did you really mean 'que'?

Check warning on line 69 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L69

Did you really mean 'los'?

Check warning on line 69 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L69

Did you really mean 'agentes'?

Check warning on line 69 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L69

Did you really mean 'suelen'?

Check warning on line 69 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L69

Did you really mean 'hacer'?

Check warning on line 69 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L69

Did you really mean 'mal'?

- Qué cliente usar

Check warning on line 71 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L71

Did you really mean 'cliente'?

Check warning on line 71 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L71

Did you really mean 'usar'?
- Mantener la clave de API en el servidor

Check warning on line 72 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L72

Did you really mean 'Mantener'?

Check warning on line 72 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L72

Did you really mean 'servidor'?
- Comprobar el modelo antes de llamarlo

Check warning on line 73 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L73

Did you really mean 'Comprobar'?

Check warning on line 73 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L73

Did you really mean 'modelo'?

Check warning on line 73 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L73

Did you really mean 'llamarlo'?
- Elegir entre `run` y `submit`

Check warning on line 74 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L74

Did you really mean 'Elegir'?

Check warning on line 74 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L74

Did you really mean 'entre'?
- Los tiempos de espera

Check warning on line 75 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L75

Did you really mean 'tiempos'?

Check warning on line 75 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L75

Did you really mean 'espera'?
- Tratar cada tipo de error por separado

Check warning on line 76 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L76

Did you really mean 'Tratar'?

Check warning on line 76 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L76

Did you really mean 'cada'?

Check warning on line 76 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L76

Did you really mean 'tipo'?

Check warning on line 76 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L76

Did you really mean 'por'?

Check warning on line 76 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L76

Did you really mean 'separado'?

No cubre la ejecución de flujos de trabajo de ComfyUI. Para el cliente de flujos de trabajo de esta página, indica al agente que consulte esta guía y la [referencia de Comfy API v2](/es/api-reference/v2/overview).

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'cubre'?

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'flujos'?

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'trabajo'?

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'cliente'?

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'flujos'?

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'trabajo'?

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'esta'?

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'indica'?

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'agente'?

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'que'?

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'consulte'?

Check warning on line 78 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L78

Did you really mean 'esta'?

En Claude Code, ejecuta:

Check warning on line 80 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L80

Did you really mean 'ejecuta'?

```
/plugin marketplace add Comfy-Org/comfy-skills
/plugin install comfy-sdk@comfy-skills
```

Para cualquier otro agente, copia el archivo [`SKILL.md`](https://github.com/Comfy-Org/comfy-skills/blob/main/claude-code-sdk/skills/comfy-sdk/SKILL.md) en `AGENTS.md` o en tus reglas de Cursor.

Check warning on line 87 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L87

Did you really mean 'cualquier'?

Check warning on line 87 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L87

Did you really mean 'otro'?

Check warning on line 87 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L87

Did you really mean 'agente'?

Check warning on line 87 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L87

Did you really mean 'copia'?

Check warning on line 87 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L87

Did you really mean 'archivo'?

Check warning on line 87 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L87

Did you really mean 'tus'?

Check warning on line 87 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L87

Did you really mean 'reglas'?

## Inicio rápido

Check warning on line 89 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L89

Did you really mean 'Inicio'?

Sube una imagen de entrada, ejecuta un flujo de trabajo y escribe los resultados en disco.

Check warning on line 91 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L91

Did you really mean 'Sube'?

Check warning on line 91 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L91

Did you really mean 'una'?

Check warning on line 91 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L91

Did you really mean 'imagen'?

Check warning on line 91 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L91

Did you really mean 'entrada'?

Check warning on line 91 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L91

Did you really mean 'ejecuta'?

Check warning on line 91 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L91

Did you really mean 'un'?

Check warning on line 91 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L91

Did you really mean 'flujo'?

Check warning on line 91 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L91

Did you really mean 'trabajo'?

Check warning on line 91 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L91

Did you really mean 'los'?

Check warning on line 91 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L91

Did you really mean 'resultados'?

<CodeGroup>
```python Python
from comfy_sdk import Comfy

Check warning on line 95 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L95

Did you really mean 'comfy_sdk'?

# Comfy Cloud
client = Comfy(api_key="comfyui-...")

wf = client.workflows.from_file("workflow_api.json")

Check warning on line 100 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L100

Did you really mean 'wf'?

asset = client.assets.from_file("photo.png")
wf.set_input("10", "image", asset)
Expand All @@ -103,30 +123,30 @@
```
</CodeGroup>

`workflow_api.json` es un flujo de trabajo guardado en [formato API](/es/development/api-development/workflow-api-format). `"10"` y `"9"` son IDs de nodo de ese archivo: el nodo al que llega la imagen de entrada y el nodo de salida cuyos resultados quieres.

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'flujo'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'trabajo'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'guardado'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'nodo'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'ese'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'archivo'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'nodo'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'llega'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'imagen'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'entrada'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'nodo'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'salida'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'cuyos'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'resultados'?

Check warning on line 126 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L126

Did you really mean 'quieres'?

Los manejadores de recursos son diferidos. `photo.png` se hashea localmente y solo se sube si el servidor no tiene ya esos bytes, así que volver a ejecutar con la misma entrada no cuesta nada.

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'manejadores'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'recursos'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'diferidos'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'hashea'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'localmente'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'sube'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'servidor'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'tiene'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'esos'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'que'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'volver'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'ejecutar'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'entrada'?

Check warning on line 128 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L128

Did you really mean 'nada'?

`run()` envía la tarea y espera a que llegue a un estado terminal. Para trabajar mientras se ejecuta, usa `submit()` en su lugar y observa el [flujo de eventos](#observar-la-ejecución-de-una-tarea).

Check warning on line 130 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L130

Did you really mean 'espera'?

Check warning on line 130 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L130

Did you really mean 'llegue'?

Check warning on line 130 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L130

Did you really mean 'estado'?

Check warning on line 130 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L130

Did you really mean 'trabajar'?

Check warning on line 130 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L130

Did you really mean 'mientras'?

Check warning on line 130 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L130

Did you really mean 'se'?

Check warning on line 130 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L130

Did you really mean 'ejecuta'?

Check warning on line 130 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L130

Did you really mean 'lugar'?

Check warning on line 130 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L130

Did you really mean 'observa'?

Para ejecutar contra tu propio ComfyUI, configura `COMFY_BASE_URL` y quita la clave. Consulta más abajo.

Check warning on line 132 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L132

Did you really mean 'ejecutar'?

Check warning on line 132 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L132

Did you really mean 'tu'?

Check warning on line 132 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L132

Did you really mean 'propio'?

Check warning on line 132 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L132

Did you really mean 'configura'?

Check warning on line 132 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L132

Did you really mean 'quita'?

Check warning on line 132 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L132

Did you really mean 'Consulta'?

## Elegir una URL base

Check warning on line 134 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L134

Did you really mean 'Elegir'?

| Superficie | URL base | Clave API |

Check warning on line 136 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L136

Did you really mean 'Superficie'?
|---|---|---|
| **Comfy Cloud** | `https://cloud.comfy.org` (el valor predeterminado) | Requerida |

Check warning on line 138 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L138

Did you really mean 'predeterminado'?

Check warning on line 138 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L138

Did you really mean 'Requerida'?
| **Despliegue de Comfy API** | `https://<deployment>.run.comfy.app` | Requerida |

Check warning on line 139 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L139

Did you really mean 'Despliegue'?

Check warning on line 139 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L139

Did you really mean 'Requerida'?
| **Tu propio ComfyUI** | `http://127.0.0.1:8189` (el proxy local) | Ninguna de forma predeterminada. Token bearer estático opcional |

Check warning on line 140 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L140

Did you really mean 'propio'?

Check warning on line 140 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L140

Did you really mean 'Ninguna'?

Check warning on line 140 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L140

Did you really mean 'forma'?

Check warning on line 140 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L140

Did you really mean 'predeterminada'?

Check warning on line 140 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L140

Did you really mean 'opcional'?

La URL base proviene de la variable de entorno `COMFY_BASE_URL`, no de un argumento del constructor:

Check warning on line 142 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L142

Did you really mean 'proviene'?

Check warning on line 142 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L142

Did you really mean 'entorno'?

Check warning on line 142 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L142

Did you really mean 'argumento'?

```bash
export COMFY_BASE_URL="https://<deployment>.run.comfy.app" # Despliegue de Comfy API
export COMFY_BASE_URL="http://127.0.0.1:8189" # proxy autoalojado
```

Se lee cada vez que se crea un cliente, debe ser una URL `http(s)` y, si no está definida o está vacía, se usa Comfy Cloud. Por eso el cliente es el mismo en todas partes:

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'cada'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'vez'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'que'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'se'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'crea'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'un'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'cliente'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'debe'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'una'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'definida'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'se'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'usa'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'Por'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'eso'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'mismo'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'todas'?

Check warning on line 149 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L149

Did you really mean 'partes'?

<CodeGroup>
```python Python
Expand All @@ -139,28 +159,28 @@
</CodeGroup>

<Note>
¿Actualizas desde una versión temprana? `Comfy("<url>", "<key>")` ahora es `Comfy(api_key="<key>")` con `COMFY_BASE_URL` configurada. `api_key` solo se puede pasar por nombre, así que la llamada posicional anterior lanza `TypeError` en lugar de leer silenciosamente una URL como clave.

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'desde'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'una'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'temprana'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'ahora'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'configurada'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'se'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'puede'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'pasar'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'por'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'nombre'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'que'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'llamada'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'posicional'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'lanza'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'lugar'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'silenciosamente'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'una'?

Check warning on line 162 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L162

Did you really mean 'como'?
</Note>

### Comfy Cloud

Funciona sin configuración adicional. Crea una [clave API](/es/development/api-development/getting-an-api-key) y pásala al cliente.

Check warning on line 167 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L167

Did you really mean 'Funciona'?

Check warning on line 167 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L167

Did you really mean 'adicional'?

Check warning on line 167 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L167

Did you really mean 'Crea'?

Check warning on line 167 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L167

Did you really mean 'una'?

<Note>
El acceso a la API requiere una suscripción de pago a Comfy Cloud. El plan gratuito no lo incluye. Cuántas tareas puedes ejecutar a la vez depende de tu plan. Consulta [Límites de simultaneidad](/es/development/deploy/cloud-usage#límites-de-simultaneidad).

Check warning on line 170 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L170

Did you really mean 'acceso'?

Check warning on line 170 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L170

Did you really mean 'una'?

Check warning on line 170 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L170

Did you really mean 'pago'?

Check warning on line 170 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L170

Did you really mean 'gratuito'?

Check warning on line 170 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L170

Did you really mean 'tareas'?

Check warning on line 170 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L170

Did you really mean 'puedes'?

Check warning on line 170 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L170

Did you really mean 'ejecutar'?

Check warning on line 170 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L170

Did you really mean 'vez'?

Check warning on line 170 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L170

Did you really mean 'depende'?

Check warning on line 170 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L170

Did you really mean 'Consulta'?
</Note>

<a id="serverless-deployment"></a>

### Despliegue de Comfy API

Check warning on line 175 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L175

Did you really mean 'Despliegue'?

Un flujo de trabajo que desplegaste mediante la [plataforma para desarrolladores](https://platform.comfy.org) obtiene su propio endpoint. Apunta `COMFY_BASE_URL` a ese endpoint y usa tu clave API, exactamente igual que con Comfy Cloud. Todo en esta guía funciona de la misma manera, excepto las [etiquetas de tareas y la lista de tareas](#etiquetar-tareas-y-encontrarlas-más-tarde), que Comfy Cloud todavía no admite.

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'Un'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'flujo'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'trabajo'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'que'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'desplegaste'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'mediante'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'obtiene'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'su'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'propio'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'Apunta'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'ese'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'usa'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'tu'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'exactamente'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'igual'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'esta'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'funciona'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'manera'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'excepto'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'las'?

Check warning on line 177 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L177

Did you really mean 'admite'?

Un despliegue de Comfy API puede ejecutar varios flujos de trabajo con los modelos y nodos personalizados incluidos en su Build. Para cada tarea, `get_workflow()` devuelve una respuesta de flujo de trabajo con `format: "api"` y el gráfico ejecutado en su propiedad `.graph`.

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'Un'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'despliegue'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'puede'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'ejecutar'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'varios'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'flujos'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'trabajo'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'los'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'modelos'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'nodos'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'personalizados'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'incluidos'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'su'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'cada'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'tarea'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'devuelve'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'respuesta'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'flujo'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'trabajo'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'ejecutado'?

Check warning on line 179 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L179

Did you really mean 'propiedad'?

### Tu propio ComfyUI

Check warning on line 181 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L181

Did you really mean 'propio'?

La API v2 se sirve en ComfyUI autoalojado mediante [comfy-api-proxy](https://github.com/Comfy-Org/comfy-api-proxy), un pequeño servicio de código abierto que se ejecuta junto a tu ComfyUI. Instálalo, ejecútalo y configura `COMFY_BASE_URL="http://127.0.0.1:8189"`:

Check warning on line 183 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L183

Did you really mean 'se'?

Check warning on line 183 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L183

Did you really mean 'sirve'?

Check warning on line 183 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L183

Did you really mean 'autoalojado'?

Check warning on line 183 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L183

Did you really mean 'mediante'?

Check warning on line 183 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L183

Did you really mean 'servicio'?

Check warning on line 183 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L183

Did you really mean 'abierto'?

Check warning on line 183 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L183

Did you really mean 'que'?

Check warning on line 183 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L183

Did you really mean 'ejecuta'?

Check warning on line 183 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L183

Did you really mean 'junto'?

Check warning on line 183 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L183

Did you really mean 'tu'?

Check warning on line 183 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L183

Did you really mean 'configura'?

```bash
pip install comfy-api-proxy
Expand All @@ -168,41 +188,41 @@
export COMFY_BASE_URL="http://127.0.0.1:8189"
```

Consulta la página [Proxy de API para ComfyUI autoalojado](/es/development/comfyui-server/api-proxy) para ver los detalles de configuración y autenticación.

Check warning on line 191 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L191

Did you really mean 'Consulta'?

Check warning on line 191 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L191

Did you really mean 'ver'?

Check warning on line 191 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L191

Did you really mean 'los'?

Check warning on line 191 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L191

Did you really mean 'detalles'?

## Reintentar un envío: la clave de idempotencia

Check warning on line 193 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L193

Did you really mean 'Reintentar'?

Check warning on line 193 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L193

Did you really mean 'idempotencia'?

`submit()` y `run()` envían una `Idempotency-Key` en cada envío, y el contrato de Comfy API v2 para esa clave es **rechazar el duplicado, no grabar y reproducir**. Lee esto antes de envolver un envío en un bucle de reintentos.

Check warning on line 195 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L195

Did you really mean 'cada'?

Check warning on line 195 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L195

Did you really mean 'contrato'?

Check warning on line 195 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L195

Did you really mean 'esa'?

Check warning on line 195 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L195

Did you really mean 'rechazar'?

Check warning on line 195 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L195

Did you really mean 'duplicado'?

Check warning on line 195 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L195

Did you really mean 'grabar'?

Check warning on line 195 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L195

Did you really mean 'reproducir'?

Check warning on line 195 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L195

Did you really mean 'esto'?

Check warning on line 195 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L195

Did you really mean 'envolver'?

Check warning on line 195 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L195

Did you really mean 'bucle'?

Check warning on line 195 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L195

Did you really mean 'reintentos'?

- **Cada llamada genera una clave nueva.** Llamar a `submit()` dos veces con el mismo flujo de trabajo son dos envíos, dos tareas y dos cobros. Un `for attempt in range(3)` ingenuo alrededor de `submit()` es un doble cobro, no un reintento.

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'Cada'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'llamada'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'una'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'nueva'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'Llamar'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'veces'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'mismo'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'flujo'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'trabajo'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'abajo'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'tareas'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'cobros'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'ingenuo'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'alrededor'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'doble'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'cobro'?

Check warning on line 197 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L197

Did you really mean 'reintento'?
- **Una clave reutilizada se rechaza, no se reproduce.** Pasa tu propia `idempotency_key` (`idempotencyKey` en TypeScript) para hacer idempotente un reintento, y la segunda solicitud con esa clave falla con `422 idempotency_key_reuse` en lugar de devolver la primera tarea. Los SDK lanzan `IdempotencyKeyReuse`. Eso es lo contrario de lo que suele significar "reintento idempotente", así que manéjalo de forma explícita.

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'reutilizada'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'se'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'rechaza'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'se'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'Pasa'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'tu'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'hacer'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'idempotente'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'reintento'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'segunda'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'solicitud'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'esa'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'falla'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'lugar'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'devolver'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'primera'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'tarea'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'lanzan'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'Eso'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'contrario'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'que'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'suele'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'significar'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'reintento'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'idempotente'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'que'?

Check warning on line 198 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L198

Did you really mean 'forma'?
- **La recuperación consiste en ir a buscar la tarea, no en reenviar.** Ante `IdempotencyKeyReuse`, es muy posible que el primer intento ya haya creado una tarea. Recupérala con `client.jobs.get(job_id)`. Esa consulta necesita un id que ya hayas guardado, así que solo recupera el caso en que el envío devolvió y persististe el id antes del fallo. Si la conexión se cortó antes de registrar el id, no hay nada que buscar ni recuperación automática: los ejemplos siguientes vuelven a lanzar la excepción para manejarla a mano en lugar de reenviar con una clave reclamada.

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'consiste'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'ir'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'buscar'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'tarea'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'reenviar'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'muy'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'posible'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'intento'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'haya'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'creado'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'una'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'tarea'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'Esa'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'consulta'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'necesita'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'hayas'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'guardado'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'recupera'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'caso'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'persististe'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'fallo'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'se'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'nada'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'buscar'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'ni'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'los'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'ejemplos'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'siguientes'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'vuelven'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'lanzar'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'manejarla'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'mano'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'lugar'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'reenviar'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'una'?

Check warning on line 199 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L199

Did you really mean 'reclamada'?
- **La clave se libera cuando el envío falló de forma definitiva.** Un error de validación, un rechazo por falta de créditos o un rechazo por cola llena no crean ninguna tarea y liberan la clave, así que reenviar con ella es válido. Tras un fallo *ambiguo* (un timeout de lectura, una conexión cortada a mitad de la solicitud) la clave sigue reclamada: busca la tarea en lugar de reenviar.

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'se'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'libera'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'cuando'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'forma'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'definitiva'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'Un'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'rechazo'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'por'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'falta'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'rechazo'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'llena'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'crean'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'ninguna'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'tarea'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'liberan'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'que'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'reenviar'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'ella'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'Tras'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'fallo'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'ambiguo'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'lectura'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'una'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'cortada'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'mitad'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'solicitud'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'sigue'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'reclamada'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'busca'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'tarea'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'lugar'?

Check warning on line 200 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L200

Did you really mean 'reenviar'?
- **Las claves caducan a las 24 horas** y deben ser ASCII imprimible no vacío y respetar el límite de longitud. Una clave inválida lanza `ValueError` antes de realizar ninguna solicitud, así que un `""` explícito nunca recurre en silencio a una clave generada.

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'claves'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'caducan'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'las'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'deben'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'imprimible'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'respetar'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'longitud'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'lanza'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'realizar'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'ninguna'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'solicitud'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'que'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'nunca'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'recurre'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'silencio'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'una'?

Check warning on line 201 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L201

Did you really mean 'generada'?

Por lo tanto, un reintento que sea seguro de ejecutar más de una vez tiene que llevar dos cosas de un intento a otro: la clave, para que el servidor pueda distinguir un reintento de un envío nuevo, y el ID de trabajo, para que puedas encontrar la tarea que una clave reclamada ya creó.

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'Por'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'un'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'reintento'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'que'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'seguro'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'ejecutar'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'una'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'vez'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'tiene'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'que'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'llevar'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'cosas'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'intento'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'otro'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'que'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'servidor'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'pueda'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'distinguir'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'reintento'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'nuevo'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'trabajo'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'que'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'puedas'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'encontrar'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'tarea'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'que'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'una'?

Check warning on line 203 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L203

Did you really mean 'reclamada'?

<CodeGroup>
```python Python
import uuid
from comfy_sdk import IdempotencyKeyReuse

Check warning on line 208 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L208

Did you really mean 'comfy_sdk'?

# Ambos valores pertenecen a tu propio almacén, indexados por lo que la solicitud

Check warning on line 210 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L210

Did you really mean 'valores'?

Check warning on line 210 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L210

Did you really mean 'pertenecen'?

Check warning on line 210 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L210

Did you really mean 'tu'?

Check warning on line 210 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L210

Did you really mean 'propio'?

Check warning on line 210 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L210

Did you really mean 'indexados'?

Check warning on line 210 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L210

Did you really mean 'por'?

Check warning on line 210 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L210

Did you really mean 'que'?

Check warning on line 210 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L210

Did you really mean 'solicitud'?
# signifique para ti. `key` se genera una sola vez, en el primer intento; `job_id`

Check warning on line 211 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L211

Did you really mean 'signifique'?

Check warning on line 211 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L211

Did you really mean 'vez'?

Check warning on line 211 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L211

Did you really mean 'intento'?
# se rellena en cuanto un envío devuelve.

Check warning on line 212 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L212

Did you really mean 'se'?

Check warning on line 212 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L212

Did you really mean 'rellena'?
state = load_submission_state() # {"key": ..., "job_id": ...} or {}

Check warning on line 213 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L213

Did you really mean 'job_id'?
key = state.get("key") or str(uuid.uuid4())
save_submission_state(key=key)

try:
job = client.submit(wf, idempotency_key=key)
save_submission_state(key=key, job_id=job.id)

Check warning on line 219 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L219

Did you really mean 'job_id'?
except IdempotencyKeyReuse:

Check warning on line 220 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L220

Did you really mean 'se'?
# Un intento anterior con esta clave ya llegó al envío, así que puede

Check warning on line 221 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L221

Did you really mean 'Un'?

Check warning on line 221 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L221

Did you really mean 'intento'?

Check warning on line 221 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L221

Did you really mean 'esta'?

Check warning on line 221 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L221

Did you really mean 'que'?

Check warning on line 221 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L221

Did you really mean 'puede'?
# existir una tarea. No reenvíes: ve a buscarla.

Check warning on line 222 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L222

Did you really mean 'existir'?

Check warning on line 222 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L222

Did you really mean 'un'?

Check warning on line 222 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L222

Did you really mean 'tarea'?

Check warning on line 222 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L222

Did you really mean 've'?

Check warning on line 222 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L222

Did you really mean 'buscarla'?
job_id = state.get("job_id")
if job_id is None:
raise # no hay nada registrado que buscar; esto necesita a una persona

Check warning on line 225 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L225

Did you really mean 'nada'?

Check warning on line 225 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L225

Did you really mean 'registrado'?

Check warning on line 225 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L225

Did you really mean 'que'?

Check warning on line 225 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L225

Did you really mean 'buscar'?

Check warning on line 225 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L225

Did you really mean 'esto'?

Check warning on line 225 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L225

Did you really mean 'necesita'?

Check warning on line 225 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L225

Did you really mean 'un'?
job = client.jobs.get(job_id)
```

Expand All @@ -211,45 +231,45 @@

// Ambos valores pertenecen a tu propio almacén, indexados por lo que la solicitud
// signifique para ti. `key` se genera una sola vez, en el primer intento; `jobId`
// se rellena en cuanto un envío devuelve.

Check warning on line 234 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L234

Did you really mean 'cuanto'?

Check warning on line 234 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L234

Did you really mean 'devuelve'?
const state = await loadSubmissionState(); // { key?, jobId? }
const key = state.key ?? crypto.randomUUID();
await saveSubmissionState({ key });

let job;
try {
job = await client.submit(wf, { idempotencyKey: key });

Check warning on line 241 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L241

Did you really mean 'wf'?
await saveSubmissionState({ key, jobId: job.id });
} catch (err) {
// Un intento anterior con esta clave ya llegó al envío, así que puede

Check warning on line 244 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L244

Did you really mean 'Un'?

Check warning on line 244 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L244

Did you really mean 'que'?

Check warning on line 244 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L244

Did you really mean 'puede'?
// existir una tarea. No reenvíes: ve a buscarla.

Check warning on line 245 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L245

Did you really mean 'una'?

Check warning on line 245 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L245

Did you really mean 'tarea'?
if (!(err instanceof IdempotencyKeyReuse) || !state.jobId) throw err;
job = await client.jobs.get(state.jobId);
}
```
</CodeGroup>

`client.jobs.get(job_id)` es la ruta de rehidratación del SDK y necesita un id, y por eso grabar el id en el momento en que un envío devuelve es lo que hace que esto sea recuperable. Consulta [Comfy API v2](/es/api-reference/v2/overview) para ver el contrato completo de la clave en `POST /api/v2/jobs`.

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'ruta'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'necesita'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'eso'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'grabar'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'momento'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'que'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'devuelve'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'que'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'hace'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'esto'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'Consulta'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'ver'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'contrato'?

Check warning on line 252 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L252

Did you really mean 'completo'?

<Note>
La `Idempotency-Key` de Comfy Router se comporta **de forma diferente**. En Router la clave es un identificador de reproducción en lugar de un token de un solo uso: reenviar un envío en cola con la misma clave devuelve la solicitud original en lugar de encolar una segunda. Consulta [idempotencia y facturación en cola](/es/development/comfy-router/queue#idempotencia-y-facturación) y [resultados de reintento en Router](/es/development/comfy-router/errors#resultados-de-reintento). Ambas superficies comparten el nombre de una cabecera, no un contrato.

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'se'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'comporta'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'forma'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'identificador'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'lugar'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'uso'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'reenviar'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'devuelve'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'solicitud'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'lugar'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'encolar'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'una'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'segunda'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'idempotencia'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'resultados'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'reintento'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'Ambas'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'comparten'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'nombre'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'una'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'cabecera'?

Check warning on line 255 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L255

Did you really mean 'contrato'?
</Note>

## Observar la ejecución de una tarea

Check warning on line 258 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L258

Did you really mean 'Observar'?

`job.events()` te ofrece una transmisión en vivo del estado de la tarea: progreso de nodos y pasos, fotogramas de vista previa y cada salida en el momento en que se confirma. Se reconecta por su cuenta si la conexión se cae.

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'ofrece'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'vivo'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'estado'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'progreso'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'nodos'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'pasos'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'fotogramas'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'previa'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'cada'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'salida'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'momento'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'se'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'confirma'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'reconecta'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'por'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'cuenta'?

Check warning on line 260 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L260

Did you really mean 'cae'?

<CodeGroup>
```python Python
from comfy_sdk import Progress, Preview, OutputReady, StatusChange

Check warning on line 264 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L264

Did you really mean 'comfy_sdk'?

job = client.submit(wf)

for event in job.events():
match event:
case Progress() as p:

Check warning on line 270 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L270

Did you really mean 'se'?
print(f"{p.value:.0%} {p.message}")
case Preview() as pv:

Check warning on line 272 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L272

Did you really mean 'pv'?
image = pv.to_pil()
case OutputReady() as o:
o.output.to_file(f"partial/{o.output.name}")
Expand All @@ -262,7 +282,7 @@
```typescript TypeScript
const job = await client.submit(wf);

// La etiqueta es requerida: un `break` sin etiqueta dentro de un switch sale del switch,

Check warning on line 285 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L285

Did you really mean 'que'?
// no del bucle.
eventLoop: for await (const event of job.events()) {
switch (event.kind) {
Expand All @@ -279,32 +299,32 @@
```
</CodeGroup>

`Preview.to_pil()` requiere el extra opcional de Pillow: `pip install "comfy-sdk[pil]"`.

Check warning on line 302 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L302

Did you really mean 'requiere'?

Check warning on line 302 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L302

Did you really mean 'opcional'?

`result()` devuelve la tarea finalizada o lanza `JobFailed` con el detalle a nivel de nodo si la ejecución falla. Consulta el [SDK README](#referencia) de tu idioma para ver el catálogo completo de eventos.

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'devuelve'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'finalizada'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'lanza'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'detalle'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'nivel'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'nodo'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'falla'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'Consulta'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'tu'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'idioma'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'ver'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'completo'?

Check warning on line 304 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L304

Did you really mean 'eventos'?

### `events()` no es `subscribe()`

Existen tres cosas con nombres parecidos en las dos superficies, y solo una de ellas aparece en esta página:

Check warning on line 308 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L308

Did you really mean 'Existen'?

Check warning on line 308 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L308

Did you really mean 'cosas'?

Check warning on line 308 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L308

Did you really mean 'nombres'?

Check warning on line 308 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L308

Did you really mean 'parecidos'?

Check warning on line 308 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L308

Did you really mean 'las'?

Check warning on line 308 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L308

Did you really mean 'una'?

Check warning on line 308 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L308

Did you really mean 'ellas'?

Check warning on line 308 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L308

Did you really mean 'aparece'?

Check warning on line 308 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L308

Did you really mean 'esta'?

| Llamada | Superficie | Qué produce |

Check warning on line 310 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L310

Did you really mean 'Llamada'?

Check warning on line 310 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L310

Did you really mean 'Superficie'?
|---|---|---|
| `job.events()` | Comfy Cloud (esta página) | Una transmisión SSE en vivo de una tarea de flujo de trabajo: `Progress`, `Preview`, `OutputReady`, `StatusChange`. Se reconecta de forma automática y recurre al sondeo si es necesario. |

Check warning on line 312 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L312

Did you really mean 'esta'?

Check warning on line 312 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L312

Did you really mean 'vivo'?

Check warning on line 312 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L312

Did you really mean 'flujo'?

Check warning on line 312 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L312

Did you really mean 'trabajo'?

Check warning on line 312 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L312

Did you really mean 'reconecta'?

Check warning on line 312 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L312

Did you really mean 'forma'?

Check warning on line 312 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L312

Did you really mean 'recurre'?

Check warning on line 312 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L312

Did you really mean 'sondeo'?

Check warning on line 312 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L312

Did you really mean 'necesario'?
| `handle.events()` (TypeScript) / `handle.iter_events()` (Python) | [Entrega en cola de Comfy Router](/es/development/comfy-router/queue) | Observaciones de la cola para una solicitud de Router: estado y posición en la cola. Consulta la ruta de estado mediante sondeo; no hay transmisión ni eventos de progreso o vista previa. |

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'Observaciones'?

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'solicitud'?

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'estado'?

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'Consulta'?

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'ruta'?

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'estado'?

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'mediante'?

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'sondeo'?

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'ni'?

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'eventos'?

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'progreso'?

Check warning on line 313 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L313

Did you really mean 'previa'?
| `comfy.models.subscribe(...)` | [Entrega en cola de Comfy Router](/es/development/comfy-router/queue) | No es un iterador. Envía, sondea y recopila en una sola llamada, con una devolución de llamada `on_queue_update` / `onQueueUpdate`, y se resuelve con el resultado. |

Check warning on line 314 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L314

Did you really mean 'iterador'?

Check warning on line 314 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L314

Did you really mean 'sondea'?

Check warning on line 314 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L314

Did you really mean 'recopila'?

Check warning on line 314 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L314

Did you really mean 'una'?

Check warning on line 314 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L314

Did you really mean 'llamada'?

Check warning on line 314 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L314

Did you really mean 'una'?

Check warning on line 314 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L314

Did you really mean 'se'?

Check warning on line 314 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L314

Did you really mean 'resuelve'?

No existe `subscribe()` en el cliente de Comfy Cloud, ni `job.subscribe()` en ningún lado. El equivalente de `subscribe` en Cloud es `run()`: envía y espera un estado terminal.

Check warning on line 316 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L316

Did you really mean 'existe'?

Check warning on line 316 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L316

Did you really mean 'lado'?

Check warning on line 316 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L316

Did you really mean 'equivalente'?

Check warning on line 316 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L316

Did you really mean 'espera'?

Check warning on line 316 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L316

Did you really mean 'estado'?

La transmisión es un feed en vivo, no un registro reproducible. Existe para que puedas mostrar el progreso, no para que dependas de ella para obtener resultados. Lo que manda es el sondeo de la tarea, y `run()`, `wait()` y `result()` recurren al sondeo de forma automática. Consulta las [Notas de diseño](/es/development/api-development/sdks-design#consulta-primero-transmite-para-el-progreso) para saber por qué.

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'un'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'vivo'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'registro'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'Existe'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'que'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'puedas'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'mostrar'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'progreso'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'que'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'dependas'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'ella'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'obtener'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'resultado'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'manda'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'sondeo'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'tarea'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'recurren'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'sondeo'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'forma'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'Consulta'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'las'?

Check warning on line 318 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L318

Did you really mean 'por'?

## Rastrear una salida hasta su flujo de trabajo

Check warning on line 320 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L320

Did you really mean 'Rastrear'?

Check warning on line 320 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L320

Did you really mean 'salida'?

Check warning on line 320 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L320

Did you really mean 'hasta'?

Check warning on line 320 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L320

Did you really mean 'flujo'?

Check warning on line 320 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L320

Did you really mean 'trabajo'?

Las salidas llevan el id de la tarea que las produjo, así que puedes partir de un archivo y trabajar hacia atrás sin mantener una tabla aparte.

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'salidas'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'llevan'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'tarea'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'que'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'las'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'produjo'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'puedes'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'partir'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'un'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'archivo'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'trabajar'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'hacia'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'mantener'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'una'?

Check warning on line 322 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L322

Did you really mean 'aparte'?

<CodeGroup>
```python Python
output = job.outputs[0]
output.job_id # la tarea que produjo este archivo

Check warning on line 327 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L327

Did you really mean 'que'?

Check warning on line 327 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L327

Did you really mean 'produjo'?

Check warning on line 327 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L327

Did you really mean 'este'?
```

```typescript TypeScript
Expand All @@ -313,57 +333,57 @@
```
</CodeGroup>

El mismo id está en un recurso obtenido por separado, así que un archivo que encuentres más tarde igual te lleva de vuelta a su tarea. Es `None` (en TypeScript: `undefined`) para un recurso que subiste, ya que no tiene una tarea que lo haya producido.

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'mismo'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'un'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'recurso'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'obtenido'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'por'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'separado'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'que'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'archivo'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'que'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'encuentres'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'tarde'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'igual'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'lleva'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'vuelta'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'su'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'tarea'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'recurso'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'que'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'subiste'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'que'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'tiene'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'haya'?

Check warning on line 336 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L336

Did you really mean 'producido'?

Desde la tarea puedes pedir el flujo de trabajo que está detrás. Esto funciona para una tarea que no enviaste en este proceso, rehidratada por id:

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'Desde'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'tarea'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'puedes'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'pedir'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'flujo'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'trabajo'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'que'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'Esto'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'funciona'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'un'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'una'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'enviaste'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'este'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'proceso'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'rehidratada'?

Check warning on line 338 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L338

Did you really mean 'por'?

<CodeGroup>
```python Python
wf = job.get_workflow()

if wf.format == "save":
... # el flujo de trabajo tal como se creó, con el diseño del lienzo y los nodos Note intactos

Check warning on line 345 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L345

Did you really mean 'flujo'?

Check warning on line 345 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L345

Did you really mean 'trabajo'?

Check warning on line 345 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L345

Did you really mean 'tal'?

Check warning on line 345 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L345

Did you really mean 'como'?

Check warning on line 345 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L345

Did you really mean 'se'?

Check warning on line 345 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L345

Did you really mean 'lienzo'?

Check warning on line 345 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L345

Did you really mean 'los'?

Check warning on line 345 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L345

Did you really mean 'nodos'?

Check warning on line 345 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L345

Did you really mean 'intactos'?
else:
... # el gráfico ejecutado en formato API

Check warning on line 347 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L347

Did you really mean 'ejecutado'?

Check warning on line 347 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L347

Did you really mean 'formato'?
```

```typescript TypeScript
const wf = await job.getWorkflow();

if (wf.format === "save") {
// el flujo de trabajo tal como se creó, con el diseño del lienzo y los nodos Note intactos

Check warning on line 354 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L354

Did you really mean 'flujo'?

Check warning on line 354 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L354

Did you really mean 'trabajo'?

Check warning on line 354 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L354

Did you really mean 'como'?

Check warning on line 354 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L354

Did you really mean 'se'?

Check warning on line 354 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L354

Did you really mean 'los'?

Check warning on line 354 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L354

Did you really mean 'nodos'?
} else {
// el gráfico ejecutado en formato API
}
```
</CodeGroup>

**Ramifica siempre según `format`.** La forma que devuelve depende de cómo se envió la tarea, no de nada que controles por solicitud:

Check warning on line 361 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L361

Did you really mean 'Ramifica'?

Check warning on line 361 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L361

Did you really mean 'siempre'?

Check warning on line 361 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L361

Did you really mean 'que'?

Check warning on line 361 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L361

Did you really mean 'devuelve'?

Check warning on line 361 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L361

Did you really mean 'depende'?

Check warning on line 361 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L361

Did you really mean 'nada'?

Check warning on line 361 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L361

Did you really mean 'controles'?

Check warning on line 361 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L361

Did you really mean 'por'?

Check warning on line 361 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L361

Did you really mean 'solicitud'?

| `format` | Qué obtienes | Cuándo |

Check warning on line 363 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L363

Did you really mean 'obtienes'?
|---|---|---|
| `save` | El flujo de trabajo de autoría en la versión en que se ejecutó la tarea, con el diseño del lienzo y los nodos exclusivos del editor, como Note | Tareas enviadas desde el editor de Comfy Cloud, que fija una versión del flujo de trabajo |

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'flujo'?

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'trabajo'?

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'que'?

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'tarea'?

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'lienzo'?

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'los'?

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'nodos'?

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'exclusivos'?

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'Tareas'?

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'enviadas'?

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'desde'?

Check warning on line 365 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L365

Did you really mean 'fija'?
| `api` | El gráfico ejecutado. Las construcciones exclusivas del editor desaparecen y los nodos Get/Set se expanden | Todo lo demás, incluidas todas las tareas enviadas a través de estos SDKs hoy |

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'ejecutado'?

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'construcciones'?

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'exclusivas'?

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'desaparecen'?

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'expanden'?

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'incluidas'?

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'todas'?

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'las'?

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'tareas'?

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'enviadas'?

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'estos'?

Check warning on line 366 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L366

Did you really mean 'SDKs'?

Las tareas que envías a través del SDK siempre devuelven `api`, porque el envío v2 todavía no tiene campos para fijar la versión. Eso cambiará; el discriminador está ahí para que tu código no tenga que ocuparse de ello.

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'tareas'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'que'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'siempre'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'devuelven'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'porque'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'tiene'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'campos'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'fijar'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'Eso'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'discriminador'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'que'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'tu'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'tenga'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'ocuparse'?

Check warning on line 368 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L368

Did you really mean 'ello'?

## Etiquetar tareas y encontrarlas más tarde

Check warning on line 370 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L370

Did you really mean 'Etiquetar'?

Check warning on line 370 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L370

Did you really mean 'tareas'?

Check warning on line 370 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L370

Did you really mean 'encontrarlas'?

Check warning on line 370 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L370

Did you really mean 'tarde'?

Una etiqueta es una clave y un valor que adjuntas a una tarea al enviarla, como `client: acme` o `project: spring`. Usa las etiquetas para registrar para cuál de tus clientes o proyectos se ejecutó una tarea. Después puedes listar las tareas de un cliente sin mantener tu propia tabla de ids de tareas. Las etiquetas y la lista de tareas necesitan la versión actual del SDK, la que se indica en la nota de versión en [Instalar](#instalar).

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'etiqueta'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'una'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'un'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'adjuntas'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'una'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'tarea'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'enviarla'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'como'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'Usa'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'las'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'etiquetas'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'tus'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'clientes'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'proyectos'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'una'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'puedes'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'listar'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'las'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'tareas'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'mantener'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'tu'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'propia'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'tareas'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'etiquetas'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'lista'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'tareas'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'necesitan'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'indica'?

Check warning on line 372 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L372

Did you really mean 'nota'?

Las etiquetas funcionan en tareas enviadas a un [despliegue de Comfy API](#despliegue-de-comfy-api), así que configura `COMFY_BASE_URL` con la dirección del despliegue como se muestra en [Elegir una URL base](#elegir-una-url-base). Comfy Cloud las rechaza por ahora y responde a la lista de tareas con `501` y el código `not_implemented`. Un [comfy-api-proxy](#tu-propio-comfyui) autoalojado tampoco las guarda: su propio campo `metadata` es una sola cadena de texto, así que rechaza un mapa de etiquetas. Su lista de tareas ignora los filtros de etiquetas, por lo que una llamada de lista del SDK con etiquetas no devuelve ninguna tarea allí, y los mismos filtros por HTTP devuelven todas las tareas.

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'etiquetas'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'funcionan'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'tareas'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'enviadas'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'despliegue'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'que'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'configura'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'muestra'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'una'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'las'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'rechaza'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'por'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'ahora'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'responde'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'lista'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'tareas'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'autoalojado'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'tampoco'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'las'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'guarda'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'propio'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'una'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'cadena'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'texto'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'que'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'rechaza'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'mapa'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'etiquetas'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'Su'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'lista'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'tareas'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'ignora'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'los'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'filtros'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'etiquetas'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'llamada'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'lista'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'etiquetas'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'devuelve'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'ninguna'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'mismos'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'filtros'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'devuelven'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'todas'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'las'?

Check warning on line 374 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L374

Did you really mean 'tareas'?

Los límites:

- Hasta 16 etiquetas por tarea.

Check warning on line 378 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L378

Did you really mean 'Hasta'?

Check warning on line 378 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L378

Did you really mean 'etiquetas'?

Check warning on line 378 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L378

Did you really mean 'por'?
- Una clave tiene de 1 a 40 caracteres: letras, dígitos, `_`, `-` y `.`.

Check warning on line 379 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L379

Did you really mean 'tiene'?

Check warning on line 379 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L379

Did you really mean 'caracteres'?

Check warning on line 379 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L379

Did you really mean 'letras'?
- Un valor es una cadena de hasta 256 bytes (UTF-8).

Check warning on line 380 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L380

Did you really mean 'una'?

Check warning on line 380 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L380

Did you really mean 'cadena'?

Check warning on line 380 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L380

Did you really mean 'hasta'?
- Las etiquetas se establecen al enviar la tarea y no se pueden cambiar después.

Check warning on line 381 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L381

Did you really mean 'etiquetas'?

Check warning on line 381 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L381

Did you really mean 'se'?

Check warning on line 381 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L381

Did you really mean 'establecen'?

Check warning on line 381 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L381

Did you really mean 'enviar'?

Check warning on line 381 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L381

Did you really mean 'pueden'?

Check warning on line 381 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L381

Did you really mean 'cambiar'?

Un envío que incumpla un límite falla con `422` y el código `metadata_invalid`, y no se crea ninguna tarea. El mensaje de error indica la clave que incumplió la regla, o da la cuenta cuando hay más de 16 etiquetas. Los SDK no comprueban los límites por sí mismos. Lanzan un error que lleva el código y el mensaje del servidor.

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'Un'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'que'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'incumpla'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'un'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'falla'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'crea'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'ninguna'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'mensaje'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'indica'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'que'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'regla'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'cuenta'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'cuando'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'etiquetas'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'comprueban'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'por'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'mismos'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'Lanzan'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'lleva'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'mensaje'?

Check warning on line 383 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L383

Did you really mean 'servidor'?

<Warning>
Cualquiera en tu espacio de trabajo que pueda ver una tarea puede ver sus etiquetas. No pongas credenciales ni datos personales en ellas.

Check warning on line 386 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L386

Did you really mean 'Cualquiera'?

Check warning on line 386 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L386

Did you really mean 'tu'?

Check warning on line 386 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L386

Did you really mean 'espacio'?

Check warning on line 386 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L386

Did you really mean 'pueda'?

Check warning on line 386 in es/development/api-development/sdks.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

es/development/api-development/sdks.mdx#L386

Did you really mean 'ver'?
</Warning>

Pasa `metadata` al enviar. La tarea lleva las etiquetas cuando la vuelves a leer:
Expand Down
28 changes: 24 additions & 4 deletions ja/development/api-development/sdks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ title: "Comfy SDK:ComfyUI 向け Python・TypeScript クライアント"
description: "Comfy Cloud、デプロイ環境、または自前の ComfyUI に対して Python または TypeScript から ComfyUI ワークフローを実行し、アセット、ジョブ、ライブイベント、冪等なリトライを扱います。"
sidebarTitle: "SDK"
icon: "code"
translationSourceHash: 918d35f0
translationSourceHash: da14b84c
translationFrom: development/api-development/sdks.mdx
translationBlockHashes:
"_intro": c92c7b51
"Install": da9a0a57
"Using a coding agent": 6540d772
"Coding agents": eed20c28
"Quickstart": 02297586
"Choosing a base URL": 0e77e81c
"Retrying a submit: the idempotency key": 7c83d78f
Expand Down Expand Up @@ -65,9 +65,29 @@ Python 3.10 以降。Node 22 以降。

<SdkVersions />

## コーディングエージェントを使う
## コーディングエージェント

コーディングエージェントに Comfy Router の連携コードを書かせる場合は、`comfy-sdk` スキルを渡してください。このスキルは Comfy Router 上での開発向けに書かれており、適切なクライアントの選択、API キーをサーバー側に保つこと、呼び出す前にモデルを検出すること、`run` と `submit` の使い分け、タイムアウト、エラーの種別ごとの分岐についてエージェントを導きます。このスキルは ComfyUI ワークフローの実行を扱いません。このページのワークフロークライアントについては、代わりにこのガイドと [Comfy API v2 リファレンス](/ja/api-reference/v2/overview) をエージェントに参照させてください。Claude Code では、`/plugin marketplace add Comfy-Org/comfy-skills` を実行してから `/plugin install comfy-sdk@comfy-skills` を実行します。その他のエージェントでは、単一の [`SKILL.md`](https://github.com/Comfy-Org/comfy-skills/blob/main/claude-code-sdk/skills/comfy-sdk/SKILL.md) ファイルを `AGENTS.md` や Cursor のルールなど、エージェントのルールにコピーしてください。
コーディングエージェントに Comfy Router 連携を書かせる場合は、`comfy-sdk` スキルを渡してください。

このスキルが扱うのは、エージェントが間違えやすい次の点です。

- どのクライアントを使うか
- API キーをサーバー側に置くこと
- 呼び出す前にモデルを確認すること
- `run` と `submit` の使い分け
- タイムアウト
- エラーの種別ごとの分岐

ComfyUI ワークフローの実行は対象外です。このページのワークフロークライアントを使う場合は、このガイドと [Comfy API v2 リファレンス](/ja/api-reference/v2/overview) の両方をエージェントに参照させてください。

Claude Code では次を実行します。

```
/plugin marketplace add Comfy-Org/comfy-skills
/plugin install comfy-sdk@comfy-skills
```

その他のエージェントでは、[`SKILL.md`](https://github.com/Comfy-Org/comfy-skills/blob/main/claude-code-sdk/skills/comfy-sdk/SKILL.md) ファイルを `AGENTS.md` や Cursor のルールにコピーしてください。

## クイックスタート

Expand Down
28 changes: 24 additions & 4 deletions ko/development/api-development/sdks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ title: "Comfy SDK: ComfyUI용 Python 및 TypeScript 클라이언트"
description: "Python 또는 TypeScript로 Comfy Cloud, 자체 배포 또는 자체 ComfyUI를 대상으로 ComfyUI 워크플로를 실행하고, 에셋, 작업, 라이브 이벤트, 멱등 재시도를 다룹니다."
sidebarTitle: "SDK"
icon: "code"
translationSourceHash: 918d35f0
translationSourceHash: da14b84c
translationFrom: development/api-development/sdks.mdx
translationBlockHashes:
"_intro": c92c7b51
"Install": da9a0a57
"Using a coding agent": 6540d772
"Coding agents": eed20c28
"Quickstart": 02297586
"Choosing a base URL": 0e77e81c
"Retrying a submit: the idempotency key": 7c83d78f
Expand Down Expand Up @@ -65,9 +65,29 @@ Python 3.10 이상. Node 22 이상.

<SdkVersions />

## 코딩 에이전트 사용하기
## 코딩 에이전트

코딩 에이전트가 Comfy Router 통합 코드를 작성한다면 `comfy-sdk` 스킬을 제공하세요. 이 스킬은 Comfy Router 기반 개발을 위해 작성되었으며, 올바른 클라이언트 선택, API 키를 서버에 보관하기, 호출 전에 모델 탐색하기, `run`과 `submit` 중 선택하기, 타임아웃, 오류 유형별 분기 처리에 대해 에이전트를 안내합니다. 이 스킬은 ComfyUI 워크플로 실행을 다루지 않습니다. 이 페이지의 워크플로 클라이언트에 대해서는 대신 이 가이드와 [Comfy API v2 레퍼런스](/ko/api-reference/v2/overview)를 에이전트에게 참고하도록 하세요. Claude Code에서는 `/plugin marketplace add Comfy-Org/comfy-skills`를 실행한 다음 `/plugin install comfy-sdk@comfy-skills`를 실행하세요. 다른 에이전트의 경우 단일 [`SKILL.md`](https://github.com/Comfy-Org/comfy-skills/blob/main/claude-code-sdk/skills/comfy-sdk/SKILL.md) 파일을 `AGENTS.md`나 Cursor 규칙 등 에이전트의 규칙에 복사하세요.
코딩 에이전트가 Comfy Router 통합 코드를 작성한다면 `comfy-sdk` 스킬을 넘겨주세요.

이 스킬이 다루는 것은 에이전트가 자주 틀리는 부분입니다.

- 어떤 클라이언트를 쓸지
- API 키를 서버에 두기
- 호출 전에 모델 확인하기
- `run`과 `submit` 중 선택
- 타임아웃
- 오류 유형별 분기

ComfyUI 워크플로 실행은 다루지 않습니다. 이 페이지의 워크플로 클라이언트를 쓸 때는 이 가이드와 [Comfy API v2 레퍼런스](/ko/api-reference/v2/overview)를 모두 에이전트에게 참고하도록 하세요.

Claude Code에서는 다음을 실행합니다.

```
/plugin marketplace add Comfy-Org/comfy-skills
/plugin install comfy-sdk@comfy-skills
```

다른 에이전트의 경우 [`SKILL.md`](https://github.com/Comfy-Org/comfy-skills/blob/main/claude-code-sdk/skills/comfy-sdk/SKILL.md) 파일을 `AGENTS.md`나 Cursor 규칙에 복사하세요.

## 빠른 시작

Expand Down
28 changes: 24 additions & 4 deletions zh/development/api-development/sdks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ title: "Comfy SDK:ComfyUI 的 Python 与 TypeScript 客户端"
description: "用 Python 或 TypeScript 对 Comfy Cloud、自建部署或自有 ComfyUI 运行 ComfyUI 工作流,并处理资产、任务、实时事件和幂等重试。"
sidebarTitle: "SDK"
icon: "code"
translationSourceHash: 918d35f0
translationSourceHash: da14b84c
translationFrom: development/api-development/sdks.mdx
translationBlockHashes:
"_intro": c92c7b51
"Install": da9a0a57
"Using a coding agent": 6540d772
"Coding agents": eed20c28
"Quickstart": 02297586
"Choosing a base URL": 0e77e81c
"Retrying a submit: the idempotency key": 7c83d78f
Expand Down Expand Up @@ -65,9 +65,29 @@ Python 3.10 或更高版本。Node 22 或更高版本。

<SdkVersions />

## 使用编码代理
## 编程智能体

如果由编码代理编写您的 Comfy Router 集成,请为它提供 `comfy-sdk` 技能。该技能面向基于 Comfy Router 的开发,引导代理选择正确的客户端、将 API 密钥保留在服务器端、先发现模型再调用、在 `run` 与 `submit` 之间做出选择、设置超时,以及按错误类别分支处理。该技能不涵盖运行 ComfyUI 工作流。对于本页介绍的工作流客户端,请改为让代理参考本指南和 [Comfy API v2 参考](/zh/api-reference/v2/overview)。在 Claude Code 中,先运行 `/plugin marketplace add Comfy-Org/comfy-skills`,再运行 `/plugin install comfy-sdk@comfy-skills`。对于其他代理,将单个 [`SKILL.md`](https://github.com/Comfy-Org/comfy-skills/blob/main/claude-code-sdk/skills/comfy-sdk/SKILL.md) 文件复制到代理的规则中,例如 `AGENTS.md` 或您的 Cursor 规则。
用编程智能体写 Comfy Router 集成时,给它 `comfy-sdk` 技能。

技能讲的是代理常错的几件事:

- 选哪个客户端
- 密钥放服务端
- 调用前先查模型
- `run` 还是 `submit`
- 超时
- 错误按类别处理

ComfyUI 工作流不在它的范围内。写本页这类工作流客户端时,把本页和 [Comfy API v2 参考](/zh/api-reference/v2/overview) 都给代理看。

Claude Code 里跑:

```
/plugin marketplace add Comfy-Org/comfy-skills
/plugin install comfy-sdk@comfy-skills
```

其它代理,把 [`SKILL.md`](https://github.com/Comfy-Org/comfy-skills/blob/main/claude-code-sdk/skills/comfy-sdk/SKILL.md) 这一个文件拷进 `AGENTS.md` 或 Cursor 规则。

## 快速入门

Expand Down
Loading