AI Workflows
Chain AI tools together. Automate multi-step processes with AI.
Ka whakapāpāhotia ngā utauta AI ki roto i ngā pūtautau whakamātautau
Ka whakaaetia e ngā rerenga mahi kia hono atu ki a koe ētahi utauta AI maha. Ka noho te huaputa o tētahi hipanga hei tāuru o te whai ake. Ka whakawātea i ngā tukanga hipanga maha e roa ana te wā hei mahi i te ringa.
Tauira tauira
Te pūwhitinga tuhituhi blog
Whakatauanga
Te Pipetake Ahutū Video
Ka taea te whakataki i te pūrongo rangahau.
He pēhea te hanga i tētahi rerenga mahi
- Ka tīmata ki tētahi utauta — Ko te kōwhiringa o tētahi utauta AI hei wāhi tīmatanga (Chat, Pikitia, TTS, te aha atu).
- Ko te huaputa — Ka whakamahia te hua hei tāuru mō te utauta o muri. Hei tauira, ka mau te kupu AI-i hangaia me te kai ki roto i te kupu-ki-whakaahua.
- Whakahauhau me te API — Ko ngā whakarongo API mekameka e hono ana i roto i tētahi tuhituhi mō ngā pūtautau pūmau katoa. Tirohia tātau Ka taea te whakataki i te API.
- Ka whakamahia te Zapier — Connect Free.ai to 5,000+ apps for no-code automation. See our Zapier integration.
Hei tauira, he API te rerenga mahi
E rua nga whakarongo API - hanga i te kupu, kātahi ka tahuri ki te kōrero:
import requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"}
# Step 1: Generate text
resp = requests.post("https://api.free.ai/v1/chat/completions", headers=HEADERS,
json={"model": "qwen7b", "messages": [{"role": "user", "content": "Write a 2-sentence product description for wireless earbuds"}]})
text = resp.json()["choices"][0]["message"]["content"]
# Step 2: Convert to speech
resp = requests.post("https://api.free.ai/v1/tts", headers=HEADERS,
json={"text": text, "voice": "af_heart"})
with open("output.mp3", "wb") as f:
f.write(resp.content)