AI Workflows
Chain AI tools together. Automate multi-step processes with AI.
Chain AI Tools sa Automated Pipelines
Workflows payagan kang kumonekta ng maraming AI tool magkasama. Ang output ng isang hakbang ay nagiging input ng susunod. Automate multi-step na proseso na kukunin oras upang gawin nang manu-mano.
Halimbawa Workflows
Blog Post Pipeline
Customer Support Automation
Pipeline ng Nilalaman ng Video
Research Assistant
Paano bumuo ng isang Workflow
- Magsisimula sa isang tool — Pumili ng anumang AI tool bilang iyong punto ng simula (Chat, Larawan, Mga TNT(Ito ay, halimbawa,...
- I-copy ang output — Gamitin ang resulta bilang input para sa susunod na tool. Halimbawa, kumuha AI-nabubuo ng teksto at feed ito sa text-to-speech.
- Automate sa API — Chain API tawag magkasama sa isang script para sa ganap na automated pipelines. Tingnan ang aming Mga dokumento ng API.
- Gamitin ang Zapier — Connect Free.ai to 5,000+ apps for no-code automation. See our Zapier integration.
API Workflow Halimbawa
Chain dalawang API tawag & mdash; bumuo ng teksto pagkatapos ay i-convert sa pagsasalita:
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)
Available na mga tool sa Chain
- Ang Chat (346+ mga modelo)
- Ang Codex
- Pagbuo ng imahe
- Pagbuo ng Video
- Teksto sa Pagsasalita
- Pagsasalita sa Teksto
- Pagsasalin 450+ sa buong)
- Musika Generation