Draw a flowchart

post/flowcharts/generations

Request

  • Base URL: https://scifig.ai/api/v1
  • URL: https://scifig.ai/api/v1/flowcharts/generations
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://scifig.ai/api/auth/oauth2/authorize, token URL https://scifig.ai/api/auth/oauth2/token, scopes: flowcharts:generate)

Headers

Idempotency-Keystring required
Preferstring

wait=N (1–30): hold the response until the job finishes or N seconds pass.

Request body

promptstring required
aspect_ratio'auto' | '16:9' | '1:1' | '2:3' | '3:2' | '3:4' | '4:3' | '4:5' | '5:4' | '9:16' | '21:9'
attachment_file_idsstring[]

Response

Finished job

idstring uuid required
kind'image_generation' | 'image_edit' | 'image_upscale' | 'image_conversion' | 'chart' | 'flowchart' required
status'queued' | 'processing' | 'succeeded' | 'failed' | 'canceled' required
created_atstring date-time required
late_delivery_untilstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.