Artwork for podcast I'd Rather Be Scripting
AI-based image and code generation tools
Episode 5 1st May 2023 I'd Rather Be Scripting Ash Arnwine & Kerri Shotts
00:00:00 01:29:30

Share Episode

Shownotes

Kerri and Ash play with AI!

Image generation

First up, our co-hosts look at text-to-font and text-to-image capabilities of these tools:

  • Adobe Firefly
  • Midjourney
  • Stable Diffusion

You can see all of the images we mention in this Mastodon thread.

Code generation

Next up, code-generation tools like GitHub Copilot, GitHub Copilot for Docs, and ChatGPT get a look.

Here's the Adobe UXP plugin code that was generated (notice the sweet, sweet use of Papyrus):

```

const { executeAsModal } = require("photoshop").core;

const { LayerKind } = require("photoshop").constants;

async function main() {

  try {

    await executeAsModal(async () => {

      const activeDocument = require("photoshop").app.activeDocument;

      const textLayers = activeDocument.layers.filter(layer => layer.kind === LayerKind.TEXT);

      await Promise.all(textLayers.map(async layer => {

        layer.textItem.characterStyle.font = "Papyrus";

        await layer.textItem.convertToParagraphText();

      }));

    });

  } catch (err) {

    console.log(err);

  }

}

```

Links!

Subscribe to Id Rather Be Scripting on:


Kerri 

Ash

Follow

Links

Chapters

Video

More from YouTube