Skip to content

Commit a15f2dd

Browse files
feat: re-gen z-images and fluxes lora (loars->loras)
1 parent ee2ac1a commit a15f2dd

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

docs/api-references/image-models/flux/flux-2-lora-edit.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
"default": true,
131131
"description": "If set to True, the safety checker will be enabled."
132132
},
133-
"loars": {
133+
"loras": {
134134
"type": "array",
135135
"items": {
136136
"type": "object",

docs/api-references/image-models/flux/flux-2-lora.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"default": true,
121121
"description": "If set to True, the safety checker will be enabled."
122122
},
123-
"loars": {
123+
"loras": {
124124
"type": "array",
125125
"items": {
126126
"type": "object",

packages/generators-v2/src/json_for-docs_generation.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,30 @@
1414
"category": "image-models",
1515
"vendor": "Alibaba-Cloud",
1616
"codeSamples": "text-to-image"
17+
},
18+
{
19+
"name": "blackforestlabs/flux-2-lora",
20+
"url": "https://ai.aimlapi.com/docs-json?endpoint=openai/image-generations&model=blackforestlabs/flux-2-lora",
21+
"alias": "flux-2-lora",
22+
"category": "image-models",
23+
"vendor": "Flux",
24+
"codeSamples": "text-to-image"
25+
},
26+
{
27+
"name": "blackforestlabs/flux-2-lora-edit",
28+
"url": "https://ai.aimlapi.com/docs-json?endpoint=openai/image-generations&model=blackforestlabs/flux-2-lora-edit",
29+
"alias": "flux-2-lora-edit",
30+
"category": "image-models",
31+
"vendor": "Flux",
32+
"codeSamples": "custom",
33+
"customUrlApi": "https://api.aimlapi.com/v1/images/generations",
34+
"customParams":{
35+
"model": "blackforestlabs/flux-2-lora-edit",
36+
"prompt": "Combine the images so the T-Rex is wearing a business suit, sitting in a cozy small café, drinking from the mug. Blur the background slightly to create a bokeh effect.",
37+
"image_urls": [
38+
"https://raw.githubusercontent.com/aimlapi/api-docs/main/reference-files/t-rex.png",
39+
"https://raw.githubusercontent.com/aimlapi/api-docs/main/reference-files/blue-mug.jpg"
40+
]
41+
}
1742
}
1843
]

0 commit comments

Comments
 (0)