{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreidyhtrti5u6icl2stjxu6kg4uncxckljstycmfrzhqf4efh4raqdy",
    "uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mk3g65arvkl2"
  },
  "path": "/t/gpt-image-1-5-image-creator-and-editor-app-python-desktop-ui/1370104#post_13",
  "publishedAt": "2026-04-22T10:58:56.000Z",
  "site": "https://community.openai.com",
  "textContent": "Preliminary GPT-Image-2 support is merely by editing the truth table in code.\n\nFind `gpt-image-1.5` in `MODEL_SPECS`, and add the new model above the existing entries.\n\n\n    MODEL_SPECS: dict[str, dict[str, Any]] = {\n        \"gpt-image-2\": {\n            **GPT_IMAGE_MODEL_SPEC_BASELINE,\n            \"order\": 8,\n            \"sizes\": [\n                \"auto\",\n                \"1024x1024\",\n                \"1536x1024\",\n                \"1024x1536\",\n                \"1280x720\",\n                \"1920x1088\",\n            ],\n            \"supports_input_fidelity\": False,\n            \"pricing\": {\n                # Prices are per 1M tokens\n                \"text_input_price_per_million\": 5.00,\n                \"text_output_price_per_million\": 0.00,\n                \"image_input_price_per_million\": 8.00,\n                \"image_output_price_per_million\": 30.00,\n            },\n        },\n        \"gpt-image-1.5\": {\n            **GPT_IMAGE_MODEL_SPEC_BASELINE,\n            \"order\": 10,\n            \"supports_input_fidelity\": True,\n            ...\n\n\nAdd your own resolutions at 16 pixel size increments.\n\nIt will take a bit more to make a good UI for arbitrary image resolution picking and validating minimum and maximum token counts. I’ll probably just copy the behavior of image loading dialog, where you can type your own canvas sizes into the drop-down, and then that text value needing the format `\"1234x1224\"` would be validated and tweaked. The rest of the code is forward-looking, anticipating other resolutions and aspect ratios.",
  "title": "Gpt-image-1.5 image creator and editor app - Python, desktop UI"
}