feat: added generate endpoints

This commit is contained in:
ITQ
2025-02-15 20:48:57 +03:00
parent cc6d91a75c
commit 183449bb7b
3 changed files with 70 additions and 0 deletions
@@ -0,0 +1,14 @@
from typing import Any
from ninja import Schema
class GenerateAdTextIn(Schema):
advertiser_name: str
ad_title: str
class Promise(Schema):
task_id: str
status: str
result: Any