mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 02:00:46 +00:00
reorder
This commit is contained in:
1 parent
8436d42d41
commit
0922ab90e4
1 file changed
+7
-7
+7
-7
@@ -13,6 +13,13 @@ use wreq_util::Emulation;
|
||||
|
||||
// --- Request args ---
|
||||
|
||||
/// Wrapper that bundles a [`KinoviGenerateVideoRequest`] with session and host info.
|
||||
pub struct GenerateVideoArgs<'a> {
|
||||
pub request: KinoviGenerateVideoRequest,
|
||||
pub session: &'a Seedance2ProSession,
|
||||
pub host_override: Option<KinoviHost>,
|
||||
}
|
||||
|
||||
/// Video generation parameters (no session/host info).
|
||||
#[derive(Clone)]
|
||||
pub struct KinoviGenerateVideoRequest {
|
||||
@@ -64,13 +71,6 @@ pub struct KinoviGenerateVideoRequest {
|
||||
pub use_face_blur_hack: Option<bool>,
|
||||
}
|
||||
|
||||
/// Wrapper that bundles a [`KinoviGenerateVideoRequest`] with session and host info.
|
||||
pub struct GenerateVideoArgs<'a> {
|
||||
pub request: KinoviGenerateVideoRequest,
|
||||
pub session: &'a Seedance2ProSession,
|
||||
pub host_override: Option<KinoviHost>,
|
||||
}
|
||||
|
||||
impl std::fmt::Debug for KinoviGenerateVideoRequest {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
f.debug_struct("GenerateVideoRequest")
|
||||
|
||||
Reference in new issue
Block a user