@runwayml/sdk 4.13.2 → 4.15.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/CHANGELOG.md +21 -0
- package/client.d.mts +3 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -3
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/character-performance.d.mts +17 -0
- package/resources/character-performance.d.mts.map +1 -1
- package/resources/character-performance.d.ts +17 -0
- package/resources/character-performance.d.ts.map +1 -1
- package/resources/generate/audio.d.mts +46 -24
- package/resources/generate/audio.d.mts.map +1 -1
- package/resources/generate/audio.d.ts +46 -24
- package/resources/generate/audio.d.ts.map +1 -1
- package/resources/generate/audio.js.map +1 -1
- package/resources/generate/audio.mjs.map +1 -1
- package/resources/generate/generate.d.mts +2 -2
- package/resources/generate/generate.d.mts.map +1 -1
- package/resources/generate/generate.d.ts +2 -2
- package/resources/generate/generate.d.ts.map +1 -1
- package/resources/generate/generate.js.map +1 -1
- package/resources/generate/generate.mjs.map +1 -1
- package/resources/generate/image.d.mts +21 -0
- package/resources/generate/image.d.mts.map +1 -1
- package/resources/generate/image.d.ts +21 -0
- package/resources/generate/image.d.ts.map +1 -1
- package/resources/generate/index.d.mts +1 -1
- package/resources/generate/index.d.mts.map +1 -1
- package/resources/generate/index.d.ts +1 -1
- package/resources/generate/index.d.ts.map +1 -1
- package/resources/generate/index.js.map +1 -1
- package/resources/generate/index.mjs +1 -1
- package/resources/generate/index.mjs.map +1 -1
- package/resources/generate/video.d.mts +21 -0
- package/resources/generate/video.d.mts.map +1 -1
- package/resources/generate/video.d.ts +21 -0
- package/resources/generate/video.d.ts.map +1 -1
- package/resources/image-to-video.d.mts +146 -19
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +146 -19
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/image-upscale.d.mts +17 -0
- package/resources/image-upscale.d.mts.map +1 -1
- package/resources/image-upscale.d.ts +17 -0
- package/resources/image-upscale.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/organization/index.d.mts +3 -0
- package/resources/organization/index.d.mts.map +1 -0
- package/resources/organization/index.d.ts +3 -0
- package/resources/organization/index.d.ts.map +1 -0
- package/resources/organization/index.js +9 -0
- package/resources/organization/index.js.map +1 -0
- package/resources/organization/index.mjs +4 -0
- package/resources/organization/index.mjs.map +1 -0
- package/resources/organization/organization.d.mts +154 -0
- package/resources/organization/organization.d.mts.map +1 -0
- package/resources/organization/organization.d.ts +154 -0
- package/resources/organization/organization.d.ts.map +1 -0
- package/resources/organization/organization.js +32 -0
- package/resources/organization/organization.js.map +1 -0
- package/resources/organization/organization.mjs +27 -0
- package/resources/organization/organization.mjs.map +1 -0
- package/resources/organization/webapp/audit-logs.d.mts +216 -0
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -0
- package/resources/organization/webapp/audit-logs.d.ts +216 -0
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -0
- package/resources/organization/webapp/audit-logs.js +30 -0
- package/resources/organization/webapp/audit-logs.js.map +1 -0
- package/resources/organization/webapp/audit-logs.mjs +26 -0
- package/resources/organization/webapp/audit-logs.mjs.map +1 -0
- package/resources/organization/webapp/index.d.mts +3 -0
- package/resources/organization/webapp/index.d.mts.map +1 -0
- package/resources/organization/webapp/index.d.ts +3 -0
- package/resources/organization/webapp/index.d.ts.map +1 -0
- package/resources/organization/webapp/index.js +9 -0
- package/resources/organization/webapp/index.js.map +1 -0
- package/resources/organization/webapp/index.mjs +4 -0
- package/resources/organization/webapp/index.mjs.map +1 -0
- package/resources/organization/webapp/webapp.d.mts +73 -0
- package/resources/organization/webapp/webapp.d.mts.map +1 -0
- package/resources/organization/webapp/webapp.d.ts +73 -0
- package/resources/organization/webapp/webapp.d.ts.map +1 -0
- package/resources/organization/webapp/webapp.js +30 -0
- package/resources/organization/webapp/webapp.js.map +1 -0
- package/resources/organization/webapp/webapp.mjs +25 -0
- package/resources/organization/webapp/webapp.mjs.map +1 -0
- package/resources/organization/webapp.d.mts +2 -0
- package/resources/organization/webapp.d.mts.map +1 -0
- package/resources/organization/webapp.d.ts +2 -0
- package/resources/organization/webapp.d.ts.map +1 -0
- package/resources/organization/webapp.js +6 -0
- package/resources/organization/webapp.js.map +1 -0
- package/resources/organization/webapp.mjs +3 -0
- package/resources/organization/webapp.mjs.map +1 -0
- package/resources/organization.d.mts +1 -149
- package/resources/organization.d.mts.map +1 -1
- package/resources/organization.d.ts +1 -149
- package/resources/organization.d.ts.map +1 -1
- package/resources/organization.js +2 -20
- package/resources/organization.js.map +1 -1
- package/resources/organization.mjs +1 -18
- package/resources/organization.mjs.map +1 -1
- package/resources/recipes.d.mts +119 -0
- package/resources/recipes.d.mts.map +1 -1
- package/resources/recipes.d.ts +119 -0
- package/resources/recipes.d.ts.map +1 -1
- package/resources/routers.d.mts +194 -1
- package/resources/routers.d.mts.map +1 -1
- package/resources/routers.d.ts +194 -1
- package/resources/routers.d.ts.map +1 -1
- package/resources/routers.js +10 -0
- package/resources/routers.js.map +1 -1
- package/resources/routers.mjs +10 -0
- package/resources/routers.mjs.map +1 -1
- package/resources/sound-effect.d.mts +17 -0
- package/resources/sound-effect.d.mts.map +1 -1
- package/resources/sound-effect.d.ts +17 -0
- package/resources/sound-effect.d.ts.map +1 -1
- package/resources/speech-to-speech.d.mts +17 -0
- package/resources/speech-to-speech.d.mts.map +1 -1
- package/resources/speech-to-speech.d.ts +17 -0
- package/resources/speech-to-speech.d.ts.map +1 -1
- package/resources/tasks.d.mts +90 -0
- package/resources/tasks.d.mts.map +1 -1
- package/resources/tasks.d.ts +90 -0
- package/resources/tasks.d.ts.map +1 -1
- package/resources/text-to-image.d.mts +68 -1
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +68 -1
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-speech.d.mts +77 -1
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +77 -1
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +221 -16
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +221 -16
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-video.d.mts +199 -7
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +199 -7
- package/resources/video-to-video.d.ts.map +1 -1
- package/resources/video-upscale.d.mts +17 -0
- package/resources/video-upscale.d.mts.map +1 -1
- package/resources/video-upscale.d.ts +17 -0
- package/resources/video-upscale.d.ts.map +1 -1
- package/resources/voice-dubbing.d.mts +17 -0
- package/resources/voice-dubbing.d.mts.map +1 -1
- package/resources/voice-dubbing.d.ts +17 -0
- package/resources/voice-dubbing.d.ts.map +1 -1
- package/resources/voice-isolation.d.mts +17 -0
- package/resources/voice-isolation.d.mts.map +1 -1
- package/resources/voice-isolation.d.ts +17 -0
- package/resources/voice-isolation.d.ts.map +1 -1
- package/src/client.ts +12 -6
- package/src/resources/character-performance.ts +19 -0
- package/src/resources/generate/audio.ts +57 -27
- package/src/resources/generate/generate.ts +3 -1
- package/src/resources/generate/image.ts +24 -0
- package/src/resources/generate/index.ts +7 -1
- package/src/resources/generate/video.ts +24 -0
- package/src/resources/image-to-video.ts +189 -19
- package/src/resources/image-upscale.ts +19 -0
- package/src/resources/index.ts +4 -1
- package/src/resources/organization/index.ts +14 -0
- package/src/resources/organization/organization.ts +307 -0
- package/src/resources/organization/webapp/audit-logs.ts +440 -0
- package/src/resources/organization/webapp/index.ts +16 -0
- package/src/resources/organization/webapp/webapp.ts +118 -0
- package/src/resources/organization/webapp.ts +3 -0
- package/src/resources/organization.ts +1 -283
- package/src/resources/recipes.ts +133 -0
- package/src/resources/routers.ts +247 -0
- package/src/resources/sound-effect.ts +19 -0
- package/src/resources/speech-to-speech.ts +19 -0
- package/src/resources/tasks.ts +102 -0
- package/src/resources/text-to-image.ts +107 -0
- package/src/resources/text-to-speech.ts +142 -1
- package/src/resources/text-to-video.ts +276 -16
- package/src/resources/video-to-video.ts +252 -7
- package/src/resources/video-upscale.ts +19 -0
- package/src/resources/voice-dubbing.ts +19 -0
- package/src/resources/voice-isolation.ts +19 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/routers.js
CHANGED
|
@@ -44,6 +44,16 @@ class Routers extends resource_1.APIResource {
|
|
|
44
44
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Paginated routing history for live Model Router requests (successful routes and
|
|
49
|
+
* failures). Playground dry runs are not recorded.
|
|
50
|
+
*/
|
|
51
|
+
listRequests(id, query, options) {
|
|
52
|
+
return this._client.getAPIList((0, path_1.path) `/v1/routers/${id}/requests`, (pagination_1.CursorPage), {
|
|
53
|
+
query,
|
|
54
|
+
...options,
|
|
55
|
+
});
|
|
56
|
+
}
|
|
47
57
|
}
|
|
48
58
|
exports.Routers = Routers;
|
|
49
59
|
//# sourceMappingURL=routers.js.map
|
package/resources/routers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routers.js","sourceRoot":"","sources":["../src/resources/routers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AACpF,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI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,CAAC;CACF;AAhED,0BAgEC"}
|
package/resources/routers.mjs
CHANGED
|
@@ -41,5 +41,15 @@ export class Routers extends APIResource {
|
|
|
41
41
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Paginated routing history for live Model Router requests (successful routes and
|
|
46
|
+
* failures). Playground dry runs are not recorded.
|
|
47
|
+
*/
|
|
48
|
+
listRequests(id, query, options) {
|
|
49
|
+
return this._client.getAPIList(path `/v1/routers/${id}/requests`, (CursorPage), {
|
|
50
|
+
query,
|
|
51
|
+
...options,
|
|
52
|
+
});
|
|
53
|
+
}
|
|
44
54
|
}
|
|
45
55
|
//# sourceMappingURL=routers.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routers.mjs","sourceRoot":"","sources":["../src/resources/routers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,UAAU,EAAsC,+BAA2B;AACpF,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,EAAU,EACV,OAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,C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,MAAM,CACJ,EAAU,EACV,OAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,eAAe,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,KAAuB,EACvB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,UAA8B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,EAAE,EAAE,EAAE;YAClD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,YAAY,CACV,EAAU,EACV,KAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAA,eAAe,EAAE,WAAW,EAAE,CAAA,UAAsC,CAAA,EAAE;YACvG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -16,6 +16,23 @@ export interface SoundEffectCreateResponse {
|
|
|
16
16
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
17
17
|
*/
|
|
18
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
21
|
+
* the task completes.
|
|
22
|
+
*/
|
|
23
|
+
estimatedCost: SoundEffectCreateResponse.EstimatedCost;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace SoundEffectCreateResponse {
|
|
26
|
+
/**
|
|
27
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
28
|
+
* the task completes.
|
|
29
|
+
*/
|
|
30
|
+
interface EstimatedCost {
|
|
31
|
+
/**
|
|
32
|
+
* Estimated cost of the generation in credits.
|
|
33
|
+
*/
|
|
34
|
+
credits: number;
|
|
35
|
+
}
|
|
19
36
|
}
|
|
20
37
|
export type SoundEffectCreateParams = SoundEffectCreateParams.SeedAudio | SoundEffectCreateParams.ElevenTextToSoundV2;
|
|
21
38
|
export declare namespace SoundEffectCreateParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sound-effect.d.mts","sourceRoot":"","sources":["../src/resources/sound-effect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"sound-effect.d.mts","sourceRoot":"","sources":["../src/resources/sound-effect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE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
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
17
17
|
*/
|
|
18
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
21
|
+
* the task completes.
|
|
22
|
+
*/
|
|
23
|
+
estimatedCost: SoundEffectCreateResponse.EstimatedCost;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace SoundEffectCreateResponse {
|
|
26
|
+
/**
|
|
27
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
28
|
+
* the task completes.
|
|
29
|
+
*/
|
|
30
|
+
interface EstimatedCost {
|
|
31
|
+
/**
|
|
32
|
+
* Estimated cost of the generation in credits.
|
|
33
|
+
*/
|
|
34
|
+
credits: number;
|
|
35
|
+
}
|
|
19
36
|
}
|
|
20
37
|
export type SoundEffectCreateParams = SoundEffectCreateParams.SeedAudio | SoundEffectCreateParams.ElevenTextToSoundV2;
|
|
21
38
|
export declare namespace SoundEffectCreateParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sound-effect.d.ts","sourceRoot":"","sources":["../src/resources/sound-effect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"sound-effect.d.ts","sourceRoot":"","sources":["../src/resources/sound-effect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;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MAAM,CAAC;QAElB;;WAEG;QACH,IAAI,CAAC,EAAE,OAAO,CAAC;KAChB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -16,6 +16,23 @@ export interface SpeechToSpeechCreateResponse {
|
|
|
16
16
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
17
17
|
*/
|
|
18
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
21
|
+
* the task completes.
|
|
22
|
+
*/
|
|
23
|
+
estimatedCost: SpeechToSpeechCreateResponse.EstimatedCost;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace SpeechToSpeechCreateResponse {
|
|
26
|
+
/**
|
|
27
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
28
|
+
* the task completes.
|
|
29
|
+
*/
|
|
30
|
+
interface EstimatedCost {
|
|
31
|
+
/**
|
|
32
|
+
* Estimated cost of the generation in credits.
|
|
33
|
+
*/
|
|
34
|
+
credits: number;
|
|
35
|
+
}
|
|
19
36
|
}
|
|
20
37
|
export interface SpeechToSpeechCreateParams {
|
|
21
38
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"speech-to-speech.d.mts","sourceRoot":"","sources":["../src/resources/speech-to-speech.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AACrF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,4BAA4B,CAAC;CAK7D;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"speech-to-speech.d.mts","sourceRoot":"","sources":["../src/resources/speech-to-speech.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AACrF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,4BAA4B,CAAC;CAK7D;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,4BAA4B,CAAC,aAAa,CAAC;CAC3D;AAED,yBAAiB,4BAA4B,CAAC;IAC5C;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,KAAK,EAAE,0BAA0B,CAAC,KAAK,GAAG,0BAA0B,CAAC,KAAK,CAAC;IAE3E,KAAK,EAAE,4BAA4B,CAAC;IAEpC;;OAEG;IACH,KAAK,EAAE,0BAA0B,CAAC,KAAK,CAAC;IAExC;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;OAEG;IACH,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QAEd;;;;WAIG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;OAEG;IACH,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QAEd;;;;WAIG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;OAEG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,QAAQ,EACJ,MAAM,GACN,OAAO,GACP,QAAQ,GACR,SAAS,GACT,OAAO,GACP,MAAM,GACN,OAAO,GACP,OAAO,GACP,MAAM,GACN,QAAQ,GACR,SAAS,GACT,OAAO,GACP,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,SAAS,GACT,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,OAAO,GACP,KAAK,GACL,OAAO,GACP,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,MAAM,GACN,OAAO,GACP,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,OAAO,GACP,SAAS,GACT,MAAM,GACN,SAAS,GACT,UAAU,GACV,OAAO,GACP,KAAK,GACL,OAAO,GACP,UAAU,GACV,OAAO,GACP,QAAQ,CAAC;QAEb,IAAI,EAAE,eAAe,CAAC;KACvB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -16,6 +16,23 @@ export interface SpeechToSpeechCreateResponse {
|
|
|
16
16
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
17
17
|
*/
|
|
18
18
|
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
21
|
+
* the task completes.
|
|
22
|
+
*/
|
|
23
|
+
estimatedCost: SpeechToSpeechCreateResponse.EstimatedCost;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace SpeechToSpeechCreateResponse {
|
|
26
|
+
/**
|
|
27
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
28
|
+
* the task completes.
|
|
29
|
+
*/
|
|
30
|
+
interface EstimatedCost {
|
|
31
|
+
/**
|
|
32
|
+
* Estimated cost of the generation in credits.
|
|
33
|
+
*/
|
|
34
|
+
credits: number;
|
|
35
|
+
}
|
|
19
36
|
}
|
|
20
37
|
export interface SpeechToSpeechCreateParams {
|
|
21
38
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"speech-to-speech.d.ts","sourceRoot":"","sources":["../src/resources/speech-to-speech.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AACrF,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,4BAA4B,CAAC;CAK7D;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"speech-to-speech.d.ts","sourceRoot":"","sources":["../src/resources/speech-to-speech.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AACrF,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,4BAA4B,CAAC;CAK7D;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,4BAA4B,CAAC,aAAa,CAAC;CAC3D;AAED,yBAAiB,4BAA4B,CAAC;IAC5C;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,WAAW,0BA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BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
package/resources/tasks.d.mts
CHANGED
|
@@ -38,8 +38,23 @@ export declare namespace TaskRetrieveResponse {
|
|
|
38
38
|
* The timestamp that the task was submitted at.
|
|
39
39
|
*/
|
|
40
40
|
createdAt: string;
|
|
41
|
+
/**
|
|
42
|
+
* Estimated cost, computed against current pricing.
|
|
43
|
+
*/
|
|
44
|
+
estimatedCost: Pending.EstimatedCost;
|
|
41
45
|
status: 'PENDING';
|
|
42
46
|
}
|
|
47
|
+
namespace Pending {
|
|
48
|
+
/**
|
|
49
|
+
* Estimated cost, computed against current pricing.
|
|
50
|
+
*/
|
|
51
|
+
interface EstimatedCost {
|
|
52
|
+
/**
|
|
53
|
+
* Estimated cost of the generation in credits.
|
|
54
|
+
*/
|
|
55
|
+
credits: number;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
43
58
|
/**
|
|
44
59
|
* A throttled task
|
|
45
60
|
*/
|
|
@@ -52,8 +67,23 @@ export declare namespace TaskRetrieveResponse {
|
|
|
52
67
|
* The timestamp that the task was submitted at.
|
|
53
68
|
*/
|
|
54
69
|
createdAt: string;
|
|
70
|
+
/**
|
|
71
|
+
* Estimated cost, computed against current pricing.
|
|
72
|
+
*/
|
|
73
|
+
estimatedCost: Throttled.EstimatedCost;
|
|
55
74
|
status: 'THROTTLED';
|
|
56
75
|
}
|
|
76
|
+
namespace Throttled {
|
|
77
|
+
/**
|
|
78
|
+
* Estimated cost, computed against current pricing.
|
|
79
|
+
*/
|
|
80
|
+
interface EstimatedCost {
|
|
81
|
+
/**
|
|
82
|
+
* Estimated cost of the generation in credits.
|
|
83
|
+
*/
|
|
84
|
+
credits: number;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
57
87
|
/**
|
|
58
88
|
* A cancelled or deleted task
|
|
59
89
|
*/
|
|
@@ -62,12 +92,27 @@ export declare namespace TaskRetrieveResponse {
|
|
|
62
92
|
* The ID of the task being returned.
|
|
63
93
|
*/
|
|
64
94
|
id: string;
|
|
95
|
+
/**
|
|
96
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
97
|
+
*/
|
|
98
|
+
cost: Cancelled.Cost;
|
|
65
99
|
/**
|
|
66
100
|
* The timestamp that the task was submitted at.
|
|
67
101
|
*/
|
|
68
102
|
createdAt: string;
|
|
69
103
|
status: 'CANCELLED';
|
|
70
104
|
}
|
|
105
|
+
namespace Cancelled {
|
|
106
|
+
/**
|
|
107
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
108
|
+
*/
|
|
109
|
+
interface Cost {
|
|
110
|
+
/**
|
|
111
|
+
* Credits charged for this task.
|
|
112
|
+
*/
|
|
113
|
+
credits: number;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
71
116
|
/**
|
|
72
117
|
* A running task
|
|
73
118
|
*/
|
|
@@ -80,9 +125,24 @@ export declare namespace TaskRetrieveResponse {
|
|
|
80
125
|
* The timestamp that the task was submitted at.
|
|
81
126
|
*/
|
|
82
127
|
createdAt: string;
|
|
128
|
+
/**
|
|
129
|
+
* Estimated cost, computed against current pricing.
|
|
130
|
+
*/
|
|
131
|
+
estimatedCost: Running.EstimatedCost;
|
|
83
132
|
progress: number;
|
|
84
133
|
status: 'RUNNING';
|
|
85
134
|
}
|
|
135
|
+
namespace Running {
|
|
136
|
+
/**
|
|
137
|
+
* Estimated cost, computed against current pricing.
|
|
138
|
+
*/
|
|
139
|
+
interface EstimatedCost {
|
|
140
|
+
/**
|
|
141
|
+
* Estimated cost of the generation in credits.
|
|
142
|
+
*/
|
|
143
|
+
credits: number;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
86
146
|
/**
|
|
87
147
|
* A failed task
|
|
88
148
|
*/
|
|
@@ -91,6 +151,10 @@ export declare namespace TaskRetrieveResponse {
|
|
|
91
151
|
* The ID of the task being returned.
|
|
92
152
|
*/
|
|
93
153
|
id: string;
|
|
154
|
+
/**
|
|
155
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
156
|
+
*/
|
|
157
|
+
cost: Failed.Cost;
|
|
94
158
|
/**
|
|
95
159
|
* The timestamp that the task was submitted at.
|
|
96
160
|
*/
|
|
@@ -107,6 +171,17 @@ export declare namespace TaskRetrieveResponse {
|
|
|
107
171
|
*/
|
|
108
172
|
failureCode?: string;
|
|
109
173
|
}
|
|
174
|
+
namespace Failed {
|
|
175
|
+
/**
|
|
176
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
177
|
+
*/
|
|
178
|
+
interface Cost {
|
|
179
|
+
/**
|
|
180
|
+
* Credits charged for this task.
|
|
181
|
+
*/
|
|
182
|
+
credits: number;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
110
185
|
/**
|
|
111
186
|
* A succeeded task
|
|
112
187
|
*/
|
|
@@ -115,6 +190,10 @@ export declare namespace TaskRetrieveResponse {
|
|
|
115
190
|
* The ID of the task being returned.
|
|
116
191
|
*/
|
|
117
192
|
id: string;
|
|
193
|
+
/**
|
|
194
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
195
|
+
*/
|
|
196
|
+
cost: Succeeded.Cost;
|
|
118
197
|
/**
|
|
119
198
|
* The timestamp that the task was submitted at.
|
|
120
199
|
*/
|
|
@@ -127,6 +206,17 @@ export declare namespace TaskRetrieveResponse {
|
|
|
127
206
|
output: Array<string>;
|
|
128
207
|
status: 'SUCCEEDED';
|
|
129
208
|
}
|
|
209
|
+
namespace Succeeded {
|
|
210
|
+
/**
|
|
211
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
212
|
+
*/
|
|
213
|
+
interface Cost {
|
|
214
|
+
/**
|
|
215
|
+
* Credits charged for this task.
|
|
216
|
+
*/
|
|
217
|
+
credits: number;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
130
220
|
}
|
|
131
221
|
export declare namespace Tasks {
|
|
132
222
|
export { type TaskRetrieveResponse as TaskRetrieveResponse };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d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
@@ -38,8 +38,23 @@ export declare namespace TaskRetrieveResponse {
|
|
|
38
38
|
* The timestamp that the task was submitted at.
|
|
39
39
|
*/
|
|
40
40
|
createdAt: string;
|
|
41
|
+
/**
|
|
42
|
+
* Estimated cost, computed against current pricing.
|
|
43
|
+
*/
|
|
44
|
+
estimatedCost: Pending.EstimatedCost;
|
|
41
45
|
status: 'PENDING';
|
|
42
46
|
}
|
|
47
|
+
namespace Pending {
|
|
48
|
+
/**
|
|
49
|
+
* Estimated cost, computed against current pricing.
|
|
50
|
+
*/
|
|
51
|
+
interface EstimatedCost {
|
|
52
|
+
/**
|
|
53
|
+
* Estimated cost of the generation in credits.
|
|
54
|
+
*/
|
|
55
|
+
credits: number;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
43
58
|
/**
|
|
44
59
|
* A throttled task
|
|
45
60
|
*/
|
|
@@ -52,8 +67,23 @@ export declare namespace TaskRetrieveResponse {
|
|
|
52
67
|
* The timestamp that the task was submitted at.
|
|
53
68
|
*/
|
|
54
69
|
createdAt: string;
|
|
70
|
+
/**
|
|
71
|
+
* Estimated cost, computed against current pricing.
|
|
72
|
+
*/
|
|
73
|
+
estimatedCost: Throttled.EstimatedCost;
|
|
55
74
|
status: 'THROTTLED';
|
|
56
75
|
}
|
|
76
|
+
namespace Throttled {
|
|
77
|
+
/**
|
|
78
|
+
* Estimated cost, computed against current pricing.
|
|
79
|
+
*/
|
|
80
|
+
interface EstimatedCost {
|
|
81
|
+
/**
|
|
82
|
+
* Estimated cost of the generation in credits.
|
|
83
|
+
*/
|
|
84
|
+
credits: number;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
57
87
|
/**
|
|
58
88
|
* A cancelled or deleted task
|
|
59
89
|
*/
|
|
@@ -62,12 +92,27 @@ export declare namespace TaskRetrieveResponse {
|
|
|
62
92
|
* The ID of the task being returned.
|
|
63
93
|
*/
|
|
64
94
|
id: string;
|
|
95
|
+
/**
|
|
96
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
97
|
+
*/
|
|
98
|
+
cost: Cancelled.Cost;
|
|
65
99
|
/**
|
|
66
100
|
* The timestamp that the task was submitted at.
|
|
67
101
|
*/
|
|
68
102
|
createdAt: string;
|
|
69
103
|
status: 'CANCELLED';
|
|
70
104
|
}
|
|
105
|
+
namespace Cancelled {
|
|
106
|
+
/**
|
|
107
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
108
|
+
*/
|
|
109
|
+
interface Cost {
|
|
110
|
+
/**
|
|
111
|
+
* Credits charged for this task.
|
|
112
|
+
*/
|
|
113
|
+
credits: number;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
71
116
|
/**
|
|
72
117
|
* A running task
|
|
73
118
|
*/
|
|
@@ -80,9 +125,24 @@ export declare namespace TaskRetrieveResponse {
|
|
|
80
125
|
* The timestamp that the task was submitted at.
|
|
81
126
|
*/
|
|
82
127
|
createdAt: string;
|
|
128
|
+
/**
|
|
129
|
+
* Estimated cost, computed against current pricing.
|
|
130
|
+
*/
|
|
131
|
+
estimatedCost: Running.EstimatedCost;
|
|
83
132
|
progress: number;
|
|
84
133
|
status: 'RUNNING';
|
|
85
134
|
}
|
|
135
|
+
namespace Running {
|
|
136
|
+
/**
|
|
137
|
+
* Estimated cost, computed against current pricing.
|
|
138
|
+
*/
|
|
139
|
+
interface EstimatedCost {
|
|
140
|
+
/**
|
|
141
|
+
* Estimated cost of the generation in credits.
|
|
142
|
+
*/
|
|
143
|
+
credits: number;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
86
146
|
/**
|
|
87
147
|
* A failed task
|
|
88
148
|
*/
|
|
@@ -91,6 +151,10 @@ export declare namespace TaskRetrieveResponse {
|
|
|
91
151
|
* The ID of the task being returned.
|
|
92
152
|
*/
|
|
93
153
|
id: string;
|
|
154
|
+
/**
|
|
155
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
156
|
+
*/
|
|
157
|
+
cost: Failed.Cost;
|
|
94
158
|
/**
|
|
95
159
|
* The timestamp that the task was submitted at.
|
|
96
160
|
*/
|
|
@@ -107,6 +171,17 @@ export declare namespace TaskRetrieveResponse {
|
|
|
107
171
|
*/
|
|
108
172
|
failureCode?: string;
|
|
109
173
|
}
|
|
174
|
+
namespace Failed {
|
|
175
|
+
/**
|
|
176
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
177
|
+
*/
|
|
178
|
+
interface Cost {
|
|
179
|
+
/**
|
|
180
|
+
* Credits charged for this task.
|
|
181
|
+
*/
|
|
182
|
+
credits: number;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
110
185
|
/**
|
|
111
186
|
* A succeeded task
|
|
112
187
|
*/
|
|
@@ -115,6 +190,10 @@ export declare namespace TaskRetrieveResponse {
|
|
|
115
190
|
* The ID of the task being returned.
|
|
116
191
|
*/
|
|
117
192
|
id: string;
|
|
193
|
+
/**
|
|
194
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
195
|
+
*/
|
|
196
|
+
cost: Succeeded.Cost;
|
|
118
197
|
/**
|
|
119
198
|
* The timestamp that the task was submitted at.
|
|
120
199
|
*/
|
|
@@ -127,6 +206,17 @@ export declare namespace TaskRetrieveResponse {
|
|
|
127
206
|
output: Array<string>;
|
|
128
207
|
status: 'SUCCEEDED';
|
|
129
208
|
}
|
|
209
|
+
namespace Succeeded {
|
|
210
|
+
/**
|
|
211
|
+
* Final cost in credits for a terminal task. A refunded task reports 0.
|
|
212
|
+
*/
|
|
213
|
+
interface Cost {
|
|
214
|
+
/**
|
|
215
|
+
* Credits charged for this task.
|
|
216
|
+
*/
|
|
217
|
+
credits: number;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
130
220
|
}
|
|
131
221
|
export declare namespace Tasks {
|
|
132
222
|
export { type TaskRetrieveResponse as TaskRetrieveResponse };
|
package/resources/tasks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../src/resources/tasks.ts"],"names":[],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ACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,aAAa,EAAE,OAAO,CAAC,aAAa,CAAC;QAErC,QAAQ,EAAE,MAAM,CAAC;QAEjB,MAAM,EAAE,SAAS,CAAC;KACnB;IAED,UAAiB,OAAO,CAAC;QACvB;;WAEG;QACH,UAAiB,aAAa;YAC5B;;eAEG;YACH,OAAO,EAAE,MAAM,CAAC;SACjB;KACF;IAED;;OAEG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC;QAElB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB,MAAM,EAAE,QAAQ,CAAC;QAEjB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;IAED,UAAiB,MAAM,CAAC;QACtB;;WAEG;QACH,UAAiB,IAAI;YACnB;;eAEG;YACH,OAAO,EAAE,MAAM,CAAC;SACjB;KACF;IAED;;OAEG;IACH,UAAiB,SAAS;QACxB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC;QAErB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;;;WAIG;QACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAEtB,MAAM,EAAE,WAAW,CAAC;KACrB;IAED,UAAiB,SAAS,CAAC;QACzB;;WAEG;QACH,UAAiB,IAAI;YACnB;;eAEG;YACH,OAAO,EAAE,MAAM,CAAC;SACjB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC9D"}
|
|
@@ -15,8 +15,25 @@ export interface TextToImageCreateResponse {
|
|
|
15
15
|
* The ID of the task that was created. Use this to retrieve the task later.
|
|
16
16
|
*/
|
|
17
17
|
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
20
|
+
* the task completes.
|
|
21
|
+
*/
|
|
22
|
+
estimatedCost: TextToImageCreateResponse.EstimatedCost;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace TextToImageCreateResponse {
|
|
25
|
+
/**
|
|
26
|
+
* The maximum credits this task may charge. The final amount may be lower after
|
|
27
|
+
* the task completes.
|
|
28
|
+
*/
|
|
29
|
+
interface EstimatedCost {
|
|
30
|
+
/**
|
|
31
|
+
* Estimated cost of the generation in credits.
|
|
32
|
+
*/
|
|
33
|
+
credits: number;
|
|
34
|
+
}
|
|
18
35
|
}
|
|
19
|
-
export type TextToImageCreateParams = TextToImageCreateParams.Gen4ImageTurbo | TextToImageCreateParams.Gen4Image | TextToImageCreateParams.GptImage2 | TextToImageCreateParams.GeminiImage3Pro | TextToImageCreateParams.GeminiImage3_1Flash | TextToImageCreateParams.Seedream5Pro | TextToImageCreateParams.Seedream5Lite | TextToImageCreateParams.Gemini2_5Flash;
|
|
36
|
+
export type TextToImageCreateParams = TextToImageCreateParams.Gen4ImageTurbo | TextToImageCreateParams.Gen4Image | TextToImageCreateParams.GptImage2 | TextToImageCreateParams.GeminiImage3Pro | TextToImageCreateParams.GeminiImage3_1Flash | TextToImageCreateParams.Seedream5Pro | TextToImageCreateParams.Seedream5Lite | TextToImageCreateParams.GrokImagineImage2 | TextToImageCreateParams.Gemini2_5Flash;
|
|
20
37
|
export declare namespace TextToImageCreateParams {
|
|
21
38
|
interface Gen4ImageTurbo {
|
|
22
39
|
model: 'gen4_image_turbo';
|
|
@@ -315,6 +332,11 @@ export declare namespace TextToImageCreateParams {
|
|
|
315
332
|
* The resolution of the output image, expressed as `<width>:<height>`.
|
|
316
333
|
*/
|
|
317
334
|
ratio: '2048:2048' | '2304:1728' | '1728:2304' | '2848:1600' | '1600:2848' | '2496:1664' | '1664:2496' | '3136:1344' | '3072:3072' | '3456:2592' | '2592:3456' | '4096:2304' | '2304:4096' | '3744:2496' | '2496:3744' | '4704:2016';
|
|
335
|
+
/**
|
|
336
|
+
* When true, enable live web search so the model can use current brand, trend, or
|
|
337
|
+
* event context. Default false for deterministic output.
|
|
338
|
+
*/
|
|
339
|
+
grounding?: boolean;
|
|
318
340
|
/**
|
|
319
341
|
* The number of images to generate. Increasing this number will affect the number
|
|
320
342
|
* of credits consumed by the generation.
|
|
@@ -340,6 +362,51 @@ export declare namespace TextToImageCreateParams {
|
|
|
340
362
|
uri: string;
|
|
341
363
|
}
|
|
342
364
|
}
|
|
365
|
+
interface GrokImagineImage2 {
|
|
366
|
+
model: 'grok_imagine_image_2';
|
|
367
|
+
/**
|
|
368
|
+
* A non-empty text prompt describing what should appear in the output image.
|
|
369
|
+
*/
|
|
370
|
+
promptText: string;
|
|
371
|
+
/**
|
|
372
|
+
* The resolution of the output image, expressed as `<width>:<height>`. 2K ratios
|
|
373
|
+
* cost 2 additional credits per image. Use `auto_1k` or `auto_2k` to pick a
|
|
374
|
+
* resolution tier and let the model choose the framing from the prompt.
|
|
375
|
+
*/
|
|
376
|
+
ratio: '1024:1024' | '1280:720' | '720:1280' | '1152:864' | '864:1152' | '1248:832' | '832:1248' | '1248:576' | '576:1248' | '1280:576' | '576:1280' | '1408:704' | '704:1408' | '2048:2048' | '2816:1584' | '1584:2816' | '2368:1776' | '1776:2368' | '2496:1664' | '1664:2496' | '2912:1344' | '1344:2912' | '3200:1440' | '1440:3200' | '2912:1456' | '1456:2912' | 'auto_1k' | 'auto_2k';
|
|
377
|
+
/**
|
|
378
|
+
* When true with exactly one reference image, edit that image directly instead of
|
|
379
|
+
* using it as a loose visual reference. With several reference images the prompt
|
|
380
|
+
* describes how they should be edited or combined. Requires at least one reference
|
|
381
|
+
* image.
|
|
382
|
+
*/
|
|
383
|
+
edit?: boolean;
|
|
384
|
+
/**
|
|
385
|
+
* The number of images to generate. Increasing this number will affect the number
|
|
386
|
+
* of credits consumed by the generation.
|
|
387
|
+
*/
|
|
388
|
+
outputCount?: number;
|
|
389
|
+
/**
|
|
390
|
+
* How much rendering effort the model spends on the output. Defaults to `medium`;
|
|
391
|
+
* `low` is faster and costs 2 fewer credits per image.
|
|
392
|
+
*/
|
|
393
|
+
quality?: 'low' | 'medium';
|
|
394
|
+
/**
|
|
395
|
+
* Up to 3 images to guide the generation. Reference them from `promptText` to
|
|
396
|
+
* describe how each should be used. Each adds 1 credit to the generation.
|
|
397
|
+
*/
|
|
398
|
+
referenceImages?: Array<GrokImagineImage2.ReferenceImage>;
|
|
399
|
+
}
|
|
400
|
+
namespace GrokImagineImage2 {
|
|
401
|
+
interface ReferenceImage {
|
|
402
|
+
/**
|
|
403
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
404
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
405
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
406
|
+
*/
|
|
407
|
+
uri: string;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
343
410
|
interface Gemini2_5Flash {
|
|
344
411
|
model: 'gemini_2.5_flash';
|
|
345
412
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-image.d.mts","sourceRoot":"","sources":["../src/resources/text-to-image.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"text-to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