cURL
curl --request POST \ --url https://ai.pmock.com/api/ai/sa/create/role \ --header 'Content-Type: application/json' \ --data ' { "videoUrl": "<string>", "name": "<string>", "displayName": "<string>", "description": "<string>", "instructionText": "<string>", "safetyInstructionText": "<string>" } '
{ "code": 200, "message": "<string>", "data": { "taskId": "<string>" }, "traceId": "<string>" }
create a create role task
video url of the role,not longer than 3 seconds
1
name of the role
display name of the role
description of the role
instruction text of the role
safety instruction text of the role
OK
Unified return structure for response results
Response status code
200
Response message
Response result
Show child attributes
Response traceId