Download the PHP package yandricr/gpti-php without Composer
On this page you can find all versions of the php package yandricr/gpti-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yandricr/gpti-php
More information about yandricr/gpti-php
Files in yandricr/gpti-php
Package gpti-php
Short Description This package simplifies your interaction with various GPT models, removing the need for tokens or other methods to access GPT
License MIT
Homepage https://github.com/yandricr/gpti-php
Informations about the package gpti-php
GPTI
This package simplifies your interaction with various GPT models, eliminating the need for tokens or other methods to access GPT. It also allows you to use three artificial intelligences to generate images: DALL·E, Prodia, and more, some of which are premium while others are free, all of this without restrictions or limits.
Installation
You can install the package via Composer
Available Models
GPTI provides access to a variety of artificial intelligence models to meet various needs. Currently, the available models include:
- ChatGPT
- ChatGPT v2
- ChatGPT Web
- Bing
- DALL·E
- DALL-E 2 (PRO)
- DALL-E Mini
- Prodia
- Prodia Stable-Diffusion
- Prodia Stable-Diffusion XL (PRO)
- Pixart-A (PRO)
- Pixart-LCM (PRO)
- Stable-Diffusion 1.5
- Stable-Diffusion 2.1
- Stable-Diffusion XL (PRO)
- EMI
- Render3D (PRO)
- PixelArt (PRO)
- Animagine-XL (PRO)
- Playground (PRO)
Api key
If you want to access the premium models, enter your credentials. You can obtain them by clicking here.
Usage GPT
JSON
Models
Select one of these available models in the API to enhance your experience.
- gpt-4
- gpt-4-0613
- gpt-4-32k
- gpt-4-0314
- gpt-4-32k-0314
- gpt-3.5-turbo
- gpt-3.5-turbo-16k
- gpt-3.5-turbo-0613
- gpt-3.5-turbo-16k-0613
- gpt-3.5-turbo-0301
- text-davinci-003
- text-davinci-002
- code-davinci-002
- gpt-3
- text-curie-001
- text-babbage-001
- text-ada-001
- davinci
- curie
- babbage
- ada
- babbage-002
- davinci-002
Usage GPT v2
It's quite similar, with the difference that it has the capability to generate real-time responses via streaming using gpt-3.5-turbo.
JSON
Usage GPT v2 Streaming
JSON
Usage GPT Web
GPT-4 has been enhanced by me, but errors may arise due to technological complexity. It is advisable to exercise caution when relying entirely on its accuracy for online queries.
JSON
Usage Bing
JSON
Usage Bing Streaming
Parameters
Parameter | Default | Description |
---|---|---|
conversation_style | Balanced | You can use between: "Balanced", "Creative" and "Precise" |
markdown | false | You can convert the dialogues into continuous streams or not into Markdown |
stream | false | You are given the option to choose whether you prefer the responses to be in real-time or not |
Usage DALL·E
JSON
Usage DALL·E 2 (PRO)
JSON
Parameters
Parameter | Default | Description |
---|---|---|
prompt_negative | (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation, (NSFW:1.25) | Indicates what the AI should not do |
width | 1024 | Min: 512, Max: 2048 |
height | 1024 | Min: 512, Max: 2048 |
guidance_scale | 6 | Min: 0.1, Max: 20 |
Usage DALL·E Mini
JSON
Usage Prodia
JSON
Models
List of models
- 3Guofeng3_v34.safetensors [50f420de]
- absolutereality_V16.safetensors [37db0fc3]
- absolutereality_v181.safetensors [3d9d4d2b]
- amIReal_V41.safetensors [0a8a2e61]
- analog-diffusion-1.0.ckpt [9ca13f02]
- anythingv3_0-pruned.ckpt [2700c435]
- anything-v4.5-pruned.ckpt [65745d25]
- anythingV5_PrtRE.safetensors [893e49b9]
- AOM3A3_orangemixs.safetensors [9600da17]
- blazing_drive_v10g.safetensors [ca1c1eab]
- breakdomain_I2428.safetensors [43cc7d2f]
- breakdomain_M2150.safetensors [15f7afca]
- cetusMix_Version35.safetensors [de2f2560]
- childrensStories_v13D.safetensors [9dfaabcb]
- childrensStories_v1SemiReal.safetensors [a1c56dbb]
- childrensStories_v1ToonAnime.safetensors [2ec7b88b]
- Counterfeit_v30.safetensors [9e2a8f19]
- cuteyukimixAdorable_midchapter3.safetensors [04bdffe6]
- cyberrealistic_v33.safetensors [82b0d085]
- dalcefo_v4.safetensors [425952fe]
- deliberate_v2.safetensors [10ec4b29]
- deliberate_v3.safetensors [afd9d2d4]
- dreamlike-anime-1.0.safetensors [4520e090]
- dreamlike-diffusion-1.0.safetensors [5c9fd6e0]
- dreamlike-photoreal-2.0.safetensors [fdcf65e7]
- dreamshaper_6BakedVae.safetensors [114c8abb]
- dreamshaper_7.safetensors [5cf5ae06]
- dreamshaper_8.safetensors [9d40847d]
- edgeOfRealism_eorV20.safetensors [3ed5de15]
- EimisAnimeDiffusion_V1.ckpt [4f828a15]
- elldreths-vivid-mix.safetensors [342d9d26]
- epicphotogasm_xPlusPlus.safetensors [1a8f6d35]
- epicrealism_naturalSinRC1VAE.safetensors [90a4c676]
- epicrealism_pureEvolutionV3.safetensors [42c8440c]
- ICantBelieveItsNotPhotography_seco.safetensors [4e7a3dfd]
- indigoFurryMix_v75Hybrid.safetensors [91208cbb]
- juggernaut_aftermath.safetensors [5e20c455]
- lofi_v4.safetensors [ccc204d6]
- lyriel_v16.safetensors [68fceea2]
- majicmixRealistic_v4.safetensors [29d0de58]
- mechamix_v10.safetensors [ee685731]
- meinamix_meinaV9.safetensors [2ec66ab0]
- meinamix_meinaV11.safetensors [b56ce717]
- neverendingDream_v122.safetensors [f964ceeb]
- openjourney_V4.ckpt [ca2f377f]
- pastelMixStylizedAnime_pruned_fp16.safetensors [793a26e8]
- portraitplus_V1.0.safetensors [1400e684]
- protogenx34.safetensors [5896f8d5]
- Realistic_Vision_V1.4-pruned-fp16.safetensors [8d21810b]
- Realistic_Vision_V2.0.safetensors [79587710]
- Realistic_Vision_V4.0.safetensors [29a7afaa]
- Realistic_Vision_V5.0.safetensors [614d1063]
- redshift_diffusion-V10.safetensors [1400e684]
- revAnimated_v122.safetensors [3f4fefd9]
- rundiffusionFX25D_v10.safetensors [cd12b0ee]
- rundiffusionFX_v10.safetensors [cd4e694d]
- sdv1_4.ckpt [7460a6fa]
- v1-5-pruned-emaonly.safetensors [d7049739]
- v1-5-inpainting.safetensors [21c7ab71]
- shoninsBeautiful_v10.safetensors [25d8c546]
- theallys-mix-ii-churned.safetensors [5d9225a4]
- timeless-1.0.ckpt [7c4971d4]
- toonyou_beta6.safetensors [980f6b15]
Parameters
Parameter | Default | Description |
---|---|---|
negative_prompt | Indicates what the AI should not do | |
model | absolutereality_V16.safetensors [37db0fc3] | Select from the list of models |
cfg_scale | 7 | Min: 0, Max: 20 |
steps | 25 | Min: 1, Max: 30 |
sampler | DPM++ 2M Karras | Select from these: "Euler","Euler a","Heun","DPM++ 2M Karras","DPM++ SDE Karras","DDIM" |
Usage Prodia Stable-Diffusion
JSON
Models
List of models
- absolutereality_v181.safetensors [3d9d4d2b]
- 3Guofeng3_v34.safetensors [50f420de]
- absolutereality_V16.safetensors [37db0fc3]
- amIReal_V41.safetensors [0a8a2e61]
- analog-diffusion-1.0.ckpt [9ca13f02]
- anythingv3_0-pruned.ckpt [2700c435]
- anything-v4.5-pruned.ckpt [65745d25]
- anythingV5_PrtRE.safetensors [893e49b9]
- AOM3A3_orangemixs.safetensors [9600da17]
- blazing_drive_v10g.safetensors [ca1c1eab]
- cetusMix_Version35.safetensors [de2f2560]
- childrensStories_v13D.safetensors [9dfaabcb]
- childrensStories_v1SemiReal.safetensors [a1c56dbb]
- childrensStories_v1ToonAnime.safetensors [2ec7b88b]
- Counterfeit_v30.safetensors [9e2a8f19]
- cuteyukimixAdorable_midchapter3.safetensors [04bdffe6]
- cyberrealistic_v33.safetensors [82b0d085]
- dalcefo_v4.safetensors [425952fe]
- deliberate_v2.safetensors [10ec4b29]
- deliberate_v3.safetensors [afd9d2d4]
- dreamlike-anime-1.0.safetensors [4520e090]
- dreamlike-diffusion-1.0.safetensors [5c9fd6e0]
- dreamlike-photoreal-2.0.safetensors [fdcf65e7]
- dreamshaper_6BakedVae.safetensors [114c8abb]
- dreamshaper_7.safetensors [5cf5ae06]
- dreamshaper_8.safetensors [9d40847d]
- edgeOfRealism_eorV20.safetensors [3ed5de15]
- EimisAnimeDiffusion_V1.ckpt [4f828a15]
- elldreths-vivid-mix.safetensors [342d9d26]
- epicrealism_naturalSinRC1VAE.safetensors [90a4c676]
- ICantBelieveItsNotPhotography_seco.safetensors [4e7a3dfd]
- juggernaut_aftermath.safetensors [5e20c455]
- lofi_v4.safetensors [ccc204d6]
- lyriel_v16.safetensors [68fceea2]
- majicmixRealistic_v4.safetensors [29d0de58]
- mechamix_v10.safetensors [ee685731]
- meinamix_meinaV9.safetensors [2ec66ab0]
- meinamix_meinaV11.safetensors [b56ce717]
- neverendingDream_v122.safetensors [f964ceeb]
- openjourney_V4.ckpt [ca2f377f]
- pastelMixStylizedAnime_pruned_fp16.safetensors [793a26e8]
- portraitplus_V1.0.safetensors [1400e684]
- protogenx34.safetensors [5896f8d5]
- Realistic_Vision_V1.4-pruned-fp16.safetensors [8d21810b]
- Realistic_Vision_V2.0.safetensors [79587710]
- Realistic_Vision_V4.0.safetensors [29a7afaa]
- Realistic_Vision_V5.0.safetensors [614d1063]
- redshift_diffusion-V10.safetensors [1400e684]
- revAnimated_v122.safetensors [3f4fefd9]
- rundiffusionFX25D_v10.safetensors [cd12b0ee]
- rundiffusionFX_v10.safetensors [cd4e694d]
- sdv1_4.ckpt [7460a6fa]
- v1-5-pruned-emaonly.safetensors [d7049739]
- v1-5-inpainting.safetensors [21c7ab71]
- shoninsBeautiful_v10.safetensors [25d8c546]
- theallys-mix-ii-churned.safetensors [5d9225a4]
- timeless-1.0.ckpt [7c4971d4]
- toonyou_beta6.safetensors [980f6b15]
Methods
List of methods:
- DPM++ 2M Karras
- Euler
- Euler a
- LMS
- Heun
- DPM2
- DPM2 a
- DPM++ 2S a
- DPM++ 2M
- DPM++ SDE
- DPM fast
- DPM adaptive
- LMS Karras
- DPM2 Karras
- DPM2 a Karras
- DPM++ 2S a Karras
- DPM++ 2M Karras
- DPM++ SDE Karras
- DDIM
- PLMS
- DPM++ 2M Karras
Parameters
Parameter | Default | Description |
---|---|---|
prompt_negative | Indicates what the AI should not do | |
model | absolutereality_v181.safetensors [3d9d4d2b] | Select from the list of models |
sampling_method | DPM++ 2M Karras | Select from the list of methods |
sampling_steps | 25 | Min: 1, Max: 30 |
width | 512 | Min: 50, Max: 1024 |
height | 512 | Min: 50, Max: 1024 |
cfg_scale | 7 | Min: 1, Max: 20 |
Usage Prodia Stable-Diffusion XL (PRO)
JSON
Models
List of models:
- dreamshaperXL10_alpha2.safetensors [c8afe2ef]
- dynavisionXL_0411.safetensors [c39cc051]
- juggernautXL_v45.safetensors [e75f5471]
- realismEngineSDXL_v10.safetensors [af771c3f]
- sd_xl_base_1.0.safetensors [be9edd61]
- sd_xl_base_1.0_inpainting_0.1.safetensors [5679a81a]
- turbovisionXL_v431.safetensors [78890989]
Methods
List of methods:
- DPM++ 2M Karras
- Euler
- Euler a
- LMS
- Heun
- DPM2
- DPM2 a
- DPM++ 2S a
- DPM++ 2M
- DPM++ SDE
- DPM fast
- DPM adaptive
- LMS Karras
- DPM2 Karras
- DPM2 a Karras
- DPM++ 2S a Karras
- DPM++ SDE Karras
Parameters
Parameter | Default | Description |
---|---|---|
prompt_negative | Indicates what the AI should not do | |
model | sd_xl_base_1.0.safetensors [be9edd61] | Select from the list of models |
sampling_method | DPM++ 2M Karras | Select from the list of methods |
sampling_steps | 25 | Min: 1, Max: 30 |
width | 1024 | Min: 512, Max: 1536 |
height | 1024 | Min: 512, Max: 1536 |
cfg_scale | 7 | Min: 1, Max: 20 |
Usage Pixart-A (PRO)
JSON
Parameters
Parameter | Default | Description |
---|---|---|
prompt_negative | Indicates what the AI should not do | |
sampler | DPM-Solver | Choose among these: "DPM-Solver", "SA-Solver" |
image_style | (No style) | Choose from various available image types: "(No style)", "Cinematic", "Photographic", "Anime", "Manga", "Digital Art", "Pixel art", "Fantasy art", "Neonpunk", "3D Model" |
width | 1024 | Min: 256, Max: 2048 |
height | 1024 | Min: 256, Max: 2048 |
dpm_guidance_scale | 4.5 | Min: 1, Max: 10 |
dpm_inference_steps | 14 | Min: 5, Max: 40 |
sa_guidance_scale | 3 | Min: 1, Max: 10 |
sa_inference_steps | 25 | Min: 10, Max: 40 |
Usage Pixart-LCM (PRO)
JSON
Parameters
Parameter | Default | Description |
---|---|---|
prompt_negative | Indicates what the AI should not do | |
image_style | (No style) | Choose from various available image types: "(No style)", "Cinematic", "Photographic", "Anime", "Manga", "Digital Art", "Pixel art", "Fantasy art", "Neonpunk", "3D Model" |
width | 1024 | Min: 256, Max: 2048 |
height | 1024 | Min: 256, Max: 2048 |
lcm_inference_steps | 9 | Min: 1, Max: 30 |
Usage Stable-Diffusion 1.5
JSON
Usage Stable-Diffusion 2.1
JSON
Parameters
Parameter | Default | Description |
---|---|---|
prompt_negative | Indicates what the AI should not do | |
guidance_scale | 9 | Min: 0 Max: 50 |
Usage Stable-Diffusion XL (PRO)
JSON
Parameters
Parameter | Default | Description |
---|---|---|
prompt_negative | Indicates what the AI should not do | |
image_style | (No style) | Choose from various available image types: "(No style)", "Cinematic", "Photographic", "Anime", "Manga", "Digital Art", "Pixel art", "Fantasy art", "Neonpunk", "3D Model" |
guidance_scale | 7.5 | Min: 0, Max: 50 |
Usage EMI
JSON
Usage Render3D (PRO)
JSON
Usage PixelArt
JSON
Animagine XL (PRO)
JSON
Parameters
Parameter | Default | Description |
---|---|---|
prompt_negative | Indicates what the AI should not do | |
width | 1024 | Min: 512, Max: 2048 |
height | 1024 | Min: 512, Max: 2048 |
guidance_scale | 7 | Min: 1, Max: 12 |
quality_tags | Standard | Select from these: "Standard", "Light", "Heavy", "(None)" |
style_present | (None) | Choose from various available image types: "(None)", "Cinematic", "Photographic", "Anime", "Manga", "Digital Art", "Pixel art", "Fantasy art", "Neonpunk", "3D Model" |
strength | 0.5 | Min: 0, Max: 1 |
upscale | 1.5 | Min: 1, Max: 1.5 |
sampler | Euler a | Select from these: "Euler a", "DPM++ 2M Karras", "DPM++ SDE Karras", "DPM++ 2M SDE Karras", "Euler", "DDIM" |
inference_steps | 28 | Min: 1, Max: 50 |
Playground (PRO)
JSON
Parameters
Parameter | Default | Description |
---|---|---|
prompt_negative | Indicates what the AI should not do | |
width | 1024 | Min: 256, Max: 1536 |
height | 1024 | Min: 256, Max: 1536 |
guidance_scale | 3 | Min: 0.1, Max: 20 |
API Reference
Currently, some models require your credentials to access them, while others are free. For more details and examples, please refer to the complete documentation.
Code Errors
These are the error codes that will be presented in case the API fails.
Code | Error | Description |
---|---|---|
400 | BAD_REQUEST | Not all parameters have been entered correctly |
500 | INTERNAL_SERVER_ERROR | The server has experienced failures |
200 | The API worked without issues | |
403 | FORBIDDEN | The API credentials are not valid |
401 | UNAUTHORIZED | API credentials are required |
☕ Do you want to support this project?
If this package has helped you save time or solve a problem, consider inviting me for a coffee through Ko-fi. Your support helps me maintain and improve this project for you and other users like you. Furthermore, each donation contributes to the creation and free availability of more AI models in the future. Every small donation counts and is greatly appreciated!