fattly

v0.1.2
io.github.industriesfatty-spec/fattly Checked 4 days ago Published 2 months ago

AI images, video, voiceovers and UGC ads from 50+ models.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fattly_credits Check credit balance

Shows the current credit balance on the FATTLY account. Read-only and free — call it before an expensive generation to make sure the user has enough credits.

fattly_list_models List models and prices

Returns available models and their cost in credits (images, video, audio). Read-only and free. Use before generating to pick the right model id and to tell the user what a generation will cost.

ParameterTypeDescription
categorystringOptional category filter.

fattly_upload_image Upload a local image

Uploads a local image file (JPG, PNG or WEBP) to FATTLY and returns a public fal URL. Use this to turn a photo on disk into an inputImageUrl for editing / face-swap / image-to-video models: pass the returned URL as inputImageUrl to fattly_generate_image or fattly_generate_video. No credits are charged for the upload.

ParameterTypeDescription
filePath *stringAbsolute path to a local image file (JPG, PNG or WEBP), max 10 MB.

fattly_generate_image Generate an image

Generates an AI image from a prompt (or edits uploaded images). Returns links to the finished images. Spends credits: model price × numImages (see fattly_list_models); fails with an error if the balance is too low, and credits are refunded automatically when a generation fails. Prompts must be safe-for-work.

ParameterTypeDescription
prompt *stringDescription of the image to generate.
aspectRatiostringAspect ratio, e.g. 1:1, 16:9, 9:16 (default 1:1).
inputImageUrlstringOptional single input image for editing / face-swap models — must be a fal URL. Get one by uploading a local photo with fattly_upload_image.
inputImageUrlsarrayOptional MULTIPLE input images (fal URLs) for multi-image edit models like nano-banana-2-edit / nano-banana-pro-edit. Typical swap use: image #1 = the scene/frame to keep (background, framing, lightin…
modelstringModel id (default nano-banana-2). List: fattly_list_models.
numImagesintegerNumber of images 1–4 (default 1).

fattly_generate_video Generate a video

Generates an AI video from a prompt (or from a start image). Takes a few minutes — the tool waits (up to 10 min) and returns a link to the mp4 file. Video is the most expensive operation: it spends the model's credit price (see fattly_list_models), so confirm the model and cost with the user first. Credits are refunded automatically if the generation fails.

ParameterTypeDescription
prompt *stringDescription of the video scene.
aspectRatiostringAspect ratio, e.g. 16:9, 9:16, 1:1 (default 16:9).
durationintegerClip length in seconds (model dependent).
inputImageUrlstringOptional start image for image-to-video — must be a fal URL. Get one by uploading a local photo with fattly_upload_image.
modelstringVideo model id (default kling-3-standard), e.g. kling-3-pro, veo-3-1, veo-3-1-fast, seedance-2-5, hailuo-3, ltx-2-5. Full list with prices: fattly_list_models.

fattly_generate_audio Generate a voiceover or music

Generates AI audio: a voiceover (mode=speech) from text, or music (mode=music) from a description. Returns a link to the mp3 file. Spends credits (price in fattly_list_models → audio); refunded automatically if the generation fails.

ParameterTypeDescription
mode *stringspeech = voiceover, music = music.
text *stringText to read (speech) or a music description (music).
secondsintegerMusic length: 15, 30 or 60 (music only).
voicestringVoiceover voice, e.g. Rachel, Aria, George (speech only).