Code Monkey home page Code Monkey logo

Comments (1)

Stax124 avatar Stax124 commented on June 10, 2024

Example API call body:

{
  "data": {
    "prompt": "1girl, sakura tree, long hair, dress",
    "scheduler": 8,
    "id": "test",
    "negative_prompt": "nsfw,(worst quality:2.0),(low quality:1.4),(bad-hands:0.2), easynegative, verybadimagenegative_v1.3, badhandv4, ng_deepnegative_v1_75t",
    "width": 512,
    "height": 512,
    "steps": 25,
    "guidance_scale": 7,
    "self_attention_scale": 0,
    "use_karras_sigmas": false,
    "seed": 1234,
    "batch_size": 1,
    "batch_count": 1
  },
  "model": "Azher/Anything-v4.5-vae-fp16-diffuser",
  "websocket_id": "",
  "save_image": true,
  "flags": {
    "highres_fix": {
      "scale": 2,
      "latent_scale_mode": "bislerp-tortured",
      "strength": 0.7,
      "steps": 50,
      "antialiased": true
    }
  }
}

The only thing needed is to pass in the extra flag highres_fix. This flag only works on Text2Image calls.

Type reference (frontend/src/settings.ts -> line 32):

image

If you have more questions regarding the API, feel free to join our discord, we can usually help much quicker there (or just post here, I do not mind)

from voltaml-fast-stable-diffusion.

Related Issues (20)

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.