Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
my code:
def generate_image(prompt, api_url, user_batch_size, frame, max_frame):
payload = {
"prompt": prompt,
"steps": 50,
"width": 512,
"height": 512,
"n_iter": user_batch_size,
"sd_model_checkpoint": CHECKPOINT_PATH,
"lora": [LORA_PATH],
"alwayson_scripts": {
"ADetailer": {
"args": [
{"ad_model": "face_yolov8s.pt"},
{"ad_model": "hand_yolov8n.pt"}
]
},
"AnimateDiff": {
"args": [
{"enable": True},
{"model": "mm_sd_v15_v2.safetensors"},
{"batch_size": 30},
{"format": ["GIF"]},
{"loop_number": 0},
{"stride": 1},
{"closed_loop": "R+P"},
{"overlap": -1},
{"interp":"off"},
{"video_length": max_frame},
{"fps": frame}
]
}
}
}
the Error:


my model in place:
pls help me masters
Beta Was this translation helpful? Give feedback.
All reactions