{"id":36975572,"url":"https://github.com/mkhab7/deepai","last_synced_at":"2026-01-13T22:05:16.712Z","repository":{"id":57018043,"uuid":"423837507","full_name":"mkhab7/deepai","owner":"mkhab7","description":"a php library for deepai.org","archived":false,"fork":false,"pushed_at":"2022-03-11T14:45:24.000Z","size":5645,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-20T06:07:59.775Z","etag":null,"topics":["api","colorization","deepai","image","php","toonify"],"latest_commit_sha":null,"homepage":"https://github.com/mkhab7/deepai","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkhab7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-02T12:37:01.000Z","updated_at":"2025-06-30T10:34:52.000Z","dependencies_parsed_at":"2022-08-22T12:00:26.269Z","dependency_job_id":null,"html_url":"https://github.com/mkhab7/deepai","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mkhab7/deepai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhab7%2Fdeepai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhab7%2Fdeepai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhab7%2Fdeepai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhab7%2Fdeepai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkhab7","download_url":"https://codeload.github.com/mkhab7/deepai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkhab7%2Fdeepai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28403750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","colorization","deepai","image","php","toonify"],"created_at":"2026-01-13T22:05:13.845Z","updated_at":"2026-01-13T22:05:16.694Z","avatar_url":"https://github.com/mkhab7.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deepai\n\nA library for using [deepai.org](http://deepai.org) api\n\n# install\n\n## via composer :\n\n\u003e composer require mkhab7/deepai\n\n# usage\n\n```php\nuse Solid\\Deepai\\Deepai;\n\nrequire_once 'vendor/autoload.php';\n$deepai = new Deepai('api key');\n\n$deepai-\u003esetImage('image url'); \n// you can use a url or a local file path , for example : \n\n$deepai-\u003esetImage(new CURLFile('image.jpg'));\n\n\n$deepai-\u003ecolorize();\n\n   \n$result = $deepai-\u003eapply();\n\n$url = $result-\u003eurl();\n\n$result-\u003esave('output.jpg');\n\n/*\n * you can get the all response data from this method \n */\n$allResponseData = $result-\u003egetData();\n```\n\n### You can adjust the text as needed\n\nexample :\n\n```php\n$deepai-\u003esetText('cat');\n$deepai-\u003etextToImage();\n```\n\n### if output is a text you can use \"output\"\n\nexample :\n\n```php\n$deepai-\u003esetText('cat');\n$textOutput = $deepai-\u003etextGeneration()-\u003eapply()-\u003eoutput();//returns output url/text\n```\n\n### set a custom method :\n\n```php\n\n$deepai-\u003esetImage(new CURLFile('image.jpg'))\n\n        -\u003emethod('deepdream') //custom method\n        \n        -\u003eapply();\n```\n\n## All the methods you can use\n\n- colorize\n- toonify\n- superResolution\n- textToImage\n- textGeneration\n- nudityDetection\n- waifu2x","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkhab7%2Fdeepai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkhab7%2Fdeepai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkhab7%2Fdeepai/lists"}