DreamCanvas setup : to be reviewed

This commit is contained in:
2026-01-21 19:20:00 +01:00
parent b580137ee8
commit 412fa82ff3
22 changed files with 2023 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from pydantic import BaseModel
# Request model for LLM
class LLMRequest(BaseModel):
positive_prompt: str
# Request model for image generation
class PromptRequest(BaseModel):
positive_prompt: str
negative_prompt: str
steps: int = 25
width: int = 512
height: int = 512