Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Content Writing & Generation

Content Writing & Generation

Generate scientific illustrations from text prompts with SciDraw AI

When you run it, it writes content.

What it does

## Generate scientific illustrations from research prompts with SciDraw AI SciDraw AI turns text prompts into publication-ready scientific illustrations. This workflow creates a durable generation job through the public SciDraw REST API, waits or polls until the job reaches a terminal state, and downloads the generated image into n8n. ### Who is it for? Researchers, educators, science communicators, medical writers, journal teams, and automation builders who need repeatable diagrams for manuscripts, presentations, protocols, and teaching materials. ### How it works 1. Configure the illustration prompt, aspect ratio, resolution, and image count. 2. Create a SciDraw image-generation job with safe idempotency. 3. Use bounded waiting, then poll queued or processing jobs every five seconds. 4. Stop with the public API error if a job fails or is canceled. 5. Download the first successful result as binary data. ### Setup 1. Create an API key at SciDraw API Keys. 2. Give it the images:generate, jobs:read, and credits:read scopes. 3. In n8n, create an HTTP Header Auth credential. 4. Set the header name to Authorization and value to Bearer sd_your_key. 5. Select that credential in both SciDraw API nodes. 6. Update the example prompt and execute the workflow. ### Requirements and cost - n8n - A SciDraw AI account and scoped API key - 5 credits per 2K image or 20 credits per 4K image ### Customize Replace the Manual Trigger with a Form, Webhook, spreadsheet, Airtable, CMS, or research database trigger. Connect the downloaded image to Google Drive, S3, Notion, email, or a manuscript pipeline. Adjust the aspect ratio and resolution in one place. API reference: SciDraw AI API documentation

The steps

  1. When clicking ‘Execute workflow’
  2. Configure illustration request
  3. Create illustration job with SciDraw AI
  4. Illustration job succeeded?
  5. Illustration job failed?
  6. Wait before checking again
  7. Get illustration job status
  8. Stop when generation fails
  9. Download generated illustration

Similar automations