mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
update URL for bulk download placeholder
This commit is contained in:
parent
fa031156ab
commit
0acf800015
@ -366,7 +366,7 @@ class ImagesDownloaded(BaseModel):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@images_router.post("/download", operation_id="download_images_from_list", response_model=ImagesDownloaded)
|
@images_router.post("/export", operation_id="download_images_from_list", response_model=ImagesDownloaded)
|
||||||
async def download_images_from_list(
|
async def download_images_from_list(
|
||||||
image_names: list[str] = Body(description="The list of names of images to download", embed=True),
|
image_names: list[str] = Body(description="The list of names of images to download", embed=True),
|
||||||
board_id: Optional[str] = Body(
|
board_id: Optional[str] = Body(
|
||||||
|
@ -1543,7 +1543,7 @@ export const imagesApi = api.injectEndpoints({
|
|||||||
components['schemas']['Body_download_images_from_list']
|
components['schemas']['Body_download_images_from_list']
|
||||||
>({
|
>({
|
||||||
query: ({ image_names, board_id }) => ({
|
query: ({ image_names, board_id }) => ({
|
||||||
url: `images/download`,
|
url: `images/export`,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: {
|
body: {
|
||||||
image_names,
|
image_names,
|
||||||
|
Loading…
Reference in New Issue
Block a user