kittycad.api.ai.create_text_to_cad.asyncio

async kittycad.api.ai.create_text_to_cad.asyncio(output_format, body, *, client)[source][source]

Because our source of truth for the resulting model is a STEP file, you will always have STEP file contents when you list your generated models. Any other formats you request here will also be returned when you list your generated models. This operation is performed asynchronously, the id of the operation will be returned. You can use the id returned from the request to get status information about the async operation from the /async/operations/{id} endpoint. One thing to note, if you hit the cache, this endpoint will return right away. So you only have to wait if the status is not Completed or Failed. This is an alpha endpoint. It will change in the future. The current output is honestly pretty bad. So if you find this endpoint, you get what you pay for, which currently is nothing. But in the future will be made a lot better.

Return type:

Union[TextToCad, Error, None]