GithubHelp home page GithubHelp logo

yandricr / gpti-js Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 7.0 188 KB

This package simplifies your interaction with various GPT models, removing the need for tokens or other methods to access GPT

Home Page: https://nexra.aryahcr.cc/

License: MIT License

JavaScript 61.87% TypeScript 38.13%
ai animagine-xl bing chatgpt-web dalle dalle-2 emi gpt gpt-3 gpt-4 gpt-free gpti llama-2 pixart pixel-art playground prodia render3d stable-diffusion stream

gpti-js's People

Contributors

yandricr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gpti-js's Issues

System Instruction's Support?

Will there be support to use the role 'system' in messages for GPT Models, so we could set our own system instructions? Thanks.

Returning code 500

Hello, I use bing as you wrote in readme.md. but returns 500

{
  code: 500,
  status: false,
  error: 'INTERNAL_SERVER_ERROR',
  message: 'general (unknown) error'
}

Broken

Module is not working right now.

Emi model doesn't work

Hello! Thank you for this free services!
Recently when i tried to use Emi model, i keep getting error code 500

{
    "code": 500,
    "status": false,
    "error": "INTERNAL_SERVER_ERROR",
    "message": "general (unknown) error"
}

GPT Web

Can you get gptweb working to connect messages?

I mean like

gptweb({
  message: [],
  promp: "Are you familiar with the movie Wonka released in 2023?",
  markdown: false
} ...)

[BUG] The server api returns one more_

test:

curl -X POST \
  https://nexra.aryahcr.cc/api/image/complements \
  -H 'Content-Type: application/json' \
  -d '{
    "prompt": "Friends gathered around a bonfire in an ancient forest. Laughter, stories, and a starry sky paint an unforgettable moment of connection beneath the shadows of the mountains.",
    "model": "prodia",
    "data": {
        "model": "absolutereality_V16.safetensors [37db0fc3]",
        "steps": 25,
        "cfg_scale": 7,
        "sampler": "DPM++ 2M Karras",
        "negative_prompt": ""
    }
}'

response text:
bug: _

_{"code":200,"status":true,"prompt":"画一只狗","model":"Prodia","data":{"model":"absolutereality_V16.safetensors [37db0fc3]","steps":25,"cfg_scale":7,"sampler":"DPM++ 2M Karras","negative_prompt":""},"images":["data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAIAAAB7GkOtAAABDWlUWHRwYXJhbWV0ZXJzAAAAAADnlLvkuIDlj6rni5cKU3RlcHM6IDI1LCBTYW1wbGVyOiBEU ...."]}

please teach me

  1. Are the gpt api and DALL-E called by the author's server free, or do they cost money?
  2. What is the hardware configuration of the author's server?
  3. If you use free api, please tell me the address, especially dall-e, I have been looking for free api interface

Returning code 400

Hello, all parameters are correct. I'm using module since 2-3 weeks. Suddenly stopped working. Giving code 400. Everything is correct. I didn't change any code.

StableDifusion Not Working!

I tried the XL and V2 version but even with the default prompt they are not working!
image
image

(GPT 4 works for me tho)

base64 output?

Looks like AI image generator gives output as base64? Is there a way to set it to normal link like before?

some advices

The code for this project should be written in a more standardized way. It is difficult to maintain a bunch of codes all piled together.

The features of this project are valuable and great.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.