@hedra/sdk 5.2.0 → 5.3.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.
Files changed (122) hide show
  1. package/dist/cjs/BaseClient.d.ts +2 -2
  2. package/dist/cjs/BaseClient.js +3 -3
  3. package/dist/cjs/api/resources/billing/client/Client.js +3 -3
  4. package/dist/cjs/api/resources/files/client/Client.js +1 -1
  5. package/dist/cjs/api/resources/jobs/client/Client.d.ts +183 -0
  6. package/dist/cjs/api/resources/jobs/client/Client.js +594 -99
  7. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyFlux3VideoUpscalerCreative.d.ts +20 -0
  8. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyFlux3VideoUpscalerCreative.js +3 -0
  9. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyFlux3VideoUpscalerPrecise.d.ts +20 -0
  10. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyFlux3VideoUpscalerPrecise.js +3 -0
  11. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGeminiOmniFlash11.d.ts +18 -0
  12. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGeminiOmniFlash11.js +3 -0
  13. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGptImage25Flare.d.ts +18 -0
  14. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGptImage25Flare.js +3 -0
  15. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGptImage25Sunburst.d.ts +18 -0
  16. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGptImage25Sunburst.js +3 -0
  17. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKrea2.d.ts +17 -0
  18. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKrea2.js +3 -0
  19. package/dist/cjs/api/resources/jobs/client/requests/index.d.ts +6 -0
  20. package/dist/cjs/api/resources/keys/client/Client.js +4 -4
  21. package/dist/cjs/api/resources/logDrains/client/Client.js +6 -6
  22. package/dist/cjs/api/resources/models/client/Client.js +7 -7
  23. package/dist/cjs/api/resources/tokens/client/Client.js +1 -1
  24. package/dist/cjs/api/resources/webhooks/client/Client.js +7 -7
  25. package/dist/cjs/api/types/InputFlux3VideoUpscalerCreative.d.ts +21 -0
  26. package/dist/cjs/api/types/InputFlux3VideoUpscalerCreative.js +13 -0
  27. package/dist/cjs/api/types/InputFlux3VideoUpscalerCreativeSourceVideo.d.ts +23 -0
  28. package/dist/cjs/api/types/InputFlux3VideoUpscalerCreativeSourceVideo.js +3 -0
  29. package/dist/cjs/api/types/InputFlux3VideoUpscalerPrecise.d.ts +21 -0
  30. package/dist/cjs/api/types/InputFlux3VideoUpscalerPrecise.js +13 -0
  31. package/dist/cjs/api/types/InputFlux3VideoUpscalerPreciseSourceVideo.d.ts +23 -0
  32. package/dist/cjs/api/types/InputFlux3VideoUpscalerPreciseSourceVideo.js +3 -0
  33. package/dist/cjs/api/types/InputGeminiOmniFlash11.d.ts +42 -0
  34. package/dist/cjs/api/types/InputGeminiOmniFlash11.js +19 -0
  35. package/dist/cjs/api/types/InputGeminiOmniFlash11EndImage.d.ts +23 -0
  36. package/dist/cjs/api/types/InputGeminiOmniFlash11EndImage.js +3 -0
  37. package/dist/cjs/api/types/InputGeminiOmniFlash11ImagesItem.d.ts +20 -0
  38. package/dist/cjs/api/types/InputGeminiOmniFlash11ImagesItem.js +3 -0
  39. package/dist/cjs/api/types/InputGeminiOmniFlash11SourceVideo.d.ts +23 -0
  40. package/dist/cjs/api/types/InputGeminiOmniFlash11SourceVideo.js +3 -0
  41. package/dist/cjs/api/types/InputGeminiOmniFlash11StartImage.d.ts +23 -0
  42. package/dist/cjs/api/types/InputGeminiOmniFlash11StartImage.js +3 -0
  43. package/dist/cjs/api/types/InputGeminiOmniFlash11VideosItem.d.ts +20 -0
  44. package/dist/cjs/api/types/InputGeminiOmniFlash11VideosItem.js +3 -0
  45. package/dist/cjs/api/types/InputGptImage25Flare.d.ts +59 -0
  46. package/dist/cjs/api/types/InputGptImage25Flare.js +34 -0
  47. package/dist/cjs/api/types/InputGptImage25FlareImagesItem.d.ts +20 -0
  48. package/dist/cjs/api/types/InputGptImage25FlareImagesItem.js +3 -0
  49. package/dist/cjs/api/types/InputGptImage25Sunburst.d.ts +59 -0
  50. package/dist/cjs/api/types/InputGptImage25Sunburst.js +34 -0
  51. package/dist/cjs/api/types/InputGptImage25SunburstImagesItem.d.ts +20 -0
  52. package/dist/cjs/api/types/InputGptImage25SunburstImagesItem.js +3 -0
  53. package/dist/cjs/api/types/InputKrea2.d.ts +52 -0
  54. package/dist/cjs/api/types/InputKrea2.js +30 -0
  55. package/dist/cjs/api/types/InputKrea2ImagesItem.d.ts +20 -0
  56. package/dist/cjs/api/types/InputKrea2ImagesItem.js +3 -0
  57. package/dist/cjs/api/types/index.d.ts +16 -0
  58. package/dist/cjs/api/types/index.js +16 -0
  59. package/dist/cjs/version.d.ts +1 -1
  60. package/dist/cjs/version.js +1 -1
  61. package/dist/esm/BaseClient.d.mts +2 -2
  62. package/dist/esm/BaseClient.mjs +3 -3
  63. package/dist/esm/api/resources/billing/client/Client.mjs +3 -3
  64. package/dist/esm/api/resources/files/client/Client.mjs +1 -1
  65. package/dist/esm/api/resources/jobs/client/Client.d.mts +183 -0
  66. package/dist/esm/api/resources/jobs/client/Client.mjs +594 -99
  67. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyFlux3VideoUpscalerCreative.d.mts +20 -0
  68. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyFlux3VideoUpscalerCreative.mjs +2 -0
  69. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyFlux3VideoUpscalerPrecise.d.mts +20 -0
  70. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyFlux3VideoUpscalerPrecise.mjs +2 -0
  71. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGeminiOmniFlash11.d.mts +18 -0
  72. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGeminiOmniFlash11.mjs +2 -0
  73. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGptImage25Flare.d.mts +18 -0
  74. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGptImage25Flare.mjs +2 -0
  75. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGptImage25Sunburst.d.mts +18 -0
  76. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGptImage25Sunburst.mjs +2 -0
  77. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKrea2.d.mts +17 -0
  78. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKrea2.mjs +2 -0
  79. package/dist/esm/api/resources/jobs/client/requests/index.d.mts +6 -0
  80. package/dist/esm/api/resources/keys/client/Client.mjs +4 -4
  81. package/dist/esm/api/resources/logDrains/client/Client.mjs +6 -6
  82. package/dist/esm/api/resources/models/client/Client.mjs +7 -7
  83. package/dist/esm/api/resources/tokens/client/Client.mjs +1 -1
  84. package/dist/esm/api/resources/webhooks/client/Client.mjs +7 -7
  85. package/dist/esm/api/types/InputFlux3VideoUpscalerCreative.d.mts +21 -0
  86. package/dist/esm/api/types/InputFlux3VideoUpscalerCreative.mjs +10 -0
  87. package/dist/esm/api/types/InputFlux3VideoUpscalerCreativeSourceVideo.d.mts +23 -0
  88. package/dist/esm/api/types/InputFlux3VideoUpscalerCreativeSourceVideo.mjs +2 -0
  89. package/dist/esm/api/types/InputFlux3VideoUpscalerPrecise.d.mts +21 -0
  90. package/dist/esm/api/types/InputFlux3VideoUpscalerPrecise.mjs +10 -0
  91. package/dist/esm/api/types/InputFlux3VideoUpscalerPreciseSourceVideo.d.mts +23 -0
  92. package/dist/esm/api/types/InputFlux3VideoUpscalerPreciseSourceVideo.mjs +2 -0
  93. package/dist/esm/api/types/InputGeminiOmniFlash11.d.mts +42 -0
  94. package/dist/esm/api/types/InputGeminiOmniFlash11.mjs +16 -0
  95. package/dist/esm/api/types/InputGeminiOmniFlash11EndImage.d.mts +23 -0
  96. package/dist/esm/api/types/InputGeminiOmniFlash11EndImage.mjs +2 -0
  97. package/dist/esm/api/types/InputGeminiOmniFlash11ImagesItem.d.mts +20 -0
  98. package/dist/esm/api/types/InputGeminiOmniFlash11ImagesItem.mjs +2 -0
  99. package/dist/esm/api/types/InputGeminiOmniFlash11SourceVideo.d.mts +23 -0
  100. package/dist/esm/api/types/InputGeminiOmniFlash11SourceVideo.mjs +2 -0
  101. package/dist/esm/api/types/InputGeminiOmniFlash11StartImage.d.mts +23 -0
  102. package/dist/esm/api/types/InputGeminiOmniFlash11StartImage.mjs +2 -0
  103. package/dist/esm/api/types/InputGeminiOmniFlash11VideosItem.d.mts +20 -0
  104. package/dist/esm/api/types/InputGeminiOmniFlash11VideosItem.mjs +2 -0
  105. package/dist/esm/api/types/InputGptImage25Flare.d.mts +59 -0
  106. package/dist/esm/api/types/InputGptImage25Flare.mjs +31 -0
  107. package/dist/esm/api/types/InputGptImage25FlareImagesItem.d.mts +20 -0
  108. package/dist/esm/api/types/InputGptImage25FlareImagesItem.mjs +2 -0
  109. package/dist/esm/api/types/InputGptImage25Sunburst.d.mts +59 -0
  110. package/dist/esm/api/types/InputGptImage25Sunburst.mjs +31 -0
  111. package/dist/esm/api/types/InputGptImage25SunburstImagesItem.d.mts +20 -0
  112. package/dist/esm/api/types/InputGptImage25SunburstImagesItem.mjs +2 -0
  113. package/dist/esm/api/types/InputKrea2.d.mts +52 -0
  114. package/dist/esm/api/types/InputKrea2.mjs +27 -0
  115. package/dist/esm/api/types/InputKrea2ImagesItem.d.mts +20 -0
  116. package/dist/esm/api/types/InputKrea2ImagesItem.mjs +2 -0
  117. package/dist/esm/api/types/index.d.mts +16 -0
  118. package/dist/esm/api/types/index.mjs +16 -0
  119. package/dist/esm/version.d.mts +1 -1
  120. package/dist/esm/version.mjs +1 -1
  121. package/package.json +2 -2
  122. package/reference.md +429 -0
@@ -7,11 +7,11 @@ export function normalizeClientOptions(options) {
7
7
  const headers = mergeHeaders({
8
8
  "X-Fern-Language": "JavaScript",
9
9
  "X-Fern-SDK-Name": "@hedra/sdk",
10
- "X-Fern-SDK-Version": "5.2.0",
11
- "User-Agent": "hedra-node/5.2.0",
10
+ "X-Fern-SDK-Version": "5.3.0",
11
+ "User-Agent": "hedra-node/5.3.0",
12
12
  "X-Fern-Runtime": core.RUNTIME.type,
13
13
  "X-Fern-Runtime-Version": core.RUNTIME.version,
14
- "X-Hedra-Spec-Version": (_a = options === null || options === void 0 ? void 0 : options.specVersion) !== null && _a !== void 0 ? _a : "3.16.2",
14
+ "X-Hedra-Spec-Version": (_a = options === null || options === void 0 ? void 0 : options.specVersion) !== null && _a !== void 0 ? _a : "3.16.6",
15
15
  }, options === null || options === void 0 ? void 0 : options.headers);
16
16
  return Object.assign(Object.assign({}, options), { logging: core.logging.createLogger(options === null || options === void 0 ? void 0 : options.logging), headers });
17
17
  }
@@ -44,7 +44,7 @@ export class BillingClient {
44
44
  return __awaiter(this, void 0, void 0, function* () {
45
45
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
46
46
  const _authRequest = yield this._options.authProvider.getAuthRequest();
47
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.2" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
47
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.6" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
48
48
  const _response = yield core.fetcher({
49
49
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "balance"),
50
50
  method: "GET",
@@ -113,7 +113,7 @@ export class BillingClient {
113
113
  group_by: groupBy != null ? groupBy : undefined,
114
114
  };
115
115
  const _authRequest = yield this._options.authProvider.getAuthRequest();
116
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.2" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
116
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.6" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
117
117
  const _response = yield core.fetcher({
118
118
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "usage"),
119
119
  method: "GET",
@@ -189,7 +189,7 @@ export class BillingClient {
189
189
  cursor,
190
190
  };
191
191
  const _authRequest = yield this._options.authProvider.getAuthRequest();
192
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.2" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
192
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.6" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
193
193
  const _response = yield core.fetcher({
194
194
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "transactions"),
195
195
  method: "GET",
@@ -54,7 +54,7 @@ export class FilesClient {
54
54
  yield _body.appendFile("file", request.file);
55
55
  const _maybeEncodedRequest = yield _body.getRequest();
56
56
  const _authRequest = yield this._options.authProvider.getAuthRequest();
57
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.2" }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
57
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.6" }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
58
58
  const _response = yield core.fetcher({
59
59
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "files"),
60
60
  method: "POST",
@@ -541,6 +541,70 @@ export declare class JobsClient {
541
541
  */
542
542
  submitFlux3(request: Hedra.SubmitBodyFlux3, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
543
543
  private __submitFlux3;
544
+ /**
545
+ * Super-resolution that adds detail as it enlarges, for soft or low-resolution footage.
546
+ *
547
+ * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
548
+ *
549
+ * @param {Hedra.SubmitBodyFlux3VideoUpscalerCreative} request
550
+ * @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
551
+ *
552
+ * @throws {@link Hedra.BadRequestError}
553
+ * @throws {@link Hedra.UnauthorizedError}
554
+ * @throws {@link Hedra.PaymentRequiredError}
555
+ * @throws {@link Hedra.ForbiddenError}
556
+ * @throws {@link Hedra.NotFoundError}
557
+ * @throws {@link Hedra.UnprocessableEntityError}
558
+ * @throws {@link Hedra.TooManyRequestsError}
559
+ * @throws {@link Hedra.InternalServerError}
560
+ * @throws {@link errors.HedraError}
561
+ * @throws {@link errors.HedraTimeoutError}
562
+ *
563
+ * @example
564
+ * await client.jobs.submitFlux3VideoUpscalerCreative({
565
+ * input: {
566
+ * source_video: {
567
+ * source: "url",
568
+ * url: "url"
569
+ * },
570
+ * resolution: "1080p"
571
+ * }
572
+ * })
573
+ */
574
+ submitFlux3VideoUpscalerCreative(request: Hedra.SubmitBodyFlux3VideoUpscalerCreative, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
575
+ private __submitFlux3VideoUpscalerCreative;
576
+ /**
577
+ * Super-resolution that reproduces the source faithfully, for footage whose detail should not change.
578
+ *
579
+ * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
580
+ *
581
+ * @param {Hedra.SubmitBodyFlux3VideoUpscalerPrecise} request
582
+ * @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
583
+ *
584
+ * @throws {@link Hedra.BadRequestError}
585
+ * @throws {@link Hedra.UnauthorizedError}
586
+ * @throws {@link Hedra.PaymentRequiredError}
587
+ * @throws {@link Hedra.ForbiddenError}
588
+ * @throws {@link Hedra.NotFoundError}
589
+ * @throws {@link Hedra.UnprocessableEntityError}
590
+ * @throws {@link Hedra.TooManyRequestsError}
591
+ * @throws {@link Hedra.InternalServerError}
592
+ * @throws {@link errors.HedraError}
593
+ * @throws {@link errors.HedraTimeoutError}
594
+ *
595
+ * @example
596
+ * await client.jobs.submitFlux3VideoUpscalerPrecise({
597
+ * input: {
598
+ * source_video: {
599
+ * source: "url",
600
+ * url: "url"
601
+ * },
602
+ * resolution: "1080p"
603
+ * }
604
+ * })
605
+ */
606
+ submitFlux3VideoUpscalerPrecise(request: Hedra.SubmitBodyFlux3VideoUpscalerPrecise, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
607
+ private __submitFlux3VideoUpscalerPrecise;
544
608
  /**
545
609
  * Fast and light for quick concepts or high-volume social posts on a budget.
546
610
  *
@@ -772,6 +836,36 @@ export declare class JobsClient {
772
836
  */
773
837
  submitGeminiOmniFlash(request: Hedra.SubmitBodyGeminiOmniFlash, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
774
838
  private __submitGeminiOmniFlash;
839
+ /**
840
+ * Gemini's fast multimodal video model — cinematic clips with native audio, from a prompt, a keyframe pair, or reference images, up to 4K.
841
+ *
842
+ * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
843
+ *
844
+ * @param {Hedra.SubmitBodyGeminiOmniFlash11} request
845
+ * @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
846
+ *
847
+ * @throws {@link Hedra.BadRequestError}
848
+ * @throws {@link Hedra.UnauthorizedError}
849
+ * @throws {@link Hedra.PaymentRequiredError}
850
+ * @throws {@link Hedra.ForbiddenError}
851
+ * @throws {@link Hedra.NotFoundError}
852
+ * @throws {@link Hedra.UnprocessableEntityError}
853
+ * @throws {@link Hedra.TooManyRequestsError}
854
+ * @throws {@link Hedra.InternalServerError}
855
+ * @throws {@link errors.HedraError}
856
+ * @throws {@link errors.HedraTimeoutError}
857
+ *
858
+ * @example
859
+ * await client.jobs.submitGeminiOmniFlash11({
860
+ * input: {
861
+ * prompt: "prompt",
862
+ * aspect_ratio: "16:9",
863
+ * resolution: "360p"
864
+ * }
865
+ * })
866
+ */
867
+ submitGeminiOmniFlash11(request: Hedra.SubmitBodyGeminiOmniFlash11, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
868
+ private __submitGeminiOmniFlash11;
775
869
  /**
776
870
  * Reads a long, specific brief closely — the choice when the prompt carries the detail.
777
871
  *
@@ -831,6 +925,66 @@ export declare class JobsClient {
831
925
  */
832
926
  submitGptImage2(request: Hedra.SubmitBodyGptImage2, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
833
927
  private __submitGptImage2;
928
+ /**
929
+ * OpenAI's GPT Image 2.5 Flare; automatically selects rendering quality for the prompt.
930
+ *
931
+ * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
932
+ *
933
+ * @param {Hedra.SubmitBodyGptImage25Flare} request
934
+ * @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
935
+ *
936
+ * @throws {@link Hedra.BadRequestError}
937
+ * @throws {@link Hedra.UnauthorizedError}
938
+ * @throws {@link Hedra.PaymentRequiredError}
939
+ * @throws {@link Hedra.ForbiddenError}
940
+ * @throws {@link Hedra.NotFoundError}
941
+ * @throws {@link Hedra.UnprocessableEntityError}
942
+ * @throws {@link Hedra.TooManyRequestsError}
943
+ * @throws {@link Hedra.InternalServerError}
944
+ * @throws {@link errors.HedraError}
945
+ * @throws {@link errors.HedraTimeoutError}
946
+ *
947
+ * @example
948
+ * await client.jobs.submitGptImage25Flare({
949
+ * input: {
950
+ * prompt: "prompt",
951
+ * aspect_ratio: "16:9",
952
+ * resolution: "1K"
953
+ * }
954
+ * })
955
+ */
956
+ submitGptImage25Flare(request: Hedra.SubmitBodyGptImage25Flare, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
957
+ private __submitGptImage25Flare;
958
+ /**
959
+ * OpenAI's GPT Image 2.5 Sunburst; automatically selects rendering quality for the prompt.
960
+ *
961
+ * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
962
+ *
963
+ * @param {Hedra.SubmitBodyGptImage25Sunburst} request
964
+ * @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
965
+ *
966
+ * @throws {@link Hedra.BadRequestError}
967
+ * @throws {@link Hedra.UnauthorizedError}
968
+ * @throws {@link Hedra.PaymentRequiredError}
969
+ * @throws {@link Hedra.ForbiddenError}
970
+ * @throws {@link Hedra.NotFoundError}
971
+ * @throws {@link Hedra.UnprocessableEntityError}
972
+ * @throws {@link Hedra.TooManyRequestsError}
973
+ * @throws {@link Hedra.InternalServerError}
974
+ * @throws {@link errors.HedraError}
975
+ * @throws {@link errors.HedraTimeoutError}
976
+ *
977
+ * @example
978
+ * await client.jobs.submitGptImage25Sunburst({
979
+ * input: {
980
+ * prompt: "prompt",
981
+ * aspect_ratio: "16:9",
982
+ * resolution: "1K"
983
+ * }
984
+ * })
985
+ */
986
+ submitGptImage25Sunburst(request: Hedra.SubmitBodyGptImage25Sunburst, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
987
+ private __submitGptImage25Sunburst;
834
988
  /**
835
989
  * Grok's take on a prompt — punchy, irreverent stills, in everything from ultrawide to tall.
836
990
  *
@@ -1589,6 +1743,35 @@ export declare class JobsClient {
1589
1743
  */
1590
1744
  submitKlingV3MotionControl(request: Hedra.SubmitBodyKlingV3MotionControl, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
1591
1745
  private __submitKlingV3MotionControl;
1746
+ /**
1747
+ * Krea 2 renders in whatever style you hand it — pass reference images and it takes on their palette, lighting and texture in a new scene. The smaller of the two, strongest on illustration, anime and painting.
1748
+ *
1749
+ * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
1750
+ *
1751
+ * @param {Hedra.SubmitBodyKrea2} request
1752
+ * @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
1753
+ *
1754
+ * @throws {@link Hedra.BadRequestError}
1755
+ * @throws {@link Hedra.UnauthorizedError}
1756
+ * @throws {@link Hedra.PaymentRequiredError}
1757
+ * @throws {@link Hedra.ForbiddenError}
1758
+ * @throws {@link Hedra.NotFoundError}
1759
+ * @throws {@link Hedra.UnprocessableEntityError}
1760
+ * @throws {@link Hedra.TooManyRequestsError}
1761
+ * @throws {@link Hedra.InternalServerError}
1762
+ * @throws {@link errors.HedraError}
1763
+ * @throws {@link errors.HedraTimeoutError}
1764
+ *
1765
+ * @example
1766
+ * await client.jobs.submitKrea2({
1767
+ * input: {
1768
+ * prompt: "prompt",
1769
+ * aspect_ratio: "1:1"
1770
+ * }
1771
+ * })
1772
+ */
1773
+ submitKrea2(request: Hedra.SubmitBodyKrea2, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
1774
+ private __submitKrea2;
1592
1775
  /**
1593
1776
  * Clips up to 4K with synchronized native audio, for final output.
1594
1777
  *