@chainfuse/types 4.2.10 → 4.2.11

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.
@@ -252,6 +252,7 @@ export declare const ZodLanguageModelValues4: z4.ZodEnum<{
252
252
  }>;
253
253
  export type LanguageModelValues = zm.infer<typeof ZodLanguageModelValues>;
254
254
  export declare const ZodImageModelValues: zm.ZodMiniEnum<{
255
+ "workersai:@cf/black-forest-labs/flux-2-klein-9b": "workersai:@cf/black-forest-labs/flux-2-klein-9b";
255
256
  "workersai:@cf/runwayml/stable-diffusion-v1-5-inpainting": "workersai:@cf/runwayml/stable-diffusion-v1-5-inpainting";
256
257
  "workersai:@cf/black-forest-labs/flux-1-schnell": "workersai:@cf/black-forest-labs/flux-1-schnell";
257
258
  "workersai:@cf/bytedance/stable-diffusion-xl-lightning": "workersai:@cf/bytedance/stable-diffusion-xl-lightning";
@@ -268,6 +269,7 @@ export declare const ZodImageModelValues: zm.ZodMiniEnum<{
268
269
  "openai:gpt-image-1": AiModels.ImageModels.OpenAi.gpt1;
269
270
  }>;
270
271
  export declare const ZodImageModelValues4: z4.ZodEnum<{
272
+ "workersai:@cf/black-forest-labs/flux-2-klein-9b": "workersai:@cf/black-forest-labs/flux-2-klein-9b";
271
273
  "workersai:@cf/runwayml/stable-diffusion-v1-5-inpainting": "workersai:@cf/runwayml/stable-diffusion-v1-5-inpainting";
272
274
  "workersai:@cf/black-forest-labs/flux-1-schnell": "workersai:@cf/black-forest-labs/flux-1-schnell";
273
275
  "workersai:@cf/bytedance/stable-diffusion-xl-lightning": "workersai:@cf/bytedance/stable-diffusion-xl-lightning";
@@ -980,6 +980,180 @@ export declare const workersAiCatalog: {
980
980
  };
981
981
  }];
982
982
  };
983
+ readonly 'Text-to-Image': {
984
+ readonly id: "3d6e1f35-341b-4915-a6c8-9a7142a9033a";
985
+ readonly description: "Generates images from input text. These models can be used to generate and modify images based on text prompts.";
986
+ readonly models: readonly [{
987
+ readonly id: "e580c765-810c-4da3-936c-a2808892f14c";
988
+ readonly source: 1;
989
+ readonly name: "@cf/black-forest-labs/flux-2-klein-9b";
990
+ readonly description: "FLUX.2 [klein] 9B is a 9 billion parameter model that can generate images from text descriptions and supports multi-reference editing capabilities.";
991
+ readonly created_at: "2026-01-14 12:55:54.294";
992
+ readonly tags: readonly [];
993
+ readonly properties: {
994
+ readonly partner: true;
995
+ readonly terms: "https://bfl.ai/legal/terms-of-service";
996
+ };
997
+ }, {
998
+ readonly id: "a9abaef0-3031-47ad-8790-d311d8684c6c";
999
+ readonly source: 1;
1000
+ readonly name: "@cf/runwayml/stable-diffusion-v1-5-inpainting";
1001
+ readonly description: "Stable Diffusion Inpainting is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask.";
1002
+ readonly created_at: "2024-02-27 17:23:57.528";
1003
+ readonly tags: readonly [];
1004
+ readonly properties: {
1005
+ readonly beta: true;
1006
+ readonly price: readonly [{
1007
+ readonly unit: "per step";
1008
+ readonly price: 0;
1009
+ readonly currency: "USD";
1010
+ }];
1011
+ readonly info: "https://huggingface.co/runwayml/stable-diffusion-inpainting";
1012
+ readonly terms: "https://github.com/runwayml/stable-diffusion/blob/main/LICENSE";
1013
+ };
1014
+ }, {
1015
+ readonly id: "9e087485-23dc-47fa-997d-f5bfafc0c7cc";
1016
+ readonly source: 1;
1017
+ readonly name: "@cf/black-forest-labs/flux-1-schnell";
1018
+ readonly description: "FLUX.1 [schnell] is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. ";
1019
+ readonly created_at: "2024-08-29 16:37:39.541";
1020
+ readonly tags: readonly [];
1021
+ readonly properties: {
1022
+ readonly price: readonly [{
1023
+ readonly unit: "per 512 by 512 tile";
1024
+ readonly price: 0.000053;
1025
+ readonly currency: "USD";
1026
+ }, {
1027
+ readonly unit: "per step";
1028
+ readonly price: 0.00011;
1029
+ readonly currency: "USD";
1030
+ }];
1031
+ readonly terms: "https://bfl.ai/legal/terms-of-service";
1032
+ };
1033
+ }, {
1034
+ readonly id: "7f797b20-3eb0-44fd-b571-6cbbaa3c423b";
1035
+ readonly source: 1;
1036
+ readonly name: "@cf/bytedance/stable-diffusion-xl-lightning";
1037
+ readonly description: "SDXL-Lightning is a lightning-fast text-to-image generation model. It can generate high-quality 1024px images in a few steps.";
1038
+ readonly created_at: "2024-02-27 17:41:29.578";
1039
+ readonly tags: readonly [];
1040
+ readonly properties: {
1041
+ readonly beta: true;
1042
+ readonly price: readonly [{
1043
+ readonly unit: "per step";
1044
+ readonly price: 0;
1045
+ readonly currency: "USD";
1046
+ }];
1047
+ readonly info: "https://huggingface.co/ByteDance/SDXL-Lightning";
1048
+ };
1049
+ }, {
1050
+ readonly id: "7912c0ab-542e-44b9-b9ee-3113d226a8b5";
1051
+ readonly source: 1;
1052
+ readonly name: "@cf/lykon/dreamshaper-8-lcm";
1053
+ readonly description: "Stable Diffusion model that has been fine-tuned to be better at photorealism without sacrificing range.";
1054
+ readonly created_at: "2024-02-27 17:40:38.881";
1055
+ readonly tags: readonly [];
1056
+ readonly properties: {
1057
+ readonly info: "https://huggingface.co/Lykon/DreamShaper";
1058
+ };
1059
+ }, {
1060
+ readonly id: "724608fa-983e-495d-b95c-340d6b7e78be";
1061
+ readonly source: 1;
1062
+ readonly name: "@cf/leonardo/phoenix-1.0";
1063
+ readonly description: "Phoenix 1.0 is a model by Leonardo.Ai that generates images with exceptional prompt adherence and coherent text.";
1064
+ readonly created_at: "2025-08-25 18:12:18.073";
1065
+ readonly tags: readonly [];
1066
+ readonly properties: {
1067
+ readonly price: readonly [{
1068
+ readonly unit: "per 512 by 512 tile";
1069
+ readonly price: 0.0058;
1070
+ readonly currency: "USD";
1071
+ }, {
1072
+ readonly unit: "per step";
1073
+ readonly price: 0.00011;
1074
+ readonly currency: "USD";
1075
+ }];
1076
+ readonly partner: true;
1077
+ readonly terms: "https://leonardo.ai/terms-of-service/";
1078
+ };
1079
+ }, {
1080
+ readonly id: "6d52253a-b731-4a03-b203-cde2d4fae871";
1081
+ readonly source: 1;
1082
+ readonly name: "@cf/stabilityai/stable-diffusion-xl-base-1.0";
1083
+ readonly description: "Diffusion-based text-to-image generative model by Stability AI. Generates and modify images based on text prompts.";
1084
+ readonly created_at: "2023-11-10 10:54:43.694";
1085
+ readonly tags: readonly [];
1086
+ readonly properties: {
1087
+ readonly beta: true;
1088
+ readonly price: readonly [{
1089
+ readonly unit: "per step";
1090
+ readonly price: 0;
1091
+ readonly currency: "USD";
1092
+ }];
1093
+ readonly info: "https://stability.ai/stable-diffusion";
1094
+ readonly terms: "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/LICENSE.md";
1095
+ };
1096
+ }, {
1097
+ readonly id: "5cdffa8e-1b1e-48e8-85f1-ab9b943cdd32";
1098
+ readonly source: 1;
1099
+ readonly name: "@cf/black-forest-labs/flux-2-klein-4b";
1100
+ readonly description: "FLUX.2 [klein] is an ultra-fast, distilled image model. It unifies image generation and editing in a single model, delivering state-of-the-art quality enabling interactive workflows, real-time previews, and latency-critical applications.";
1101
+ readonly created_at: "2026-01-14 12:54:55.024";
1102
+ readonly tags: readonly [];
1103
+ readonly properties: {
1104
+ readonly partner: true;
1105
+ readonly terms: "https://bfl.ai/legal/terms-of-service";
1106
+ };
1107
+ }, {
1108
+ readonly id: "3ae8936e-593e-4fb2-85ee-95dd8a057588";
1109
+ readonly source: 1;
1110
+ readonly name: "@cf/black-forest-labs/flux-2-dev";
1111
+ readonly description: "FLUX.2 [dev] is an image model from Black Forest Labs where you can generate highly realistic and detailed images, with multi-reference support.";
1112
+ readonly created_at: "2025-11-24 15:44:06.050";
1113
+ readonly tags: readonly [];
1114
+ readonly properties: {
1115
+ readonly partner: true;
1116
+ readonly terms: "https://bfl.ai/legal/terms-of-service";
1117
+ };
1118
+ }, {
1119
+ readonly id: "19547f04-7a6a-4f87-bf2c-f5e32fb12dc5";
1120
+ readonly source: 1;
1121
+ readonly name: "@cf/runwayml/stable-diffusion-v1-5-img2img";
1122
+ readonly description: "Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images. Img2img generate a new image from an input image with Stable Diffusion. ";
1123
+ readonly created_at: "2024-02-27 17:32:28.581";
1124
+ readonly tags: readonly [];
1125
+ readonly properties: {
1126
+ readonly beta: true;
1127
+ readonly price: readonly [{
1128
+ readonly unit: "per step";
1129
+ readonly price: 0;
1130
+ readonly currency: "USD";
1131
+ }];
1132
+ readonly info: "https://huggingface.co/runwayml/stable-diffusion-v1-5";
1133
+ readonly terms: "https://github.com/runwayml/stable-diffusion/blob/main/LICENSE";
1134
+ };
1135
+ }, {
1136
+ readonly id: "0e372c11-8720-46c9-a02d-666188a22dae";
1137
+ readonly source: 1;
1138
+ readonly name: "@cf/leonardo/lucid-origin";
1139
+ readonly description: "Lucid Origin from Leonardo.AI is their most adaptable and prompt-responsive model to date. Whether you're generating images with sharp graphic design, stunning full-HD renders, or highly specific creative direction, it adheres closely to your prompts, renders text with accuracy, and supports a wide array of visual styles and aesthetics – from stylized concept art to crisp product mockups.\n";
1140
+ readonly created_at: "2025-08-25 19:21:28.770";
1141
+ readonly tags: readonly [];
1142
+ readonly properties: {
1143
+ readonly price: readonly [{
1144
+ readonly unit: "per 512 by 512 tile";
1145
+ readonly price: 0.007;
1146
+ readonly currency: "USD";
1147
+ }, {
1148
+ readonly unit: "per step";
1149
+ readonly price: 0.00013;
1150
+ readonly currency: "USD";
1151
+ }];
1152
+ readonly partner: true;
1153
+ readonly terms: "https://leonardo.ai/terms-of-service/";
1154
+ };
1155
+ }];
1156
+ };
983
1157
  readonly 'Text-to-Speech': {
984
1158
  readonly id: "b52660a1-9a95-4ab2-8b1d-f232be34604a";
985
1159
  readonly description: "Text-to-Speech (TTS) is the task of generating natural sounding speech given text input. TTS models can be extended to have a single model that generates speech for multiple speakers and multiple languages.";
@@ -1162,169 +1336,6 @@ export declare const workersAiCatalog: {
1162
1336
  };
1163
1337
  }];
1164
1338
  };
1165
- readonly 'Text-to-Image': {
1166
- readonly id: "3d6e1f35-341b-4915-a6c8-9a7142a9033a";
1167
- readonly description: "Generates images from input text. These models can be used to generate and modify images based on text prompts.";
1168
- readonly models: readonly [{
1169
- readonly id: "a9abaef0-3031-47ad-8790-d311d8684c6c";
1170
- readonly source: 1;
1171
- readonly name: "@cf/runwayml/stable-diffusion-v1-5-inpainting";
1172
- readonly description: "Stable Diffusion Inpainting is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask.";
1173
- readonly created_at: "2024-02-27 17:23:57.528";
1174
- readonly tags: readonly [];
1175
- readonly properties: {
1176
- readonly beta: true;
1177
- readonly price: readonly [{
1178
- readonly unit: "per step";
1179
- readonly price: 0;
1180
- readonly currency: "USD";
1181
- }];
1182
- readonly info: "https://huggingface.co/runwayml/stable-diffusion-inpainting";
1183
- readonly terms: "https://github.com/runwayml/stable-diffusion/blob/main/LICENSE";
1184
- };
1185
- }, {
1186
- readonly id: "9e087485-23dc-47fa-997d-f5bfafc0c7cc";
1187
- readonly source: 1;
1188
- readonly name: "@cf/black-forest-labs/flux-1-schnell";
1189
- readonly description: "FLUX.1 [schnell] is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. ";
1190
- readonly created_at: "2024-08-29 16:37:39.541";
1191
- readonly tags: readonly [];
1192
- readonly properties: {
1193
- readonly price: readonly [{
1194
- readonly unit: "per 512 by 512 tile";
1195
- readonly price: 0.000053;
1196
- readonly currency: "USD";
1197
- }, {
1198
- readonly unit: "per step";
1199
- readonly price: 0.00011;
1200
- readonly currency: "USD";
1201
- }];
1202
- readonly terms: "https://bfl.ai/legal/terms-of-service";
1203
- };
1204
- }, {
1205
- readonly id: "7f797b20-3eb0-44fd-b571-6cbbaa3c423b";
1206
- readonly source: 1;
1207
- readonly name: "@cf/bytedance/stable-diffusion-xl-lightning";
1208
- readonly description: "SDXL-Lightning is a lightning-fast text-to-image generation model. It can generate high-quality 1024px images in a few steps.";
1209
- readonly created_at: "2024-02-27 17:41:29.578";
1210
- readonly tags: readonly [];
1211
- readonly properties: {
1212
- readonly beta: true;
1213
- readonly price: readonly [{
1214
- readonly unit: "per step";
1215
- readonly price: 0;
1216
- readonly currency: "USD";
1217
- }];
1218
- readonly info: "https://huggingface.co/ByteDance/SDXL-Lightning";
1219
- };
1220
- }, {
1221
- readonly id: "7912c0ab-542e-44b9-b9ee-3113d226a8b5";
1222
- readonly source: 1;
1223
- readonly name: "@cf/lykon/dreamshaper-8-lcm";
1224
- readonly description: "Stable Diffusion model that has been fine-tuned to be better at photorealism without sacrificing range.";
1225
- readonly created_at: "2024-02-27 17:40:38.881";
1226
- readonly tags: readonly [];
1227
- readonly properties: {
1228
- readonly info: "https://huggingface.co/Lykon/DreamShaper";
1229
- };
1230
- }, {
1231
- readonly id: "724608fa-983e-495d-b95c-340d6b7e78be";
1232
- readonly source: 1;
1233
- readonly name: "@cf/leonardo/phoenix-1.0";
1234
- readonly description: "Phoenix 1.0 is a model by Leonardo.Ai that generates images with exceptional prompt adherence and coherent text.";
1235
- readonly created_at: "2025-08-25 18:12:18.073";
1236
- readonly tags: readonly [];
1237
- readonly properties: {
1238
- readonly price: readonly [{
1239
- readonly unit: "per 512 by 512 tile";
1240
- readonly price: 0.0058;
1241
- readonly currency: "USD";
1242
- }, {
1243
- readonly unit: "per step";
1244
- readonly price: 0.00011;
1245
- readonly currency: "USD";
1246
- }];
1247
- readonly partner: true;
1248
- readonly terms: "https://leonardo.ai/terms-of-service/";
1249
- };
1250
- }, {
1251
- readonly id: "6d52253a-b731-4a03-b203-cde2d4fae871";
1252
- readonly source: 1;
1253
- readonly name: "@cf/stabilityai/stable-diffusion-xl-base-1.0";
1254
- readonly description: "Diffusion-based text-to-image generative model by Stability AI. Generates and modify images based on text prompts.";
1255
- readonly created_at: "2023-11-10 10:54:43.694";
1256
- readonly tags: readonly [];
1257
- readonly properties: {
1258
- readonly beta: true;
1259
- readonly price: readonly [{
1260
- readonly unit: "per step";
1261
- readonly price: 0;
1262
- readonly currency: "USD";
1263
- }];
1264
- readonly info: "https://stability.ai/stable-diffusion";
1265
- readonly terms: "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/LICENSE.md";
1266
- };
1267
- }, {
1268
- readonly id: "5cdffa8e-1b1e-48e8-85f1-ab9b943cdd32";
1269
- readonly source: 1;
1270
- readonly name: "@cf/black-forest-labs/flux-2-klein-4b";
1271
- readonly description: "FLUX.2 [klein] is an ultra-fast, distilled image model. It unifies image generation and editing in a single model, delivering state-of-the-art quality enabling interactive workflows, real-time previews, and latency-critical applications.";
1272
- readonly created_at: "2026-01-14 12:54:55.024";
1273
- readonly tags: readonly [];
1274
- readonly properties: {
1275
- readonly partner: true;
1276
- readonly terms: "https://bfl.ai/legal/terms-of-service";
1277
- };
1278
- }, {
1279
- readonly id: "3ae8936e-593e-4fb2-85ee-95dd8a057588";
1280
- readonly source: 1;
1281
- readonly name: "@cf/black-forest-labs/flux-2-dev";
1282
- readonly description: "FLUX.2 [dev] is an image model from Black Forest Labs where you can generate highly realistic and detailed images, with multi-reference support.";
1283
- readonly created_at: "2025-11-24 15:44:06.050";
1284
- readonly tags: readonly [];
1285
- readonly properties: {
1286
- readonly partner: true;
1287
- readonly terms: "https://bfl.ai/legal/terms-of-service";
1288
- };
1289
- }, {
1290
- readonly id: "19547f04-7a6a-4f87-bf2c-f5e32fb12dc5";
1291
- readonly source: 1;
1292
- readonly name: "@cf/runwayml/stable-diffusion-v1-5-img2img";
1293
- readonly description: "Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images. Img2img generate a new image from an input image with Stable Diffusion. ";
1294
- readonly created_at: "2024-02-27 17:32:28.581";
1295
- readonly tags: readonly [];
1296
- readonly properties: {
1297
- readonly beta: true;
1298
- readonly price: readonly [{
1299
- readonly unit: "per step";
1300
- readonly price: 0;
1301
- readonly currency: "USD";
1302
- }];
1303
- readonly info: "https://huggingface.co/runwayml/stable-diffusion-v1-5";
1304
- readonly terms: "https://github.com/runwayml/stable-diffusion/blob/main/LICENSE";
1305
- };
1306
- }, {
1307
- readonly id: "0e372c11-8720-46c9-a02d-666188a22dae";
1308
- readonly source: 1;
1309
- readonly name: "@cf/leonardo/lucid-origin";
1310
- readonly description: "Lucid Origin from Leonardo.AI is their most adaptable and prompt-responsive model to date. Whether you're generating images with sharp graphic design, stunning full-HD renders, or highly specific creative direction, it adheres closely to your prompts, renders text with accuracy, and supports a wide array of visual styles and aesthetics – from stylized concept art to crisp product mockups.\n";
1311
- readonly created_at: "2025-08-25 19:21:28.770";
1312
- readonly tags: readonly [];
1313
- readonly properties: {
1314
- readonly price: readonly [{
1315
- readonly unit: "per 512 by 512 tile";
1316
- readonly price: 0.007;
1317
- readonly currency: "USD";
1318
- }, {
1319
- readonly unit: "per step";
1320
- readonly price: 0.00013;
1321
- readonly currency: "USD";
1322
- }];
1323
- readonly partner: true;
1324
- readonly terms: "https://leonardo.ai/terms-of-service/";
1325
- };
1326
- }];
1327
- };
1328
1339
  readonly 'Image Classification': {
1329
1340
  readonly id: "00cd182b-bf30-4fc4-8481-84a3ab349657";
1330
1341
  readonly description: "Image classification models take an image input and assigns it labels or classes.";
@@ -1128,6 +1128,209 @@ export const workersAiCatalog = {
1128
1128
  },
1129
1129
  ],
1130
1130
  },
1131
+ 'Text-to-Image': {
1132
+ id: '3d6e1f35-341b-4915-a6c8-9a7142a9033a',
1133
+ description: 'Generates images from input text. These models can be used to generate and modify images based on text prompts.',
1134
+ models: [
1135
+ {
1136
+ id: 'e580c765-810c-4da3-936c-a2808892f14c',
1137
+ source: 1,
1138
+ name: '@cf/black-forest-labs/flux-2-klein-9b',
1139
+ description: 'FLUX.2 [klein] 9B is a 9 billion parameter model that can generate images from text descriptions and supports multi-reference editing capabilities.',
1140
+ created_at: '2026-01-14 12:55:54.294',
1141
+ tags: [],
1142
+ properties: {
1143
+ partner: true,
1144
+ terms: 'https://bfl.ai/legal/terms-of-service',
1145
+ },
1146
+ },
1147
+ {
1148
+ id: 'a9abaef0-3031-47ad-8790-d311d8684c6c',
1149
+ source: 1,
1150
+ name: '@cf/runwayml/stable-diffusion-v1-5-inpainting',
1151
+ description: 'Stable Diffusion Inpainting is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask.',
1152
+ created_at: '2024-02-27 17:23:57.528',
1153
+ tags: [],
1154
+ properties: {
1155
+ beta: true,
1156
+ price: [
1157
+ {
1158
+ unit: 'per step',
1159
+ price: 0,
1160
+ currency: 'USD',
1161
+ },
1162
+ ],
1163
+ info: 'https://huggingface.co/runwayml/stable-diffusion-inpainting',
1164
+ terms: 'https://github.com/runwayml/stable-diffusion/blob/main/LICENSE',
1165
+ },
1166
+ },
1167
+ {
1168
+ id: '9e087485-23dc-47fa-997d-f5bfafc0c7cc',
1169
+ source: 1,
1170
+ name: '@cf/black-forest-labs/flux-1-schnell',
1171
+ description: 'FLUX.1 [schnell] is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. ',
1172
+ created_at: '2024-08-29 16:37:39.541',
1173
+ tags: [],
1174
+ properties: {
1175
+ price: [
1176
+ {
1177
+ unit: 'per 512 by 512 tile',
1178
+ price: 0.000053,
1179
+ currency: 'USD',
1180
+ },
1181
+ {
1182
+ unit: 'per step',
1183
+ price: 0.00011,
1184
+ currency: 'USD',
1185
+ },
1186
+ ],
1187
+ terms: 'https://bfl.ai/legal/terms-of-service',
1188
+ },
1189
+ },
1190
+ {
1191
+ id: '7f797b20-3eb0-44fd-b571-6cbbaa3c423b',
1192
+ source: 1,
1193
+ name: '@cf/bytedance/stable-diffusion-xl-lightning',
1194
+ description: 'SDXL-Lightning is a lightning-fast text-to-image generation model. It can generate high-quality 1024px images in a few steps.',
1195
+ created_at: '2024-02-27 17:41:29.578',
1196
+ tags: [],
1197
+ properties: {
1198
+ beta: true,
1199
+ price: [
1200
+ {
1201
+ unit: 'per step',
1202
+ price: 0,
1203
+ currency: 'USD',
1204
+ },
1205
+ ],
1206
+ info: 'https://huggingface.co/ByteDance/SDXL-Lightning',
1207
+ },
1208
+ },
1209
+ {
1210
+ id: '7912c0ab-542e-44b9-b9ee-3113d226a8b5',
1211
+ source: 1,
1212
+ name: '@cf/lykon/dreamshaper-8-lcm',
1213
+ description: 'Stable Diffusion model that has been fine-tuned to be better at photorealism without sacrificing range.',
1214
+ created_at: '2024-02-27 17:40:38.881',
1215
+ tags: [],
1216
+ properties: {
1217
+ info: 'https://huggingface.co/Lykon/DreamShaper',
1218
+ },
1219
+ },
1220
+ {
1221
+ id: '724608fa-983e-495d-b95c-340d6b7e78be',
1222
+ source: 1,
1223
+ name: '@cf/leonardo/phoenix-1.0',
1224
+ description: 'Phoenix 1.0 is a model by Leonardo.Ai that generates images with exceptional prompt adherence and coherent text.',
1225
+ created_at: '2025-08-25 18:12:18.073',
1226
+ tags: [],
1227
+ properties: {
1228
+ price: [
1229
+ {
1230
+ unit: 'per 512 by 512 tile',
1231
+ price: 0.0058,
1232
+ currency: 'USD',
1233
+ },
1234
+ {
1235
+ unit: 'per step',
1236
+ price: 0.00011,
1237
+ currency: 'USD',
1238
+ },
1239
+ ],
1240
+ partner: true,
1241
+ terms: 'https://leonardo.ai/terms-of-service/',
1242
+ },
1243
+ },
1244
+ {
1245
+ id: '6d52253a-b731-4a03-b203-cde2d4fae871',
1246
+ source: 1,
1247
+ name: '@cf/stabilityai/stable-diffusion-xl-base-1.0',
1248
+ description: 'Diffusion-based text-to-image generative model by Stability AI. Generates and modify images based on text prompts.',
1249
+ created_at: '2023-11-10 10:54:43.694',
1250
+ tags: [],
1251
+ properties: {
1252
+ beta: true,
1253
+ price: [
1254
+ {
1255
+ unit: 'per step',
1256
+ price: 0,
1257
+ currency: 'USD',
1258
+ },
1259
+ ],
1260
+ info: 'https://stability.ai/stable-diffusion',
1261
+ terms: 'https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/LICENSE.md',
1262
+ },
1263
+ },
1264
+ {
1265
+ id: '5cdffa8e-1b1e-48e8-85f1-ab9b943cdd32',
1266
+ source: 1,
1267
+ name: '@cf/black-forest-labs/flux-2-klein-4b',
1268
+ description: 'FLUX.2 [klein] is an ultra-fast, distilled image model. It unifies image generation and editing in a single model, delivering state-of-the-art quality enabling interactive workflows, real-time previews, and latency-critical applications.',
1269
+ created_at: '2026-01-14 12:54:55.024',
1270
+ tags: [],
1271
+ properties: {
1272
+ partner: true,
1273
+ terms: 'https://bfl.ai/legal/terms-of-service',
1274
+ },
1275
+ },
1276
+ {
1277
+ id: '3ae8936e-593e-4fb2-85ee-95dd8a057588',
1278
+ source: 1,
1279
+ name: '@cf/black-forest-labs/flux-2-dev',
1280
+ description: 'FLUX.2 [dev] is an image model from Black Forest Labs where you can generate highly realistic and detailed images, with multi-reference support.',
1281
+ created_at: '2025-11-24 15:44:06.050',
1282
+ tags: [],
1283
+ properties: {
1284
+ partner: true,
1285
+ terms: 'https://bfl.ai/legal/terms-of-service',
1286
+ },
1287
+ },
1288
+ {
1289
+ id: '19547f04-7a6a-4f87-bf2c-f5e32fb12dc5',
1290
+ source: 1,
1291
+ name: '@cf/runwayml/stable-diffusion-v1-5-img2img',
1292
+ description: 'Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images. Img2img generate a new image from an input image with Stable Diffusion. ',
1293
+ created_at: '2024-02-27 17:32:28.581',
1294
+ tags: [],
1295
+ properties: {
1296
+ beta: true,
1297
+ price: [
1298
+ {
1299
+ unit: 'per step',
1300
+ price: 0,
1301
+ currency: 'USD',
1302
+ },
1303
+ ],
1304
+ info: 'https://huggingface.co/runwayml/stable-diffusion-v1-5',
1305
+ terms: 'https://github.com/runwayml/stable-diffusion/blob/main/LICENSE',
1306
+ },
1307
+ },
1308
+ {
1309
+ id: '0e372c11-8720-46c9-a02d-666188a22dae',
1310
+ source: 1,
1311
+ name: '@cf/leonardo/lucid-origin',
1312
+ description: "Lucid Origin from Leonardo.AI is their most adaptable and prompt-responsive model to date. Whether you're generating images with sharp graphic design, stunning full-HD renders, or highly specific creative direction, it adheres closely to your prompts, renders text with accuracy, and supports a wide array of visual styles and aesthetics – from stylized concept art to crisp product mockups.\n",
1313
+ created_at: '2025-08-25 19:21:28.770',
1314
+ tags: [],
1315
+ properties: {
1316
+ price: [
1317
+ {
1318
+ unit: 'per 512 by 512 tile',
1319
+ price: 0.007,
1320
+ currency: 'USD',
1321
+ },
1322
+ {
1323
+ unit: 'per step',
1324
+ price: 0.00013,
1325
+ currency: 'USD',
1326
+ },
1327
+ ],
1328
+ partner: true,
1329
+ terms: 'https://leonardo.ai/terms-of-service/',
1330
+ },
1331
+ },
1332
+ ],
1333
+ },
1131
1334
  'Text-to-Speech': {
1132
1335
  id: 'b52660a1-9a95-4ab2-8b1d-f232be34604a',
1133
1336
  description: 'Text-to-Speech (TTS) is the task of generating natural sounding speech given text input. TTS models can be extended to have a single model that generates speech for multiple speakers and multiple languages.',
@@ -1341,197 +1544,6 @@ export const workersAiCatalog = {
1341
1544
  },
1342
1545
  ],
1343
1546
  },
1344
- 'Text-to-Image': {
1345
- id: '3d6e1f35-341b-4915-a6c8-9a7142a9033a',
1346
- description: 'Generates images from input text. These models can be used to generate and modify images based on text prompts.',
1347
- models: [
1348
- {
1349
- id: 'a9abaef0-3031-47ad-8790-d311d8684c6c',
1350
- source: 1,
1351
- name: '@cf/runwayml/stable-diffusion-v1-5-inpainting',
1352
- description: 'Stable Diffusion Inpainting is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask.',
1353
- created_at: '2024-02-27 17:23:57.528',
1354
- tags: [],
1355
- properties: {
1356
- beta: true,
1357
- price: [
1358
- {
1359
- unit: 'per step',
1360
- price: 0,
1361
- currency: 'USD',
1362
- },
1363
- ],
1364
- info: 'https://huggingface.co/runwayml/stable-diffusion-inpainting',
1365
- terms: 'https://github.com/runwayml/stable-diffusion/blob/main/LICENSE',
1366
- },
1367
- },
1368
- {
1369
- id: '9e087485-23dc-47fa-997d-f5bfafc0c7cc',
1370
- source: 1,
1371
- name: '@cf/black-forest-labs/flux-1-schnell',
1372
- description: 'FLUX.1 [schnell] is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. ',
1373
- created_at: '2024-08-29 16:37:39.541',
1374
- tags: [],
1375
- properties: {
1376
- price: [
1377
- {
1378
- unit: 'per 512 by 512 tile',
1379
- price: 0.000053,
1380
- currency: 'USD',
1381
- },
1382
- {
1383
- unit: 'per step',
1384
- price: 0.00011,
1385
- currency: 'USD',
1386
- },
1387
- ],
1388
- terms: 'https://bfl.ai/legal/terms-of-service',
1389
- },
1390
- },
1391
- {
1392
- id: '7f797b20-3eb0-44fd-b571-6cbbaa3c423b',
1393
- source: 1,
1394
- name: '@cf/bytedance/stable-diffusion-xl-lightning',
1395
- description: 'SDXL-Lightning is a lightning-fast text-to-image generation model. It can generate high-quality 1024px images in a few steps.',
1396
- created_at: '2024-02-27 17:41:29.578',
1397
- tags: [],
1398
- properties: {
1399
- beta: true,
1400
- price: [
1401
- {
1402
- unit: 'per step',
1403
- price: 0,
1404
- currency: 'USD',
1405
- },
1406
- ],
1407
- info: 'https://huggingface.co/ByteDance/SDXL-Lightning',
1408
- },
1409
- },
1410
- {
1411
- id: '7912c0ab-542e-44b9-b9ee-3113d226a8b5',
1412
- source: 1,
1413
- name: '@cf/lykon/dreamshaper-8-lcm',
1414
- description: 'Stable Diffusion model that has been fine-tuned to be better at photorealism without sacrificing range.',
1415
- created_at: '2024-02-27 17:40:38.881',
1416
- tags: [],
1417
- properties: {
1418
- info: 'https://huggingface.co/Lykon/DreamShaper',
1419
- },
1420
- },
1421
- {
1422
- id: '724608fa-983e-495d-b95c-340d6b7e78be',
1423
- source: 1,
1424
- name: '@cf/leonardo/phoenix-1.0',
1425
- description: 'Phoenix 1.0 is a model by Leonardo.Ai that generates images with exceptional prompt adherence and coherent text.',
1426
- created_at: '2025-08-25 18:12:18.073',
1427
- tags: [],
1428
- properties: {
1429
- price: [
1430
- {
1431
- unit: 'per 512 by 512 tile',
1432
- price: 0.0058,
1433
- currency: 'USD',
1434
- },
1435
- {
1436
- unit: 'per step',
1437
- price: 0.00011,
1438
- currency: 'USD',
1439
- },
1440
- ],
1441
- partner: true,
1442
- terms: 'https://leonardo.ai/terms-of-service/',
1443
- },
1444
- },
1445
- {
1446
- id: '6d52253a-b731-4a03-b203-cde2d4fae871',
1447
- source: 1,
1448
- name: '@cf/stabilityai/stable-diffusion-xl-base-1.0',
1449
- description: 'Diffusion-based text-to-image generative model by Stability AI. Generates and modify images based on text prompts.',
1450
- created_at: '2023-11-10 10:54:43.694',
1451
- tags: [],
1452
- properties: {
1453
- beta: true,
1454
- price: [
1455
- {
1456
- unit: 'per step',
1457
- price: 0,
1458
- currency: 'USD',
1459
- },
1460
- ],
1461
- info: 'https://stability.ai/stable-diffusion',
1462
- terms: 'https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/LICENSE.md',
1463
- },
1464
- },
1465
- {
1466
- id: '5cdffa8e-1b1e-48e8-85f1-ab9b943cdd32',
1467
- source: 1,
1468
- name: '@cf/black-forest-labs/flux-2-klein-4b',
1469
- description: 'FLUX.2 [klein] is an ultra-fast, distilled image model. It unifies image generation and editing in a single model, delivering state-of-the-art quality enabling interactive workflows, real-time previews, and latency-critical applications.',
1470
- created_at: '2026-01-14 12:54:55.024',
1471
- tags: [],
1472
- properties: {
1473
- partner: true,
1474
- terms: 'https://bfl.ai/legal/terms-of-service',
1475
- },
1476
- },
1477
- {
1478
- id: '3ae8936e-593e-4fb2-85ee-95dd8a057588',
1479
- source: 1,
1480
- name: '@cf/black-forest-labs/flux-2-dev',
1481
- description: 'FLUX.2 [dev] is an image model from Black Forest Labs where you can generate highly realistic and detailed images, with multi-reference support.',
1482
- created_at: '2025-11-24 15:44:06.050',
1483
- tags: [],
1484
- properties: {
1485
- partner: true,
1486
- terms: 'https://bfl.ai/legal/terms-of-service',
1487
- },
1488
- },
1489
- {
1490
- id: '19547f04-7a6a-4f87-bf2c-f5e32fb12dc5',
1491
- source: 1,
1492
- name: '@cf/runwayml/stable-diffusion-v1-5-img2img',
1493
- description: 'Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images. Img2img generate a new image from an input image with Stable Diffusion. ',
1494
- created_at: '2024-02-27 17:32:28.581',
1495
- tags: [],
1496
- properties: {
1497
- beta: true,
1498
- price: [
1499
- {
1500
- unit: 'per step',
1501
- price: 0,
1502
- currency: 'USD',
1503
- },
1504
- ],
1505
- info: 'https://huggingface.co/runwayml/stable-diffusion-v1-5',
1506
- terms: 'https://github.com/runwayml/stable-diffusion/blob/main/LICENSE',
1507
- },
1508
- },
1509
- {
1510
- id: '0e372c11-8720-46c9-a02d-666188a22dae',
1511
- source: 1,
1512
- name: '@cf/leonardo/lucid-origin',
1513
- description: "Lucid Origin from Leonardo.AI is their most adaptable and prompt-responsive model to date. Whether you're generating images with sharp graphic design, stunning full-HD renders, or highly specific creative direction, it adheres closely to your prompts, renders text with accuracy, and supports a wide array of visual styles and aesthetics – from stylized concept art to crisp product mockups.\n",
1514
- created_at: '2025-08-25 19:21:28.770',
1515
- tags: [],
1516
- properties: {
1517
- price: [
1518
- {
1519
- unit: 'per 512 by 512 tile',
1520
- price: 0.007,
1521
- currency: 'USD',
1522
- },
1523
- {
1524
- unit: 'per step',
1525
- price: 0.00013,
1526
- currency: 'USD',
1527
- },
1528
- ],
1529
- partner: true,
1530
- terms: 'https://leonardo.ai/terms-of-service/',
1531
- },
1532
- },
1533
- ],
1534
- },
1535
1547
  'Image Classification': {
1536
1548
  id: '00cd182b-bf30-4fc4-8481-84a3ab349657',
1537
1549
  description: 'Image classification models take an image input and assigns it labels or classes.',
@@ -6,13 +6,13 @@ export declare enum D0SystemType {
6
6
  Dataspace = 1,
7
7
  Tenant = 2,
8
8
  User = 3,
9
- WebSocket = 4,
10
- Workflow = 5
9
+ Workflow = 4
11
10
  }
12
11
  export declare enum D0CombinedLocations {
13
12
  none = 0,
14
13
  eu = 1,
15
14
  fedramp = 2,
15
+ 'fedramp-high' = 3,
16
16
  wnam = 10,
17
17
  enam = 11,
18
18
  sam = 12,
package/dist/d0/index.js CHANGED
@@ -7,14 +7,14 @@ export var D0SystemType;
7
7
  D0SystemType[D0SystemType["Dataspace"] = 1] = "Dataspace";
8
8
  D0SystemType[D0SystemType["Tenant"] = 2] = "Tenant";
9
9
  D0SystemType[D0SystemType["User"] = 3] = "User";
10
- D0SystemType[D0SystemType["WebSocket"] = 4] = "WebSocket";
11
- D0SystemType[D0SystemType["Workflow"] = 5] = "Workflow";
10
+ D0SystemType[D0SystemType["Workflow"] = 4] = "Workflow";
12
11
  })(D0SystemType || (D0SystemType = {}));
13
12
  export var D0CombinedLocations;
14
13
  (function (D0CombinedLocations) {
15
14
  D0CombinedLocations[D0CombinedLocations["none"] = 0] = "none";
16
15
  D0CombinedLocations[D0CombinedLocations["eu"] = 1] = "eu";
17
16
  D0CombinedLocations[D0CombinedLocations["fedramp"] = 2] = "fedramp";
17
+ D0CombinedLocations[D0CombinedLocations["fedramp-high"] = 3] = "fedramp-high";
18
18
  D0CombinedLocations[D0CombinedLocations["wnam"] = 10] = "wnam";
19
19
  D0CombinedLocations[D0CombinedLocations["enam"] = 11] = "enam";
20
20
  D0CombinedLocations[D0CombinedLocations["sam"] = 12] = "sam";
package/dist/index.d.ts CHANGED
@@ -70,7 +70,8 @@ export type CustomLoging = boolean | CustomLogCallback;
70
70
  */
71
71
  export declare enum DOJurisdictions {
72
72
  'The European Union' = "eu",
73
- 'FedRAMP-compliant data centers' = "fedramp"
73
+ 'FedRAMP-compliant data centers' = "fedramp",
74
+ 'FedRAMP High authorization' = "fedramp-high"
74
75
  }
75
76
  /**
76
77
  * @link https://developers.cloudflare.com/durable-objects/reference/data-location/#provide-a-location-hint
package/dist/index.js CHANGED
@@ -5,6 +5,7 @@ export var DOJurisdictions;
5
5
  (function (DOJurisdictions) {
6
6
  DOJurisdictions["The European Union"] = "eu";
7
7
  DOJurisdictions["FedRAMP-compliant data centers"] = "fedramp";
8
+ DOJurisdictions["FedRAMP High authorization"] = "fedramp-high";
8
9
  })(DOJurisdictions || (DOJurisdictions = {}));
9
10
  /**
10
11
  * @link https://developers.cloudflare.com/durable-objects/reference/data-location/#provide-a-location-hint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainfuse/types",
3
- "version": "4.2.10",
3
+ "version": "4.2.11",
4
4
  "description": "",
5
5
  "author": "ChainFuse",
6
6
  "homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
@@ -95,11 +95,11 @@
95
95
  "prettier": "@demosjarco/prettier-config",
96
96
  "dependencies": {
97
97
  "validator": "^13.15.26",
98
- "zod": "^4.3.5"
98
+ "zod": "^4.3.6"
99
99
  },
100
100
  "devDependencies": {
101
- "@cloudflare/workers-types": "^4.20260120.0",
101
+ "@cloudflare/workers-types": "^4.20260128.0",
102
102
  "@types/validator": "^13.15.10"
103
103
  },
104
- "gitHead": "eb15a40d1d4f7c6e8f7d5b5755e5c06ce4a965ba"
104
+ "gitHead": "32d4c66d2f5a422628d257b1727df83477803f48"
105
105
  }