feat generate 迁移

This commit is contained in:
zhouchengrong
2024-04-15 18:07:25 +08:00
parent b17a1768f8
commit f8493dbdb6
9 changed files with 476 additions and 63 deletions

View File

@@ -0,0 +1,12 @@
from pydantic import BaseModel
class GenerateImageModel(BaseModel):
category: str
content: str
gender: str
image_url: str
mode: int
tasks_id: str
user_id: int
version: str