Video AI Generator: Text to Video GPT Maker Free
Video AI Generator: Text to Video GPT Maker Free · GPT 작업
Sora 2 API
POST /api/gpts/create-taskCreates a video generation task based on an prompt.
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Sora 2 API",
"version": "1.0.1"
},
"servers": [
{
"url": "https://picir.ai"
}
],
"paths": {
"/api/gpts/create-task": {
"post": {
"operationId": "createTask",
"summary": "Creates a video generation task based on an prompt.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"prompt",
"taskType",
"gptId"
],
"properties": {
"prompt": {
"type": "string",
"description": "complete, detailed video script"
},
"taskType": {
"type": "string",
"description": "Task type, fixed as sora-2"
},
"gptId": {
"type": "string",
"description": "The ID of gpts is always '171sV80C3'"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Task created successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean",
"example": true
},
"taskId": {
"type": "string",
"description": "UUID of the created task"
},
"redirectUrl": {
"type": "string",
"description": "URL to redirect user for task completion"
},
"message": {
"type": "string",
"description": "Success message"
}
}
}
}
}
}
}
}
}
}
}