mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-16 14:52:31 +00:00
fix names
This commit is contained in:
1 parent
dcac0fb352
commit
4cc5425b38
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ use tokens::tokens::generic_inference_jobs::InferenceJobToken;
|
||||
use tokens::tokens::media_files::MediaFileToken;
|
||||
use utoipa::ToSchema;
|
||||
|
||||
pub const BYTEDANCE_SEEDREAM_5_LITE_MULTI_FUNCTION_IMAGE_GEN_PATH: &str = "/v1/generate/image/multi_function/bytedance_seedream_5_light";
|
||||
pub const BYTEDANCE_SEEDREAM_5_LITE_MULTI_FUNCTION_IMAGE_GEN_PATH: &str = "/v1/generate/image/multi_function/bytedance_seedream_5_lite";
|
||||
|
||||
#[derive(Serialize, Deserialize, ToSchema)]
|
||||
pub struct BytedanceSeedream5LiteMultiFunctionImageGenRequest {
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ use tokens::tokens::generic_inference_jobs::InferenceJobToken;
|
||||
#[utoipa::path(
|
||||
post,
|
||||
tag = "Generate Images (Multi-Function)",
|
||||
path = "/v1/generate/image/multi_function/bytedance_seedream_5_light",
|
||||
path = "/v1/generate/image/multi_function/bytedance_seedream_5_lite",
|
||||
responses(
|
||||
(status = 200, description = "Success", body = BytedanceSeedream5LiteMultiFunctionImageGenResponse),
|
||||
),
|
||||
|
||||
+1
-1
@@ -91,7 +91,7 @@ where
|
||||
.route(web::post().to(nano_banana_pro_multi_function_image_gen_handler))
|
||||
.route(web::head().to(|| HttpResponse::Ok()))
|
||||
)
|
||||
.service(web::resource("/bytedance_seedream_5_light")
|
||||
.service(web::resource("/bytedance_seedream_5_lite")
|
||||
.route(web::post().to(bytedance_seedream_5_lite_multi_function_image_gen_handler))
|
||||
.route(web::head().to(|| HttpResponse::Ok()))
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user