---
updatedAt: 2026-11-05T07:43:20.000Z
agentTools:
  projectIndex: https://docs.topview.ai/llms.txt
---

# Submit Task 

# Response

| Field             | Type   | Description                                 |
| ----------------- | ------ | ------------------------------------------- |
| code              | String | The response code indicating status         |
| message           | String | Message describing the response             |
| result            | Object | Contains the result of the request          |
| result.taskId     | String | Unique identifier for the task              |
| result.status     | String | Status of the task (e.g., success, failure) |
| result.errorMsg   | String | Error message if any (null if no error)     |
| result.noticeUuid | String | Unique identifier for the notice            |

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Text2Voice Submit Task"
  },
  "servers": [
    {
      "url": "https://api.topview.ai"
    }
  ],
  "paths": {
    "/v1/voice/text2voice/task/submit": {
      "post": {
        "summary": "Submit Task ",
        "description": "",
        "operationId": "get_new-endpoint",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Response code"
                    },
                    "message": {
                      "type": "string",
                      "description": "Response message"
                    },
                    "result": {
                      "type": "object",
                      "properties": {
                        "taskId": {
                          "type": "string",
                          "description": "Unique task identifier"
                        },
                        "status": {
                          "type": "string",
                          "description": "Task status"
                        },
                        "errorMsg": {
                          "type": "string",
                          "description": "Error message if task submission failed"
                        },
                        "subTaskId": {
                          "type": "string",
                          "description": "Sub-task identifier (optional)"
                        },
                        "boardTaskIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "List of board task IDs (if task is associated with a board)"
                        },
                        "boardId": {
                          "type": "string",
                          "description": "Associated board ID (if provided in request)"
                        },
                        "noticeUuid": {
                          "type": "string",
                          "description": "UUID for callback notification tracking"
                        },
                        "data": {
                          "type": "object",
                          "properties": {},
                          "description": "Additional data (if any)"
                        }
                      }
                    }
                  },
                  "required": [
                    "code"
                  ]
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "Topview-Uid",
            "schema": {
              "type": "string",
              "default": "<your-topview-uid>"
            },
            "required": true
          },
          {
            "in": "header",
            "name": "Authorization",
            "schema": {
              "type": "string",
              "default": "Bearer <your-api-key>"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "voiceId": {
                    "type": "string",
                    "description": "voiceId. Get it from interface **[Voice Query](https://docs.topview.ai/reference/voice_query#/)**",
                    "default": "6365baea832941c8842db62a87a3e98e"
                  },
                  "voiceText": {
                    "type": "string",
                    "description": "voiceText can use the<break time=\\ \"1.0s \\\"/>tag to specify how long to pause at the break location (0.1-99.9, up to one decimal place). </br>\n\nExample: welcome to <break time=\\ \"1.0s \\\"/> topview.When reading \"to\", there will be a pause of 1 seconds, and then continue reading \"topview\".",
                    "default": ""
                  },
                  "voiceSpeed": {
                    "type": "number",
                    "description": "voiceSpeed. If it is empty, default 1. The effective range is [0.8 ~ 1.2]",
                    "default": "1"
                  },
                  "emotionName": {
                    "type": "string",
                    "enum": [
                      "happy",
                      "neutral",
                      "surprised",
                      "angry",
                      "sad",
                      "fearful",
                      "disgusted"
                    ]
                  },
                  "pronRules": {
                    "type": "array",
                    "items": {
                      "properties": {
                        "oldStr": {
                          "type": "string",
                          "description": "The string to be replaced by newStr"
                        },
                        "newStr": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "description": "Pronunciation control rules (replacing old strings with new strings)"
                  },
                  "voiceModel": {
                    "type": "string",
                    "enum": [
                      "minimax-v2.5",
                      "elevenlabs-v2.5",
                      "elevenlabs-v3",
                      "elevenlabs-v4"
                    ],
                    "description": "Voice model (effective only when scriptMode=text, optional, case-insensitive). If omitted, the backend default voice model is used; if provided, generation uses the selected model.\n- `minimax-v2.5`: MINIMAX V2.5\n- `elevenlabs-v2.5`: ElevenLabs V2.5\n- `elevenlabs-v3`: ElevenLabs V3\n- `elevenlabs-v4`: ElevenLabs V4",
                    "default": "elevenlabs-v4"
                  },
                  "voiceSettings": {
                    "type": "object",
                    "properties": {
                      "volume": {
                        "type": "integer",
                        "description": "Volume, range 0-200. Out-of-range values return an error (4000)"
                      },
                      "stability": {
                        "type": "integer",
                        "description": "Stability, range 0-100. Out-of-range values return an error (4000)"
                      }
                    },
                    "description": "Advanced voice settings (effective only when scriptMode=text and voiceModel is provided, optional)."
                  },
                  "noticeUrl": {
                    "type": "string",
                    "description": "NoticeUrl. Please refer to the  **[API documentation for  details NoticeUrl](https://docs.topview.ai/reference/post_notice-notice-url-check#/)**"
                  },
                  "boardId": {
                    "type": "string",
                    "description": "Board ID (optional). If provided, the task will be associated with this board."
                  }
                },
                "type": "object",
                "required": [
                  "voiceId",
                  "voiceSpeed"
                ]
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```