IdeoImageCreator
About High quality image generation by ideogram. Reverse engineered API.
How to
- Login to https://ideogram.ai and generate some images.
- Use
Chromeor 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
Bearerin 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
Metadata
Release files for ideo 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ideo-0.2.1.tar.gz | 5.0 kB | Without provenance | Details for ideo-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ideo-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for ideo-0.2.1-py3-none-any.whl |
Total release size: 10.5 kB
Release files / ideo-0.2.1.tar.gz
| Download URL | ideo-0.2.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab9e3cb32ebb5804ff38e932415cb5f7912437e5d923280df7d3d9cc051571d4
|
|
BLAKE2b-256 checksum How to use checksums |
63cb967e10ce8fc294d8a148ab704750dbb9278896353ec61c5e223dd53e67d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.19
|
Release files / ideo-0.2.1-py3-none-any.whl
| Download URL | ideo-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3cd6336b426d13526855c348f326e1ae373843b390efe9078edae22677d1920
|
|
BLAKE2b-256 checksum How to use checksums |
ebef7a4a42cefb6663b7337a801a1bd11310a6e7c08e59b4a1f7f53e9b235cf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.19
|
Security for ideo 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.