{"id":50476345,"url":"https://github.com/runapi-ai/gpt-4o-image-sdk","last_synced_at":"2026-06-01T14:00:27.286Z","repository":{"id":358898851,"uuid":"1243589589","full_name":"runapi-ai/gpt-4o-image-sdk","owner":"runapi-ai","description":"RunAPI GPT-4o Image SDK for JavaScript, Ruby, and Go","archived":false,"fork":false,"pushed_at":"2026-05-19T13:49:59.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-19T16:34:09.451Z","etag":null,"topics":["api","golang","gpt-4o-image","ruby","runapi","runapi-ai","sdk","typescript"],"latest_commit_sha":null,"homepage":"https://runapi.ai/models/gpt-4o-image","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/runapi-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-19T13:33:37.000Z","updated_at":"2026-05-19T13:54:16.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/runapi-ai/gpt-4o-image-sdk","commit_stats":null,"previous_names":["runapi-ai/gpt-4o-image-sdk"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/runapi-ai/gpt-4o-image-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runapi-ai%2Fgpt-4o-image-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runapi-ai%2Fgpt-4o-image-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runapi-ai%2Fgpt-4o-image-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runapi-ai%2Fgpt-4o-image-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runapi-ai","download_url":"https://codeload.github.com/runapi-ai/gpt-4o-image-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runapi-ai%2Fgpt-4o-image-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33777971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","golang","gpt-4o-image","ruby","runapi","runapi-ai","sdk","typescript"],"created_at":"2026-06-01T14:00:17.299Z","updated_at":"2026-06-01T14:00:27.274Z","avatar_url":"https://github.com/runapi-ai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://runapi.ai\"\u003e\u003cimg src=\"https://runapi.ai/icon.svg\" height=\"56\" alt=\"RunAPI\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/runapi-ai/gpt-4o-image-sdk\"\u003eGPT-4o Image API SDK for RunAPI\u003c/a\u003e\n\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  GPT-4o Image API SDKs for JavaScript, Ruby, and Go on RunAPI.\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![npm](https://img.shields.io/npm/v/@runapi.ai/gpt-4o-image)](https://www.npmjs.com/package/@runapi.ai/gpt-4o-image)\n[![RubyGems](https://img.shields.io/gem/v/runapi-gpt-4o-image)](https://rubygems.org/gems/runapi-gpt-4o-image)\n[![Go Reference](https://pkg.go.dev/badge/github.com/runapi-ai/gpt-4o-image-sdk/go.svg)](https://pkg.go.dev/github.com/runapi-ai/gpt-4o-image-sdk/go)\n[![License](https://img.shields.io/github/license/runapi-ai/gpt-4o-image-sdk)](https://github.com/runapi-ai/gpt-4o-image-sdk/blob/main/LICENSE)\n\n\u003c/div\u003e\n\u003cbr/\u003e\n\nThe gpt-4o image api SDK packages JavaScript, Ruby, and Go clients for GPT-4o Image on RunAPI. Use this gpt-4o image api SDK for text-to-image generation workflows that need typed installs, JSON request bodies, task polling, and consistent RunAPI errors across services.\n\nGPT-4o Image belongs to the OpenAI catalog on RunAPI. The public model page is https://runapi.ai/models/gpt-4o-image; variant pages below carry pricing, rate-limit, and commercial-usage details. The public `gpt-4o-image-sdk` repository groups the JavaScript, Ruby, and Go packages for this model.\n\n## Install\n\n```bash\nnpm install @runapi.ai/gpt-4o-image\ngem install runapi-gpt-4o-image\ngo get github.com/runapi-ai/gpt-4o-image-sdk/go@latest\n```\n\n## What you can build\n\n- Build creative tools, agent pipelines, and production integrations with the gpt-4o image api SDK.\n- Keep one model-specific repository while installing only the language package your app needs.\n- Use `create` for submit-only jobs, `get` for status lookup, and `run` for submit-and-poll scripts.\n- Handle authentication, validation, rate limits, insufficient credits, task failures, and polling timeouts through RunAPI SDK errors.\n\nThe JavaScript client exposes text to image resources, and the Ruby and Go packages mirror the same RunAPI task lifecycle.\n\n## JavaScript quick start\n\n```typescript\nimport { Gpt4oImageClient } from '@runapi.ai/gpt-4o-image';\n\nconst client = new Gpt4oImageClient();\n\nconst task = await client.textToImage.create({\n  // Pass the GPT-4o Image request body documented at https://runapi.ai/docs#gpt-4o-image.\n});\n\nconst status = await client.textToImage.get(task.id);\n```\n\nFor short scripts, use `run` with the same JSON body to create the task and wait for completion. For web request handlers, prefer `create` plus webhook or later `get` polling so the server does not hold a worker open.\n\n## Repository layout\n\n- `js/` publishes `@runapi.ai/gpt-4o-image`.\n- `ruby/` publishes `runapi-gpt-4o-image` when RubyGems publishing resumes.\n- `go/` publishes `github.com/runapi-ai/gpt-4o-image-sdk/go` and depends on `github.com/runapi-ai/core-sdk/go`.\n\n## Public links\n\n- Model page: https://runapi.ai/models/gpt-4o-image\n- SDK docs: https://runapi.ai/docs#sdk-gpt-4o-image\n- Product docs: https://runapi.ai/docs#gpt-4o-image\n- SDK repository: https://github.com/runapi-ai/gpt-4o-image-sdk\n- Skill repository: https://github.com/runapi-ai/gpt-4o-image\n- Provider comparison: https://runapi.ai/providers/openai\n- Full catalog: https://runapi.ai/models\n\n## Pricing and variants\n\nUse the most specific gpt-4o image api variant page for pricing, rate limits, and commercial usage:\n- [GPT-4o Image](https://runapi.ai/models/gpt-4o-image)\n\nDefault pricing link for the gpt-4o image api SDK: https://runapi.ai/models/gpt-4o-image\n\n## FAQ\n\n### Which package should I install for gpt-4o image api work?\n\nInstall the model package for your language: `@runapi.ai/gpt-4o-image`, `runapi-gpt-4o-image`, or `github.com/runapi-ai/gpt-4o-image-sdk/go`. Install core SDK packages only when you are building shared SDK infrastructure.\n\n### Where should public links point?\n\nPrimary gpt-4o image api links point to https://runapi.ai/models/gpt-4o-image. Pricing and usage-policy links point to variant pages such as https://runapi.ai/models/gpt-4o-image. Provider comparisons point to https://runapi.ai/providers/openai, and broad browsing points to https://runapi.ai/models.\n\n## License\n\nLicensed under the Apache License, Version 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunapi-ai%2Fgpt-4o-image-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunapi-ai%2Fgpt-4o-image-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunapi-ai%2Fgpt-4o-image-sdk/lists"}