@executioncontrolprotocol/adobe-firefly-services 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +81 -0
- package/dist/auth/ims.d.ts +42 -0
- package/dist/auth/ims.d.ts.map +1 -0
- package/dist/auth/ims.js +54 -0
- package/dist/auth/ims.js.map +1 -0
- package/dist/generated/audio-video/capabilities.d.ts +37 -0
- package/dist/generated/audio-video/capabilities.d.ts.map +1 -0
- package/dist/generated/audio-video/capabilities.js +488 -0
- package/dist/generated/audio-video/capabilities.js.map +1 -0
- package/dist/generated/audio-video/index.d.ts +3 -0
- package/dist/generated/audio-video/index.d.ts.map +1 -0
- package/dist/generated/audio-video/index.js +3 -0
- package/dist/generated/audio-video/index.js.map +1 -0
- package/dist/generated/audio-video/schemas.d.ts +84 -0
- package/dist/generated/audio-video/schemas.d.ts.map +1 -0
- package/dist/generated/audio-video/schemas.js +476 -0
- package/dist/generated/audio-video/schemas.js.map +1 -0
- package/dist/generated/creative-production/capabilities.d.ts +11 -0
- package/dist/generated/creative-production/capabilities.d.ts.map +1 -0
- package/dist/generated/creative-production/capabilities.js +168 -0
- package/dist/generated/creative-production/capabilities.js.map +1 -0
- package/dist/generated/creative-production/index.d.ts +3 -0
- package/dist/generated/creative-production/index.d.ts.map +1 -0
- package/dist/generated/creative-production/index.js +3 -0
- package/dist/generated/creative-production/index.js.map +1 -0
- package/dist/generated/creative-production/schemas.d.ts +23 -0
- package/dist/generated/creative-production/schemas.d.ts.map +1 -0
- package/dist/generated/creative-production/schemas.js +130 -0
- package/dist/generated/creative-production/schemas.js.map +1 -0
- package/dist/generated/express/capabilities.d.ts +11 -0
- package/dist/generated/express/capabilities.d.ts.map +1 -0
- package/dist/generated/express/capabilities.js +114 -0
- package/dist/generated/express/capabilities.js.map +1 -0
- package/dist/generated/express/index.d.ts +3 -0
- package/dist/generated/express/index.d.ts.map +1 -0
- package/dist/generated/express/index.js +3 -0
- package/dist/generated/express/index.js.map +1 -0
- package/dist/generated/express/schemas.d.ts +36 -0
- package/dist/generated/express/schemas.d.ts.map +1 -0
- package/dist/generated/express/schemas.js +136 -0
- package/dist/generated/express/schemas.js.map +1 -0
- package/dist/generated/firefly/capabilities.d.ts +29 -0
- package/dist/generated/firefly/capabilities.d.ts.map +1 -0
- package/dist/generated/firefly/capabilities.js +307 -0
- package/dist/generated/firefly/capabilities.js.map +1 -0
- package/dist/generated/firefly/index.d.ts +3 -0
- package/dist/generated/firefly/index.d.ts.map +1 -0
- package/dist/generated/firefly/index.js +3 -0
- package/dist/generated/firefly/index.js.map +1 -0
- package/dist/generated/firefly/schemas.d.ts +107 -0
- package/dist/generated/firefly/schemas.d.ts.map +1 -0
- package/dist/generated/firefly/schemas.js +453 -0
- package/dist/generated/firefly/schemas.js.map +1 -0
- package/dist/generated/illustrator/capabilities.d.ts +17 -0
- package/dist/generated/illustrator/capabilities.d.ts.map +1 -0
- package/dist/generated/illustrator/capabilities.js +169 -0
- package/dist/generated/illustrator/capabilities.js.map +1 -0
- package/dist/generated/illustrator/index.d.ts +3 -0
- package/dist/generated/illustrator/index.d.ts.map +1 -0
- package/dist/generated/illustrator/index.js +3 -0
- package/dist/generated/illustrator/index.js.map +1 -0
- package/dist/generated/illustrator/schemas.d.ts +56 -0
- package/dist/generated/illustrator/schemas.d.ts.map +1 -0
- package/dist/generated/illustrator/schemas.js +237 -0
- package/dist/generated/illustrator/schemas.js.map +1 -0
- package/dist/generated/indesign/capabilities.d.ts +33 -0
- package/dist/generated/indesign/capabilities.d.ts.map +1 -0
- package/dist/generated/indesign/capabilities.js +390 -0
- package/dist/generated/indesign/capabilities.js.map +1 -0
- package/dist/generated/indesign/index.d.ts +3 -0
- package/dist/generated/indesign/index.d.ts.map +1 -0
- package/dist/generated/indesign/index.js +3 -0
- package/dist/generated/indesign/index.js.map +1 -0
- package/dist/generated/indesign/schemas.d.ts +26 -0
- package/dist/generated/indesign/schemas.d.ts.map +1 -0
- package/dist/generated/indesign/schemas.js +250 -0
- package/dist/generated/indesign/schemas.js.map +1 -0
- package/dist/generated/index.d.ts +4 -0
- package/dist/generated/index.d.ts.map +1 -0
- package/dist/generated/index.js +98 -0
- package/dist/generated/index.js.map +1 -0
- package/dist/generated/photoshop/capabilities.d.ts +15 -0
- package/dist/generated/photoshop/capabilities.d.ts.map +1 -0
- package/dist/generated/photoshop/capabilities.js +143 -0
- package/dist/generated/photoshop/capabilities.js.map +1 -0
- package/dist/generated/photoshop/index.d.ts +3 -0
- package/dist/generated/photoshop/index.d.ts.map +1 -0
- package/dist/generated/photoshop/index.js +3 -0
- package/dist/generated/photoshop/index.js.map +1 -0
- package/dist/generated/photoshop/schemas.d.ts +154 -0
- package/dist/generated/photoshop/schemas.d.ts.map +1 -0
- package/dist/generated/photoshop/schemas.js +718 -0
- package/dist/generated/photoshop/schemas.js.map +1 -0
- package/dist/generated/substance3d/capabilities.d.ts +23 -0
- package/dist/generated/substance3d/capabilities.d.ts.map +1 -0
- package/dist/generated/substance3d/capabilities.js +236 -0
- package/dist/generated/substance3d/capabilities.js.map +1 -0
- package/dist/generated/substance3d/index.d.ts +3 -0
- package/dist/generated/substance3d/index.d.ts.map +1 -0
- package/dist/generated/substance3d/index.js +3 -0
- package/dist/generated/substance3d/index.js.map +1 -0
- package/dist/generated/substance3d/schemas.d.ts +78 -0
- package/dist/generated/substance3d/schemas.d.ts.map +1 -0
- package/dist/generated/substance3d/schemas.js +517 -0
- package/dist/generated/substance3d/schemas.js.map +1 -0
- package/dist/http/async-job.d.ts +27 -0
- package/dist/http/async-job.d.ts.map +1 -0
- package/dist/http/async-job.js +28 -0
- package/dist/http/async-job.js.map +1 -0
- package/dist/http/client.d.ts +53 -0
- package/dist/http/client.d.ts.map +1 -0
- package/dist/http/client.js +75 -0
- package/dist/http/client.js.map +1 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +49 -0
- package/dist/index.js.map +1 -0
- package/dist/runtime/invoke.d.ts +54 -0
- package/dist/runtime/invoke.d.ts.map +1 -0
- package/dist/runtime/invoke.js +64 -0
- package/dist/runtime/invoke.js.map +1 -0
- package/openapi/audio-video/audio-video-api.json +8333 -0
- package/openapi/audio-video/translate-lipsync-openapi.json +1967 -0
- package/openapi/content-tagging/SOURCE.md +10 -0
- package/openapi/creative-production/workflow-builder-api.yaml +1002 -0
- package/openapi/express/ffs-express-api.json +2262 -0
- package/openapi/firefly/firefly-api.json +4964 -0
- package/openapi/illustrator/illustrator-api-beta.json +1329 -0
- package/openapi/illustrator/illustrator-api.json +2447 -0
- package/openapi/indesign/indesignapi.json +2907 -0
- package/openapi/overlays/schema-fixes.json +95 -0
- package/openapi/photoshop/photoshopv2-api.json +5395 -0
- package/openapi/substance3d/openapi.yaml +3583 -0
- package/package.json +36 -0
package/README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# @executioncontrolprotocol/adobe-firefly-services
|
|
2
|
+
|
|
3
|
+
Adobe Firefly Services extension for ECP. One package exposes **family-prefixed** capabilities generated from vendored OpenAPI specs (Photoshop **v2** only).
|
|
4
|
+
|
|
5
|
+
Auth uses current [OAuth Server-to-Server](https://developer.adobe.com/developer-console/docs/guides/authentication/ServerToServerAuthentication/) (`client_credentials`). Bind credentials with `secrets()` / `env()` — not deprecated JWT technical accounts.
|
|
6
|
+
|
|
7
|
+
Guide index: [Firefly Services docs](https://developer.adobe.com/firefly-services/docs/guides/).
|
|
8
|
+
|
|
9
|
+
## Binding
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import "@executioncontrolprotocol/adobe-firefly-services"
|
|
13
|
+
import { environment, extension, secrets } from "@executioncontrolprotocol/node"
|
|
14
|
+
|
|
15
|
+
export default environment("adobe-demo")
|
|
16
|
+
.withExtensions([
|
|
17
|
+
extension("@executioncontrolprotocol/secrets").with({}),
|
|
18
|
+
extension("@executioncontrolprotocol/adobe-firefly-services").with({
|
|
19
|
+
clientId: secrets("adobe-firefly-services/client-id"),
|
|
20
|
+
clientSecret: secrets("adobe-firefly-services/client-secret"),
|
|
21
|
+
// scopes: optional; defaults to Firefly Services S2S scopes
|
|
22
|
+
}),
|
|
23
|
+
])
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Families
|
|
27
|
+
|
|
28
|
+
| Prefix | Spec (under `openapi/`) | Notes |
|
|
29
|
+
| ------ | ----------------------- | ----- |
|
|
30
|
+
| `firefly` | `firefly/firefly-api.json` | Generative image/video/etc. |
|
|
31
|
+
| `photoshop` | `photoshop/photoshopv2-api.json` | v2 only; absorbs Lightroom-style workflows |
|
|
32
|
+
| `express` | `express/ffs-express-api.json` | Express (beta) |
|
|
33
|
+
| `indesign` | `indesign/indesignapi.json` | InDesign |
|
|
34
|
+
| `substance3d` | `substance3d/openapi.yaml` | Substance 3D |
|
|
35
|
+
| `illustrator` | `illustrator/*.json` | GA + beta merged |
|
|
36
|
+
| `creative-production` | `creative-production/workflow-builder-api.yaml` | Workflow Builder |
|
|
37
|
+
| `audio-video` | `audio-video/*.json` | Audio/Video + translate/lipsync |
|
|
38
|
+
|
|
39
|
+
Capability ids: `@executioncontrolprotocol/adobe-firefly-services.<family>.<kebab-operationId>`
|
|
40
|
+
Examples:
|
|
41
|
+
- `@executioncontrolprotocol/adobe-firefly-services.firefly.generate-images-v3-async`
|
|
42
|
+
- `@executioncontrolprotocol/adobe-firefly-services.firefly.generate-images-v5-async` (Image5)
|
|
43
|
+
|
|
44
|
+
Photoshop v1 and standalone Lightroom OpenAPI are **out of scope** (v2 supersedes them).
|
|
45
|
+
|
|
46
|
+
**Content Tagging:** no Firefly Services OpenAPI is published under AdobeDocs `ffs-*` yet — see `openapi/content-tagging/SOURCE.md`. Express tagged-document endpoints live under the `express` family.
|
|
47
|
+
|
|
48
|
+
## Asset URLs via Azure Blob Storage
|
|
49
|
+
|
|
50
|
+
Firefly and Photoshop accept allow-listed HTTPS SAS URLs (including Azure `*.windows.net`). Use [`@executioncontrolprotocol/azure-blob-storage`](../azure-blob-storage/) to upload assets and mint read/write SAS URLs, then pass them into Firefly `referenceBlobs` / Photoshop `source.url` via `ref()`. See `examples/azure-adobe-assets/`.
|
|
51
|
+
|
|
52
|
+
## Capability input shape
|
|
53
|
+
|
|
54
|
+
Generated handlers merge OpenAPI path/query/header/body into:
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
{
|
|
58
|
+
path?: { ... },
|
|
59
|
+
query?: { ... },
|
|
60
|
+
headers?: { ... },
|
|
61
|
+
body?: { ... },
|
|
62
|
+
poll?: boolean,
|
|
63
|
+
pollIntervalMs?: number,
|
|
64
|
+
pollTimeoutMs?: number,
|
|
65
|
+
}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
When `poll: true` and the response includes a status URL, the runtime polls until success/failure/timeout.
|
|
69
|
+
|
|
70
|
+
## Codegen
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
npm run fetch:specs -w @executioncontrolprotocol/adobe-firefly-services # network
|
|
74
|
+
npm run generate -w @executioncontrolprotocol/adobe-firefly-services # offline from openapi/
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Generated sources under `src/generated/` are committed. Empty free-form OpenAPI objects fail the generator (use `openapi/overlays/`); `z.unknown` / `z.any` / untyped `z.record` are forbidden.
|
|
78
|
+
|
|
79
|
+
## Example
|
|
80
|
+
|
|
81
|
+
See [`examples/adobe-firefly-smoke/`](../../examples/adobe-firefly-smoke/) for a thin env + workflow, and [`examples/azure-adobe-assets/`](../../examples/azure-adobe-assets/) for Azure upload + Image5 recolor.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @category Auth
|
|
3
|
+
* Adobe IMS OAuth Server-to-Server (client_credentials) token helper.
|
|
4
|
+
*/
|
|
5
|
+
export declare const DEFAULT_IMS_TOKEN_URL = "https://ims-na1.adobelogin.com/ims/token/v3";
|
|
6
|
+
/** Default scopes for Firefly Services S2S credentials. */
|
|
7
|
+
export declare const DEFAULT_FIREFLY_SCOPES = "openid,AdobeID,session,additional_info,read_organizations,firefly_api,ff_apis";
|
|
8
|
+
/**
|
|
9
|
+
* Extension config fields used for IMS auth.
|
|
10
|
+
* @category Auth
|
|
11
|
+
*/
|
|
12
|
+
export interface AdobeImsConfig {
|
|
13
|
+
/** Adobe Developer Console client id (also used as x-api-key). */
|
|
14
|
+
clientId: string;
|
|
15
|
+
/** Adobe Developer Console client secret. */
|
|
16
|
+
clientSecret: string;
|
|
17
|
+
/** Space- or comma-separated IMS scopes. */
|
|
18
|
+
scopes?: string;
|
|
19
|
+
/** Override IMS token endpoint. */
|
|
20
|
+
imsEndpoint?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Cached bearer token.
|
|
24
|
+
* @category Auth
|
|
25
|
+
*/
|
|
26
|
+
export interface AdobeAccessToken {
|
|
27
|
+
/** Bearer access token. */
|
|
28
|
+
accessToken: string;
|
|
29
|
+
/** Absolute expiry time (epoch ms). */
|
|
30
|
+
expiresAtMs: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Normalize scopes to the form IMS expects (comma-separated).
|
|
34
|
+
* @category Auth
|
|
35
|
+
*/
|
|
36
|
+
export declare function normalizeScopes(scopes: string | undefined): string;
|
|
37
|
+
/**
|
|
38
|
+
* Create an IMS token provider with in-memory cache and refresh skew.
|
|
39
|
+
* @category Auth
|
|
40
|
+
*/
|
|
41
|
+
export declare function createImsTokenProvider(config: AdobeImsConfig, fetchImpl?: typeof fetch, skewMs?: number): () => Promise<string>;
|
|
42
|
+
//# sourceMappingURL=ims.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ims.d.ts","sourceRoot":"","sources":["../../src/auth/ims.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,qBAAqB,gDAAgD,CAAA;AAElF,2DAA2D;AAC3D,eAAO,MAAM,sBAAsB,kFAC8C,CAAA;AAEjF;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAA;IAChB,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAA;IACpB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,mCAAmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,uCAAuC;IACvC,WAAW,EAAE,MAAM,CAAA;CACpB;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAGlE;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,cAAc,EACtB,SAAS,GAAE,OAAO,KAAa,EAC/B,MAAM,SAAS,GACd,MAAM,OAAO,CAAC,MAAM,CAAC,CA0CvB"}
|
package/dist/auth/ims.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @category Auth
|
|
3
|
+
* Adobe IMS OAuth Server-to-Server (client_credentials) token helper.
|
|
4
|
+
*/
|
|
5
|
+
export const DEFAULT_IMS_TOKEN_URL = "https://ims-na1.adobelogin.com/ims/token/v3";
|
|
6
|
+
/** Default scopes for Firefly Services S2S credentials. */
|
|
7
|
+
export const DEFAULT_FIREFLY_SCOPES = "openid,AdobeID,session,additional_info,read_organizations,firefly_api,ff_apis";
|
|
8
|
+
/**
|
|
9
|
+
* Normalize scopes to the form IMS expects (comma-separated).
|
|
10
|
+
* @category Auth
|
|
11
|
+
*/
|
|
12
|
+
export function normalizeScopes(scopes) {
|
|
13
|
+
const raw = (scopes ?? DEFAULT_FIREFLY_SCOPES).trim();
|
|
14
|
+
return raw.split(/[,\s]+/).filter(Boolean).join(",");
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Create an IMS token provider with in-memory cache and refresh skew.
|
|
18
|
+
* @category Auth
|
|
19
|
+
*/
|
|
20
|
+
export function createImsTokenProvider(config, fetchImpl = fetch, skewMs = 60_000) {
|
|
21
|
+
let cached;
|
|
22
|
+
return async () => {
|
|
23
|
+
const now = Date.now();
|
|
24
|
+
if (cached && cached.expiresAtMs - skewMs > now) {
|
|
25
|
+
return cached.accessToken;
|
|
26
|
+
}
|
|
27
|
+
const endpoint = config.imsEndpoint ?? DEFAULT_IMS_TOKEN_URL;
|
|
28
|
+
const body = new URLSearchParams({
|
|
29
|
+
grant_type: "client_credentials",
|
|
30
|
+
client_id: config.clientId,
|
|
31
|
+
client_secret: config.clientSecret,
|
|
32
|
+
scope: normalizeScopes(config.scopes),
|
|
33
|
+
});
|
|
34
|
+
const res = await fetchImpl(endpoint, {
|
|
35
|
+
method: "POST",
|
|
36
|
+
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
37
|
+
body,
|
|
38
|
+
});
|
|
39
|
+
if (!res.ok) {
|
|
40
|
+
const text = await res.text();
|
|
41
|
+
throw new Error(`Adobe IMS token request failed (${res.status}): ${text}`);
|
|
42
|
+
}
|
|
43
|
+
const json = (await res.json());
|
|
44
|
+
if (!json.access_token || typeof json.expires_in !== "number") {
|
|
45
|
+
throw new Error("Adobe IMS token response missing access_token or expires_in");
|
|
46
|
+
}
|
|
47
|
+
cached = {
|
|
48
|
+
accessToken: json.access_token,
|
|
49
|
+
expiresAtMs: now + json.expires_in * 1000,
|
|
50
|
+
};
|
|
51
|
+
return cached.accessToken;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=ims.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ims.js","sourceRoot":"","sources":["../../src/auth/ims.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,6CAA6C,CAAA;AAElF,2DAA2D;AAC3D,MAAM,CAAC,MAAM,sBAAsB,GACjC,+EAA+E,CAAA;AA4BjF;;;GAGG;AACH,MAAM,UAAU,eAAe,CAAC,MAA0B;IACxD,MAAM,GAAG,GAAG,CAAC,MAAM,IAAI,sBAAsB,CAAC,CAAC,IAAI,EAAE,CAAA;IACrD,OAAO,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtD,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CACpC,MAAsB,EACtB,YAA0B,KAAK,EAC/B,MAAM,GAAG,MAAM;IAEf,IAAI,MAAoC,CAAA;IAExC,OAAO,KAAK,IAAI,EAAE;QAChB,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;QACtB,IAAI,MAAM,IAAI,MAAM,CAAC,WAAW,GAAG,MAAM,GAAG,GAAG,EAAE,CAAC;YAChD,OAAO,MAAM,CAAC,WAAW,CAAA;QAC3B,CAAC;QAED,MAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,IAAI,qBAAqB,CAAA;QAC5D,MAAM,IAAI,GAAG,IAAI,eAAe,CAAC;YAC/B,UAAU,EAAE,oBAAoB;YAChC,SAAS,EAAE,MAAM,CAAC,QAAQ;YAC1B,aAAa,EAAE,MAAM,CAAC,YAAY;YAClC,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC;SACtC,CAAC,CAAA;QAEF,MAAM,GAAG,GAAG,MAAM,SAAS,CAAC,QAAQ,EAAE;YACpC,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,EAAE,cAAc,EAAE,mCAAmC,EAAE;YAChE,IAAI;SACL,CAAC,CAAA;QAEF,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;YACZ,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAA;YAC7B,MAAM,IAAI,KAAK,CAAC,mCAAmC,GAAG,CAAC,MAAM,MAAM,IAAI,EAAE,CAAC,CAAA;QAC5E,CAAC;QAED,MAAM,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,CAG7B,CAAA;QACD,IAAI,CAAC,IAAI,CAAC,YAAY,IAAI,OAAO,IAAI,CAAC,UAAU,KAAK,QAAQ,EAAE,CAAC;YAC9D,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAA;QAChF,CAAC;QAED,MAAM,GAAG;YACP,WAAW,EAAE,IAAI,CAAC,YAAY;YAC9B,WAAW,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,GAAG,IAAI;SAC1C,CAAA;QACD,OAAO,MAAM,CAAC,WAAW,CAAA;IAC3B,CAAC,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** Get available voices */
|
|
2
|
+
export declare const audio_video_voices: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
3
|
+
/** Generate speech from text */
|
|
4
|
+
export declare const audio_video_generate_speech: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
5
|
+
/** Get job status */
|
|
6
|
+
export declare const audio_video_status: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
7
|
+
/** Describe template */
|
|
8
|
+
export declare const audio_video_template_describe: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
9
|
+
/** Fetch video rendering presets */
|
|
10
|
+
export declare const audio_video_get_presets: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
11
|
+
/** Render template */
|
|
12
|
+
export declare const audio_video_template_render: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
13
|
+
/** Cancel a render job */
|
|
14
|
+
export declare const audio_video_cancel_render_job: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
15
|
+
/** List render jobs */
|
|
16
|
+
export declare const audio_video_list_render_jobs: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
17
|
+
/** Reframe video */
|
|
18
|
+
export declare const audio_video_generate_reframed_video: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
19
|
+
/** Transcribe media */
|
|
20
|
+
export declare const audio_video_transcribe: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
21
|
+
/** Dub audio or video */
|
|
22
|
+
export declare const audio_video_dub: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
23
|
+
/** Get available avatars */
|
|
24
|
+
export declare const audio_video_avatars: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
25
|
+
/** Reframe video v2 */
|
|
26
|
+
export declare const audio_video_generate_reframed_video_v2: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
27
|
+
/** Get job result */
|
|
28
|
+
export declare const audio_video_job_result_v2: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
29
|
+
/** Generate avatar video from text */
|
|
30
|
+
export declare const audio_video_generate_avatar: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
31
|
+
/** Transcribe media */
|
|
32
|
+
export declare const audio_video_transcribe__v1_transcribe: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
33
|
+
/** Dub audio or video */
|
|
34
|
+
export declare const audio_video_dub__v1_dub: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
35
|
+
/** Get the result for a job */
|
|
36
|
+
export declare const audio_video_job_result: import("@executioncontrolprotocol/core").CapabilityDefinition;
|
|
37
|
+
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../src/generated/audio-video/capabilities.ts"],"names":[],"mappings":"AASA,2BAA2B;AAC3B,eAAO,MAAM,kBAAkB,+DAwB3B,CAAA;AAEJ,gCAAgC;AAChC,eAAO,MAAM,2BAA2B,+DAyBpC,CAAA;AAEJ,qBAAqB;AACrB,eAAO,MAAM,kBAAkB,+DA2B3B,CAAA;AAEJ,wBAAwB;AACxB,eAAO,MAAM,6BAA6B,+DAyBtC,CAAA;AAEJ,oCAAoC;AACpC,eAAO,MAAM,uBAAuB,+DAwBhC,CAAA;AAEJ,sBAAsB;AACtB,eAAO,MAAM,2BAA2B,+DAyBpC,CAAA;AAEJ,0BAA0B;AAC1B,eAAO,MAAM,6BAA6B,+DA8BtC,CAAA;AAEJ,uBAAuB;AACvB,eAAO,MAAM,4BAA4B,+DAgCrC,CAAA;AAEJ,oBAAoB;AACpB,eAAO,MAAM,mCAAmC,+DA2C5C,CAAA;AAEJ,uBAAuB;AACvB,eAAO,MAAM,sBAAsB,+DAyB/B,CAAA;AAEJ,yBAAyB;AACzB,eAAO,MAAM,eAAe,+DAyBxB,CAAA;AAEJ,4BAA4B;AAC5B,eAAO,MAAM,mBAAmB,+DAwB5B,CAAA;AAEJ,uBAAuB;AACvB,eAAO,MAAM,sCAAsC,+DAkD/C,CAAA;AAEJ,qBAAqB;AACrB,eAAO,MAAM,yBAAyB,+DA2GlC,CAAA;AAEJ,sCAAsC;AACtC,eAAO,MAAM,2BAA2B,+DAyBpC,CAAA;AAEJ,uBAAuB;AACvB,eAAO,MAAM,qCAAqC,+DAyB9C,CAAA;AAEJ,yBAAyB;AACzB,eAAO,MAAM,uBAAuB,+DAyBhC,CAAA;AAEJ,+BAA+B;AAC/B,eAAO,MAAM,sBAAsB,+DA2B/B,CAAA"}
|