dippoo commited on
Commit
19c97d8
·
1 Parent(s): 36371b1

Fix: move character_orientation into function signature (was in body)

Browse files
src/content_engine/api/routes_video.py CHANGED
@@ -268,6 +268,7 @@ async def generate_kling_motion(
268
  prompt: str = Form("smooth motion, high quality video"),
269
  duration: int = Form(5),
270
  seed: int = Form(-1),
 
271
  ):
272
  """Generate video using Kling Motion Control (character image + driving video)."""
273
  import random
@@ -278,8 +279,6 @@ async def generate_kling_motion(
278
  job_id = str(uuid.uuid4())[:8]
279
  seed = seed if seed >= 0 else random.randint(0, 2**32 - 1)
280
 
281
- character_orientation: str = Form("image"),
282
-
283
  image_bytes = await image.read()
284
  video_bytes = await driving_video.read()
285
 
 
268
  prompt: str = Form("smooth motion, high quality video"),
269
  duration: int = Form(5),
270
  seed: int = Form(-1),
271
+ character_orientation: str = Form("image"),
272
  ):
273
  """Generate video using Kling Motion Control (character image + driving video)."""
274
  import random
 
279
  job_id = str(uuid.uuid4())[:8]
280
  seed = seed if seed >= 0 else random.randint(0, 2**32 - 1)
281
 
 
 
282
  image_bytes = await image.read()
283
  video_bytes = await driving_video.read()
284