Descripciones en inglés
text_empty — nothing to voice in the text
Qué pasó
The order was not created and no funds were held. Most often this is a field validation error: a 422 with a message in errors.input_text (or errors.task_data.text) and no reason. A response with reason: "text_empty" comes when the text passed validation but produced no fragments when split.
Por qué
The text contains only unvoiced markup: {{pause=2.5}}, <break time="2s"/>, or [ … ] fragments without a line break. Of these, only {{pause}} is free. The others are billed as characters. Text comes from three equal sources: input_text, a .txt file in input_files, and task_data.text. All three go through the same checks. If the text is only punctuation (., !!!, —) or bracketed stage directions, the message in errors is different: nothing to voice (text_not_voiceable). Related codes with a reason: paragraph_not_voiceable when a single fragment cannot be voiced while creating an order, and text_not_voiceable when retrying or regenerating a chunk.
Qué hacer ahora mismo
Check whether the body has errors. If it does, fix the text in the field it names. If not, the text did not split into fragments: check its preview. Parentheses and angle brackets, asterisks, and other typography are voiced and billed, so removing them will not help.
Qué solicitud enviar a continuación
POST /orders/chunks/preview with the same input_text shows for free what is left after markup is removed. An empty preview confirms the cause before you create an order.
Adónde ir después
Esta página para IA
versión de la API 1.0.0