sharktide commited on
Commit
f9cfec9
·
verified ·
1 Parent(s): 18b98db

Update video generation pollinations url

Browse files
Files changed (1) hide show
  1. gen.py +1 -1
gen.py CHANGED
@@ -351,7 +351,7 @@ async def genvideo(request: Request, prompt: str = None, authorization: str = He
351
  params["enhance"] = "true"
352
 
353
  query_string = "&".join(f"{k}={quote(str(v), safe='')}" for k, v in params.items())
354
- url = f"https://gen.pollinations.ai/image/{encoded_prompt}?{query_string}"
355
 
356
  print(f"[VIDEO GEN] Pollinations URL: {url}")
357
  url = url + f"&key={PKEY}"
 
351
  params["enhance"] = "true"
352
 
353
  query_string = "&".join(f"{k}={quote(str(v), safe='')}" for k, v in params.items())
354
+ url = f"https://gen.pollinations.ai/video/{encoded_prompt}?{query_string}"
355
 
356
  print(f"[VIDEO GEN] Pollinations URL: {url}")
357
  url = url + f"&key={PKEY}"