3 ms·
I tried the one YouTube to TikTok and I got this error :-( " Generate Image Failed! Error code: 400 - {'error': {'code': 'content_policy_violation', 'message':
by 101008 3y ago
I tried the one YouTube to TikTok and I got this error :-(
" Generate Image Failed!
Error code: 400 - {'error': {'code': 'content_policy_violation', 'message': 'Your request was rejected as a result of our safety system. Your prompt may contain text that is not allowed by our safety system.', 'param': None, 'type': 'invalid_request_error'}}"
- murb 3y agooh dang. Dalle prompt restrictions changing make older templates like that break. We'll adjust the default example to avoid that. Thanks for the callout
- areichert 3y agoYeah... DALLE is super annoying about this now. I had the same problem in my little "AI trailers" toy project [0], and it can usually be fixed by just checking for that specific "content policy" error when DALLE fails -> passing this into GPT: "Rewrite this prompt so that it passes the content policy: {prompt}" -> and then retrying with the updated prompt. It's kinda dumb, but it's a quick fix that might help ¯\_(ツ)_/¯ [0] https://aitrailers.xyz/ https://aitrailers.xyz/
- murb 3y agoGreat tip, we'll definitely try and use this as a fail safe. Thanks!