Generate with Custom Mode
| 13 | |
| 14 | |
| 15 | class CustomModeGenerateParam(BaseModel): |
| 16 | """Generate with Custom Mode""" |
| 17 | |
| 18 | prompt: str = Field(..., description="lyrics") |
| 19 | mv: str = Field( |
| 20 | ..., |
| 21 | description="model version, default: chirp-v3-0", |
| 22 | examples=["chirp-v3-0"], |
| 23 | ) |
| 24 | title: str = Field(..., description="song title") |
| 25 | tags: str = Field(..., description="style of music") |
| 26 | negative_tags: str = Field(..., description="negative style of music") |
| 27 | continue_at: Optional[int] = Field( |
| 28 | default=None, |
| 29 | description="continue a new clip from a previous song, format number", |
| 30 | examples=[120], |
| 31 | ) |
| 32 | continue_clip_id: Optional[str] = None |
| 33 | |
| 34 | |
| 35 | class DescriptionModeGenerateParam(BaseModel): |
nothing calls this directly
no outgoing calls
no test coverage detected