Tool Parameter Abuse
High
- Category
- Tool Misuse
- Content
2. **The edits endpoint does NOT support `response_format`** — always returns b64_json regardless. 3. **gpt-image-2 generations may time out on some relay endpoints** — use `--timeout` flag (default 600s). 4. **Prompt with special characters** — the script writes prompts to temp files internally, avoiding shell escaping issues. No need to worry about quoting. 5. **Authorization header is never passed via `-H`** — the script uses curl `-K` temp config file, deleted immediately after use. Keys never appear in `ps aux`. 6. **Config file permissions** — the script warns if config has group/other read permissions. Run `chmod 600 <config>` to fix. 7. **Zero pip dependencies** — the script only requires Python 3.8+ stdlib and `curl`. No installation step needed. 8. **Chinese text in prompts may not render correctly** — gpt-image-2's Chinese rendering is unstable; it often ignores Chinese constraints and outputs English text in images. Consider using Gemini for Chinese text rendering.
- Confidence
- 70% confidence
- Finding
- curl `-K
