The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
from pydantic import BaseModel, Field
class SoniloTextToMusicLyricsRequest(BaseModel):
prompt: str = Field(...)
duration: int | None = Field(None)
class SoniloTaskSubmitResponse(BaseModel):
task_id: str = Field(...)
class SoniloTaskAudio(BaseModel):
url: str = Field(...)
class SoniloTask(BaseModel):
status: str = Field(...)
audio: SoniloTaskAudio | None = Field(None)