Create image generation job

Generates quote cards, creator portrait images, infographics, and package-bound LinkedIn profile assets. reference_bindings preserves official identity, product, and brand truth separately from inspiration used only for style or layout. profile_banner is generated at 2400x800 then center-cropped/resized to 1584x396; profile_featured is generated at 1536x800 then center-cropped/resized to 1200x628. Profile jobs never attach to posts and return profile_package_asset.generated_asset with a durableRef when the job succeeds.

post/generate/images

Request

  • Base URL: https://api.bamf.ai/v1
  • URL: https://api.bamf.ai/v1/generate/images
  • Auth: HTTP bearer

Request body

creator_idstring uuid required
promptstring required
visual_type'image_quote' | 'infographic' | 'personal' | 'profile_banner' | 'profile_featured'
profile_package_idstring uuid

Required for profile_banner and profile_featured; must be an active package owned by creator_id.

profile_asset_kind'banner' | 'featured_1' | 'featured_2'

profile_banner accepts banner; profile_featured accepts featured_1 or featured_2.

sizestring

Caller-selected size for non-profile images. Profile image source sizes are enforced server-side.

quality'low' | 'medium' | 'high' | 'auto'
ninteger

Profile image jobs always enforce n=1.

referenceImageUrlsstring[]
likenessReferenceImageUrlsstring[]
styleReferenceImageUrlsstring[]
post_idstring uuid

Optional for non-profile images. Forbidden for profile image jobs.

alt_textstring
metadataunknown

Response

Image generation job queued

Changes

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