Typed, brand-steered text artifact

GenMagic-native. Returns a finished artifact rather than raw model output: pass type to unlock the artifact's system prompt and, for svg/website, the brand's exact palette and typeface. Omit type for plain, voice-branded text.

post/api/v1/text

Request

  • Base URL: https://genmagic.co
  • URL: https://genmagic.co/api/v1/text
  • Auth: HTTP bearer

Request body

promptstring required

What to write or produce.

type'writing' | 'code' | 'svg' | 'website'

The kind of artifact. Omit for plain text.

modelstring

Model id. Omit for the type's default.

systemstring

Extra steer applied after the brand system message.

attachmentsobject[]

Files for the model to read: [{ name, mime, dataUrl }] (PDF, office, csv, text, image, audio).

Response

Success.

Changes

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