Try adding "skip_validations": true to the topic_data. (There are cases where true needs to be enclosed in quotation marks, but I don’t think that’s the case with Python.)
The skip_validations parameter will get Discourse to skip performing the validations against site settings like min topic title length and body min entropy.