Hedra · Arazzo Workflow

Hedra — Generate an image from a text prompt

Version 1.0.0

Submit an image generation and poll until the image is ready.

1 workflow 1 source API 1 provider
View Spec View on GitHub CompanyArtificial IntelligenceGenerative AIVideo GenerationImage-GenerationAudio GenerationText-to-SpeechAvatarsMediaMachine-LearningArazzoWorkflows

Provider

hedra

Workflows

generateImage
Create an image generation from a text prompt and poll for the result.
Uses model_slug to select an image model, submits a generation (type=image), then polls the status endpoint until status is complete and reads the output URL.
2 steps inputs: api_key, aspect_ratio, model_slug, text_prompt outputs: generation_id, url
1
submitImage
Submit the image generation job.
2
pollStatus
Poll until the generation completes.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Hedra — Generate an image from a text prompt
  version: 1.0.0
  summary: Submit an image generation and poll until the image is ready.
  x-realizes-capability-ids:
  - BC-3700
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-3700
      capability_name: Content Origination & Production Management
      spec: hedra-public-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: publicApi
  url: ../openapi/hedra-public-api-openapi.yml
  type: openapi
workflows:
- workflowId: generateImage
  summary: Create an image generation from a text prompt and poll for the result.
  description: >-
    Uses model_slug to select an image model, submits a generation (type=image), then polls the
    status endpoint until status is complete and reads the output URL.
  inputs:
    type: object
    required: [api_key, text_prompt]
    properties:
      api_key:
        type: string
        description: Hedra API key sent as X-API-Key.
      text_prompt:
        type: string
      model_slug:
        type: string
        default: ""
      aspect_ratio:
        type: string
        default: "16:9"
  steps:
  - stepId: submitImage
    description: Submit the image generation job.
    operationId: generate_asset_public_generations_post
    parameters:
    - name: X-API-Key
      in: header
      value: $inputs.api_key
    requestBody:
      contentType: application/json
      payload:
        type: image
        text_prompt: $inputs.text_prompt
        model_slug: $inputs.model_slug
        aspect_ratio: $inputs.aspect_ratio
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      generation_id: $response.body#/id
  - stepId: pollStatus
    description: Poll until the generation completes.
    operationId: get_status_public_generations__generation_id__status_get
    parameters:
    - name: X-API-Key
      in: header
      value: $inputs.api_key
    - name: generation_id
      in: path
      value: $steps.submitImage.outputs.generation_id
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.status == "complete"
      type: jsonpath
    outputs:
      status: $response.body#/status
      url: $response.body#/url
      download_url: $response.body#/download_url
  outputs:
    generation_id: $steps.submitImage.outputs.generation_id
    url: $steps.pollStatus.outputs.url

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/hedra-generate-image"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.