Giter Site home page Giter Site logo

tinydtclient's Introduction

TinyDTClient

A minimum client for Draw Things API

TinyDTClient is a tiny MacOS SwiftUI Application demonstrating the basic functions for a client to the awesome Image generation app, Draw Things (DT). It is extracted from the full-featured client, PromptWriter.

Dependancy: TinyDTClient depends on the library RealHTTP for the low level http client stuff. Thanks to Immobillaire

The app attempts to connect to a DT server at its default address, and has no UI for configuring server info, so DT must be running on the same mac, with HTTP server on, at port 7860. The app makes image requests on the API, sending json with 3 parameters: {"prompt":"your prompt","negative_prompt":"", "seed":-1} (prompt from the prompt field, blank negative prompt, random seed)

All other image settings are done directly in DT. There's no error handling or user feedback.

To experiment with building a stable diffusion front end, start by adding to the UI here - such as a text field for negative prompt, or controls for # of steps, etc.

Screenshot 2024-01-19 at 12 58 42 PM

TinyDTClient running alongside Draw Things

tinydtclient's People

Contributors

s1d1t1 avatar

Stargazers

 avatar  avatar xtophre avatar Evan Nixon avatar Dan Lipsitt avatar Nils Döhring avatar 52hertz avatar  avatar Ade avatar Andrew Dunbar avatar  avatar DalChrome avatar

Watchers

Andrew Dunbar avatar  avatar

Forkers

dalchrome

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.