Skip to main content

High quality image generation by ideogram.ai. Reverse engineered API.

Project description

IdeoImageCreator

About High quality image generation by ideogram. Reverse engineered API.

How to

  • Login to https://ideogram.ai and generate some images.
  • Use Chrome or other browsers to inspect the network requests (F12 -> XHR).
  • Clone this REPO -> git clone https://github.com/yihong0618/IdeoImageCreator.git
  • Copy the cookie.
  • Copy the Bearer token.
  • Copy your user name.
  • Export IDEO_COOKIE='xxxxx'.
  • Export IDEO_AUTH_TOKEN='xxxxx' (found after Bearer in the HEADERS of the requests).
  • Export IDEO_USER_ID='xxxxx'.

Usage

python -m ideo --prompt 'a big red cat'

or

pip install -U ideo
from ideo import ImageGen
i = ImageGen('cookie', 'user_id', 'auth_token') # Replace 'cookie', 'user_id', and 'auth_token' with your own values
print(i.get_limit_left())
i.save_images("a blue cyber dream", './output')

Customization

Customization params:

  • aspect_ratio - default "1:1"
  • model_version - default "V_0_3" ("V_1_0" and lower take 1 credit)
  • style - default "AUTO"
  • is_auto_prompt - default "AUTO"

Example:

i.save_images(prompt = "woman with son turned away walking in a park",
              aspect_ratio="16:10",
              model_version="V_1_5",
              style="PHOTO",
              output_dir='./output',)

Thanks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ideo-0.2.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

ideo-0.2.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file ideo-0.2.1.tar.gz.

File metadata

  • Download URL: ideo-0.2.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.19

File hashes

Hashes for ideo-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ab9e3cb32ebb5804ff38e932415cb5f7912437e5d923280df7d3d9cc051571d4
MD5 a68c97399fc697404e7551e9743ad146
BLAKE2b-256 63cb967e10ce8fc294d8a148ab704750dbb9278896353ec61c5e223dd53e67d2

See more details on using hashes here.

File details

Details for the file ideo-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: ideo-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.19

File hashes

Hashes for ideo-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3cd6336b426d13526855c348f326e1ae373843b390efe9078edae22677d1920
MD5 1464ce27eb846e57d9296f57d69f7f08
BLAKE2b-256 ebef7a4a42cefb6663b7337a801a1bd11310a6e7c08e59b4a1f7f53e9b235cf4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page