Git Product home page Git Product logo

runwayml-for-photoshop's Introduction

RunwayML for Adobe Photoshop

Open in RunwayML Badge

Access RunwayML directly from Adobe Photoshop: You can use this plugin to generate images, apply style transfer to your photos, get depth estimation from 2D images, generate new pieces of texts to your designs and more.

RunwayML for Photoshop

Prerequisites

Installation

  1. Download the latest version of the plugin.

  2. Set debug mode:

Windows: Open regedit > HKEY_CURRENT_USER/Software/Adobe/CSXS.9, then add a new entry PlayerDebugMode of type string with the value of "1".

Mac (In the Terminal): $ defaults write com.adobe.CSXS.9 PlayerDebugMode 1

More information is available here.

  1. Install the plugin:

Unzip the plugin and copy the entire RunwayML directory to Photoshop Extension directory.

Windows: C:\Program Files\Common Files\Adobe\CEP\extensions

Mac: ~/Library/Application Support/Adobe/CEP/extensions

The Library directory mentioned above is located in the root directory, or Macintosh HD, which does not appear on the Desktop nor in new Finder windows unless it is configured to in Finder Preferences. To show Macintosh HD as a desktop icon, click on Finder from the top menu, and in the General Tab, check off Hard Disks. Macintosh HD should now appear on your Desktop. Alternatively in Finder Preferences, set New Finder windows to show Macintosh HD.

More information regarding Adobe CEP is available here.

  1. Make sure Runway.app is running and you're signed in.

Getting Started

In order to use this plugin, you'll need to have RunwayML and Photoshop opened:

  1. Open RunwayML and sign in with your account.

  2. In Photoshop you'll find the Extension panel under Window > Extensions > RunwayML.

RunwayML for Photoshop

Using the RunwayML Panel

Once the plugin is installed, you can browse and run models directly from the RunwayML panel window. The panel is split into four sections: the (1) Model Selection, (2) Input, (3) Output, and (4) Run Options.

RunwayML for Photoshop

(1) Model Selection

At the All Models tab, you can select the RunwayML model that you'd like to use, and select settings for initializing your model. To learn more about the capabilities and use-cases of different models in RunwayML, watch our tutorial on discovering RunwayML models.

(2) Input

Choose the inputs that you want to process with your model. Currently, the following input data types are supported:

Image Inputs

Use the Dropdown item to select the layer you want to process. If you want to process the whole art-board, Choose the option Artboard

Segmentation Inputs

For models that take Segmentation data type as input, use the Dropdown item to select the layer you want to process. If you want to proccess the whole Artboard, Choose the option Artboard

Text Inputs

Use the text area provided in the plugin.

(3) Output

The model's output will be displayed in the Artboard as a new layer.

(4) Run

Once you click Run and Generate, RunwayML will start running and processing the input of the selected model. Once the model is running, you can click Re-Generate to re-run inference on the current inputs using the selected model.

Run Options

Run Location: Choose whether to run the model locally (Local) or in RunwayML's cloud infrastructure (Remote). When running models in RunwayML's cloud infrastructure, you'll be running them on fast GPU enabled computers. When running models locally, you'll need to download and install them individually. You can currently download models locally only through the RunwayML application. Go to your Settings in RunwayML to view the currently installed models. Once you have installed a model locally, you can start the model from the RunwayML for Photoshop.

Check out this guide to learn more about how to install models locally.

Development

Debugging

Open localhost:8088 in Google Chrome to see the devtools / debugging console. You can refresh the plugin like a website (CMD+R). Note that host .jsx files will not update this way! To refresh those, close the plugin panel and re-open.

Contributing

This is still a work in progress. Contributions are welcomed!

License

MIT

runwayml-for-photoshop's People

Contributors

agermanidis avatar cvalenzuela avatar matamalaortiz avatar yining1023 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

runwayml-for-photoshop's Issues

temp file not found error

Hey - I've looked everywhere for a solution but can't figure it out. Currently I get the same error no matter what model I try to run. Attached is a screenshot.

The error message says:
"could not save a copy as "C:\tmp...jpg" because the file could not be found"

I also don't know if I'm using the debugger right, but when I go to http://localhost:8088/ there's this error:

Uncaught (in promise) undefined index.html:40534

runwayML-Photoshop

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.