AI Workflows
Chain AI tools together. Automate multi-step processes with AI.
Mametraka ny fitaovana AI ho ao anatin'ny fantsona mandeha ho azy
Ny workflow dia mamela anao hampifandray fitaovana AI marobe. Ny vokatra avy amin'ny dingana iray dia lasa ny angon-drakitra amin'ny manaraka. Ampiasao ho an'ny asa marobe izay mety haharitra ora maro raha atao amin'ny tanana ny asa.
Ohatran'ny fivoaran'ny asa
Fandefasana lahatsoratra bilaogy
Fanohanana ny mpanjifa
Fifandraisana amin'ny mpiaty lahatsary
Mpisolovava
Ahoana ny fomba hananganana workflow iray
- Manomboka amin'ny fitaovana iray — Misafidiana fitaovana AI iray ho toetry ny fiandohanao (Chat, Sary, TTS, sns.).
- Adikao ny famoahana — Ampiasao ho toy ny famenoan'ny fitaovana manaraka ny vokany. Ohatra, raisino ny lahabolana novokarin'ny AI ary ampidirina ao anatin'ny soratra ho teny mivaky.
- Manatanteraka amin'ny alalan'ny API — Ampifandraiso amin'ny alalan'ny baiko soratra ny antso API mba hamoronana fantsona mandeha ho azy tanteraka. Jereo ny Tahirin-kevitra API.
- Ampiasao ny Zapier — Connect Free.ai to 5,000+ apps for no-code automation. See our Zapier integration.
Ohatran'ny fivoaran'ny asa
Mifameno ny antso API roa - mamorona lahabolana avy eo manova ho fiteny:
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)