generate images based on text input.
(input : str)
| 41 | return pg.run(input) |
| 42 | @tool.get("/get_stablediffusion") |
| 43 | def stablediffusion(input : str)-> str: |
| 44 | '''generate images based on text input. |
| 45 | ''' |
| 46 | sd = StableDiffusionTool() |
| 47 | return sd.run(input) |
| 48 | @tool.get("/get_texttovideo") |
| 49 | def texttovideo(input : str)-> str: |
| 50 | '''Creating videos from text. |
nothing calls this directly
no test coverage detected